Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: Re (tilly) 1: Would you use SQLite?

by drewbie (Chaplain)
on Feb 23, 2002 at 03:51 UTC ( #147035=note: print w/replies, xml ) Need Help??

in reply to Re (tilly) 1: Would you use SQLite?
in thread Would you use SQLite?

In the same vein, I'd like to see some benchmarks with SQLite vs Cache::Cache, DBM, etc for readonly caches. Since the write lock is global, reading would seem to be it's biggest benefit. If it's faster than Cache::Cache, then you have a potential user in me. :-)

As for what I would use it for, I'd probably use it in a project like the one I'm finishing up right now. It is a simple order app with 5 screens. Currently the data is stored in CSV files & read using Text::CSV. And I'm using hidden form elements to maintain state between screens. In this case, it's not worth it to use a "real" database. And I'm not even sure they have access to one. But DBD::SQLite might be just the ticket for this instance. As long as it's simple to compile/install.

  • Comment on Re: Re (tilly) 1: Would you use SQLite?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://147035]
[PriNet]: quick question... anyone know how to remove all the existing keys in a %hash ? i've tried several options, but when i re-use the hash, some of the "upper" keys that i don't re-use stick and i can't get them to "remove"
[atcroft]: PriNet: %hash = ();? or foreach my $k ( keys %hash ) { delete $hash{$k}; }?

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (2)
As of 2017-06-28 02:50 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (619 votes). Check out past polls.