> Ok, what about calling sync before accesing the database? (read and write)
> Will it force the process to sync its data with the disk, or will it cause
> the corruption of the file on the disk, as the process might have a stale
> data?

Well, that's what we don't know.  As David Harris pointed out, if it does do
the right thing and re-read from disk, it's probably not much better than
re-opening the database.  I suppose it would avoid some Perl object creation
though, so it would be at least a little faster.

- Perrin

Reply via email to