View Single Post
Old 04-07-2009, 01:49 AM   #20
BinaryTB
Connoisseur
BinaryTB is on a distinguished road
 
BinaryTB's Avatar
 
Posts: 73
Karma: 74
Join Date: Mar 2009
Location: Boston, MA
Device: Kindle 3
Just throwing out ideas here since I'm not familiar with SQLite (I'm a Python/Oracle guy myself), but does SQLite have merge and/or upsert capabilities? That's pretty quick usually.

Better yet, bulk (single transaction) inserts into a stage table which would then merge into the main table would by far be the quickest I think.

I'm sure these ideas have been already thought of (they're the norm for this kind of stuff), but like I said, thinking out loud for any patchers out there.
BinaryTB is offline   Reply With Quote