![]() |
|
Welcome to the Monastery | |
PerlMonks |
Re^3: SQLite: INSERT into a unique column and retrieve rowidby ibm1620 (Hermit) |
on May 06, 2024 at 15:10 UTC ( [id://11159306]=note: print w/replies, xml ) | Need Help?? |
I thought you were saying that the addition of an index to the table would dramatically increase the time it took to load the table. Without begin_work / commit, it took 23 seconds to load the table with an index, and 20 seconds without one. However, running it as a single transaction as you suggest, those numbers drop to 0.77 and 0.72.
I haven't run any comparisons to see how much the index benefits retrieval, however...
In Section
Seekers of Perl Wisdom
|
|