|Perl Monk, Perl Meditation|
Re^2: SQLite with mod_perlby punkish (Priest)
|on Oct 03, 2010 at 02:19 UTC||Need Help??|
> How / why does your first query create a lock on
The application is loaded when server starts via Plack::Handler::Apache2. As soon as I query, a lock a placed on the entire db (SQLite doesn't have a row-level lock), and never let go. Any subsequent query, as long as it is a SELECT, works, but any other query that UPDATEs or DELETEs fails.
>but as you haven't posted any code, it's hard to diagnose
I don't know what code to post, in the sense that it is my entire application. Of course, there is no problem in using SQLite if use cgi, but I really do want to move to a persistent environment.
Other than the above problem, SQLite is really brilliant. I can't quite imagine anything (CouchDB, MongoDB, or any other new fangled data storage technologies) quite matching what it can do.
when small people start casting long shadows, it is time to go to bed