Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: SQLite and CPU Usage

by paulbort (Hermit)
on Aug 03, 2004 at 17:58 UTC ( [id://379764]=note: print w/replies, xml ) Need Help??


in reply to SQLite and CPU Usage

All of the suggestions about batch inserts are right on, I would just like to add one minor point since you mentioned indexes: If you are going to need the indexes later, it is usually faster to build the indexes after all the inserts are done, becaus this minimizes the number of times that index pages have to be re-arranged.

--
Spring: Forces, Coiled Again!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://379764]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-04-20 16:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found