Thank you for help and explain WAL mode.

2015-08-11 1:22 GMT+03:00 Simon Slavin <slavins at bigfraud.org>:

>
> On 10 Aug 2015, at 11:12pm, ??????? ??????????? <dm3chip at gmail.com> wrote:
>
> > But what is minimum period?
>
> The minimum period doesn't matter.
>
> The number you set the timeout to is the /maximum/ period.  SQLite will
> continue to try to access the file until that amount of time has passed.
> Then it will give up, returning an error.
>
> But SQLite does not start by waiting that amount of time.  SQLite starts
> off by trying to access the file immediately.  If that fails and you
> haven't set a timeout, then it returns an error.
>
> If you did set a timeout then SQLite wais a very short time (a millisecond
> ?) before it tries again, then it waits a little longer, then a little
> longer still, etc..  It gradually increases the time until the total time
> reaches the time you set.  It does not use the number you used as a guide
> for the short times is waits.
>
> Simon.
> _______________________________________________
> sqlite-users mailing list
> sqlite-users at mailinglists.sqlite.org
> http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
>

Reply via email to