You are not logged in.
Pages: 1
Hello friends,
When I change the LockingMode to lmExclusive, does it make the database more likely to corruption, in case of an external issue, such as hardware failure?
Thank you
Offline
If you set only lmExclusive, it should be almost as ACID as by default.
But less than with the default mode, by design.
I suspect it is as safe as most database engines, e.g. FireBird or even MSSQL/Oracle.
Online
I'm trying to do some tests to compare the performance of SQLite vs Firebird Embedded.
I wish the two worked with the same kind of synchronization.
According to this article (http://blog.synopse.info/post/2013/06/1 … cking-mode) I should use this:
better Security:
Client.Server.DB.LockingMode := lmExclusive;
Client.Server.DB.Synchronous := smFull;
best Performance
Client.Server.DB.LockingMode := lmNormal;
Client.Server.DB.Synchronous := smOff;
Is that right?
The first problem is that I have not found the property "DB.LockingMode".
Have any way to set the framework to work the same way with the two databases? To be a fair test!
Offline
You need to retrieve the latest "unstable" version of mORMot to have all needed properties.
To have a "fair" test, what you can do is define the table as external.
Then use an SQLite3 external table, and a FireBird external table.
It is exactly what the performance test sample does.
Online
Sorry. I thought was in last version. But there were some read-only sources (my fault). When performing "Fossil Update" he did not warned me. I thought it was updated, but it was not.
Offline
Pages: 1