On 4/3/09 5:20 AM, "Dave Brown" <key8...@gmail.com> wrote:

> Our software often runs into problems when run on USB keys. Specifically,
> calls to sqlite to read/write to the database hang infinitely, or return
> SQLITE_BUSY after even 10 seconds of waiting. The problem seems to be that
> the database file gets locked and remains locked, presumably by some problem
> with the usb key filesystem in conjunction with sqlite.  Has anyone seen
> this before, or know of a workaround?
> 

I definitely haven't seen that, under MacOS X.

I would assume this kind of issue to be highly OS and file-system dependent.
You might want to tell us about your environment.

MacOS X is a Unix OS, where external volumes such as USB drives are mounted
within the / hierarchy (ditto for Linux). From SQLite point of view, there
is really no way to tell whether the database is stored on a USB drive or
elsewhere. But File System limitations remain.

Most likely but not necessarilly (depending on its capacity), your USB thumb
drives uses a FAT32 file system. You might want to try and reformat it to a
more modern file system, such as HFS or NTFS. It might help. Or not.

Jean-Denis

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to