1.

How Many H2 Data Base Persistence Modes?

Answer»

The H2 DATABASE support several LEVELS of persistence modes.

  • Most persistent: A persistent database instance can be created using the jdbc:h2:file:, where is a non-empty string that represents the database path.
  • Examples: BC:h2:file:/opt/db/mydb
  • Mostly persistent: In ORDER to reduce the probability of data LOSSES the H2Db Service performs periodic checkpoints on the database.
  • Examples: jdbc:h2:file:/opt/db/mydb;LOG=0

The H2 database support several levels of persistence modes.



Discussion

No Comment Found