For performance reasons, our client was doing the following for a large 
insert: a constraint was being removed, insert the data, then constraint 
added again. 

On recovery, these steps were being repeated many times when replaying the 
transaction log. The startup was taking over 11 minutes on a small CPU. We 
are changing the client to not need the constraint and therefore not add 
and remove it. Now, the recovery time is much better.

But, I'm still looking at ways (h2 options or best practices) to keep the 
recovery time as low as possible after power failure


-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/h2-database/-/j6LQMfyFKx4J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to