Hello,we detect that the DB file size grows in an unexpected size.
Following scenario:
we have one DB file with ~30 tables where only ~10 tables regulary get changed (add, update and delete)
Before open the DB we log out the file size of the DB - mostly it was ~ 1GB.
But at some point the open DB grows up to ~5 GB - and for sure we don’t add so much data.
Does anybody know why that could happen?
Also we notice the following exception in the trace log file if we close the database:
org.h2.jdbc.JdbcSQLNonTransientException: Allgemeiner Fehler: "Allgemeiner Fehler: ""java.lang.IllegalStateException: File corrupt reading chunk at position 236937216 [1.4.200/6]""
General error: ""java.lang.IllegalStateException: File corrupt reading chunk at position 236937216 [1.4.200/6]"" [50000-200]"
General error: "Allgemeiner Fehler: ""java.lang.IllegalStateException: File corrupt reading chunk at position 236937216 [1.4.200/6]""
General error: ""java.lang.IllegalStateException: File corrupt reading chunk at position 236937216 [1.4.200/6]"" [50000-200]"; SQL statement:
shutdown [50000-200]
at org.h2.engine.Database.throwLastBackgroundException(Database.java:2221)
at org.h2.engine.Session.close(Session.java:945)
at org.h2.engine.Session.suspend(Session.java:935)
at org.h2.engine.Database.closeAllSessionsExcept(Database.java:1325)
at org.h2.engine.Database.setExclusiveSession(Database.java:2571)
at org.h2.command.dml.TransactionCommand.update(TransactionCommand.java:89)
at org.h2.command.CommandContainer.update(CommandContainer.java:198)
at org.h2.command.Command.executeUpdate(Command.java:251)
at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:168)
at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:126)
What happen there in H2 if such happen? Could this explain why the file grows up in that way?
Thanks for any help,
Jürgen