Hello,

I have added possibility to set the synchronous state of a sqlite session. The 
setting is documented here:

http://www.sqlite.org/pragma.html#pragma_synchronous

Basically I turn it off to speed up things when I don't really care about a 
possible disk failure. With this
patch applied I can run the test program for sqlite like this:

$ time sqlite3_test.exe "db=test.db synchronous=off"
.
.
.

real    0m1.093s
user    0m0.000s
sys     0m0.015s

Time with default setting:

$ time sqlite3_test.exe "db=test.db"
.
.
.

real    1m14.872s
user    0m0.000s
sys     0m0.000s

Daniel

Attachment: Added-possibility-to-configure-sqlite-synchronous-st.patch
Description: Binary data

------------------------------------------------------------------------------
Automate Storage Tiering Simply
Optimize IT performance and efficiency through flexible, powerful, 
automated storage tiering capabilities. View this brief to learn how
you can reduce costs and improve performance. 
http://p.sf.net/sfu/dell-sfdev2dev
_______________________________________________
Soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to