[All]
Reuse of log files
Obsah: Reuse of log files
Q. I've noticed JDataStore never deletes old log files but simply reuses them. Why is this and can I change how many old log files lie aound?
A. JDataStore reuses log files as a performance enhancement. The benefits are most noticeable in high throughput OLTP scenarios.
If you create your database using the com.borland.datastore.DataStore and com.borland.datastore.TxManager components, there is a way to set this max number of log files that are used to 0. The property that needs to be set to 0 is TxManager.setPreallocateCount(0);