On Mon, Jan 19, 2015 at 3:49 AM, Wei, Catherine <catherine....@arris.com>
wrote:

> Hi, I'm running a software in a set-up box with linux system and find
> that every time when I commit transaction, sqlite takes too much time
> when it executes fsync or fdatasync function. What could be the possible
> reasons?
>

FWIW, fsync/fdatasync() are _system_ calls, so the OS or one of its drivers
(not sqlite) is taking "too much time" to return. See also:

https://www.sqlite.org/c3ref/c_sync_dataonly.html
https://www.sqlite.org/pragma.html#pragma_synchronous

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
"Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do." -- Bigby Wolf
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to