Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I think the easiest way to do it wrong, is to close the file every time you finished your operation. With the default settings, this will sync and wait until the filesystem completes its operation. So unless you will close the file for a long time, keep it open. If you want to access the DB in a multi-threaded environment you better let one process manage the database.

I guess 90% or performance problems with SQLite come from the filesystem.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: