Changes for page Reset H2 Database

Last modified by Danniar Firdausy on 2024/09/19 10:17

From version 11.1
edited by Erik Bakker
on 2024/03/26 13:51
Change comment: There is no comment for this version
To version 12.1
edited by Erik Bakker
on 2024/03/26 14:07
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,7 +1,7 @@
1 1  {{container}}
2 2  {{container layoutStyle="columns"}}
3 3  (((
4 -eMagiz runtimes may contain H2 databases. These databases might need to be wiped clean. This microlearning will guide you throught the process of resetting such H2 databases and will also inform you on the considerations that are important before resetting.
4 +eMagiz runtimes may contain H2 databases. These databases might need to be wiped clean. This microlearning will guide you through the process of resetting such H2 databases and will also inform you on the considerations that are important before resetting.
5 5  
6 6  Should you have any questions, please get in touch with [[academy@emagiz.com>>mailto:academy@emagiz.com]].
7 7  
... ... @@ -12,12 +12,12 @@
12 12  == 2. Key concepts ==
13 13  This microlearning centers on the reset of a H2 database.
14 14  * The key aspects are:
15 - ** When to use the H2 reset
15 + ** When to use the H2 reset option
16 16   ** How to perform a H2 reset
17 - ** Implications of resetting the H2 database.
17 + ** Implications of resetting the H2 database.
18 18  
19 19  == 3. H2 Database reset ==
20 -A reset of the H2 database is used when the database is not performing as expected. This can be because it is retaining the information is it supposed to deliver. It can also be that the database has been unstable and is therefore not performing correctly.
20 +A reset of the H2 database is used when the database is not performing as expected. This can be because it is retaining the information it is supposed to deliver. It can also be that the database has been unstable and is therefore not performing correctly.
21 21  
22 22  === 3.1 Cloud ===
23 23  In short, the reset of a H2 database is described below.
... ... @@ -29,26 +29,27 @@
29 29  
30 30  [[image:Main.Images.Release Blog.WebHome@release-217-template-tango-remove-h2.png]]
31 31  
32 -To execute this action please navigate to Deploy -> Architecture. After you have done so you can access the context menu of a particular runtime (via a right mouse click), while in "Start Editing" mode, and select the option called "Reset H2". By pressing this button your executes all steps mentioned above. It is possible to press the 'Reset H2' button for all cloud runtimes, it will however only have an effect if a H2 database exists for the runtime.
32 +To execute this action please navigate to Deploy -> Architecture. After you have done so you can access the context menu of a particular runtime (via a right mouse click), while in "Start Editing" mode, and select the option called "Reset H2". By pressing this button you execute all steps mentioned above. It is possible to press the 'Reset H2' button for all cloud runtimes, it will however **only have an effect** if a H2 database exists for the runtime.
33 33  
34 34  === 3.2 On-premise ===
35 -When the H2 database of an on-premise runtime needs to be reset the action needed is different. Here, the only action needed is to reset the runtime.
35 +When the H2 database of an on-premise runtime needs to be reset the action needed is different. Here, the only action needed is to reset the runtime. This is because the H2 database is stored inside the container when running on-premise instead of in EFS as it is in the cloud.
36 36  
37 37  For more information on resetting a runtime, please check out the following microlearning:
38 38  * [[Reset runtime>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.eMagiz Runtime Management.intermediate-emagiz-runtime-management-reset-runtime.WebHome||target="blank"]]
39 39  
40 40  === 3.3 Implications ===
41 -Resetting a database has implications. It will remove and re-add all H2 databases on the runtime you have selected. Therefore, all data(messages) on the databases will be lost. This should be taken into account before deciding to reset the H2 databases.
41 +Resetting a database has implications. It will remove and re-add all H2 databases on the runtime you have selected. Therefore, all data, which are most likely functional messages, in the databases will be lost. This should be taken into account before deciding to reset a H2 database.
42 42  
43 43  == 4. Key takeaways ==
44 44  
45 -* The 'Reset H2' button empties all eMagiz data folder registered H2 databases
46 -* The 'Reset H2' button is only used for clour runtime, for on-premise runtimes a reset of the runtime is needed
47 -* Using the reset button will empty all runtime related H2 databases. Therefore, the messages on the databases will be lost
45 +* The 'Reset H2' button empties all registered H2 databases within the default eMagiz data folder
46 +* The 'Reset H2' button is only used for cloud runtimes, for on-premise runtimes a reset of the runtime is needed
47 +* Using the reset button will empty all runtime related H2 databases. Therefore, the messages in the database will be lost
48 48  
49 49  == 5. Suggested Additional Readings ==
50 -If you are interested in this topic and want more information on it please read the following mcrolearning:
51 -* [[H2 Database>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.Solution Architecture.intermediate-solution-architecture-function-of-h2-database||target="blank"]])))
50 +If you are interested in this topic and want more information on it please read the following mcrolearnings:
51 +* [[H2 Database>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.Solution Architecture.intermediate-solution-architecture-function-of-h2-database||target="blank"]]
52 +* [[H2 Database for other applications>>doc:Main.eMagiz Academy.Microlearnings.Expert Level.Solution Architecture.expert-solution-architecture-h2-database-for-other-applications||target="blank"]])))
52 52  (((
53 53  {{toc/}}
54 54  )))