|
|
|
|
|
by roman-holovin
1803 days ago
|
|
Well, even if you just insert zeros instead of random values, it takes 9 seconds on my computer to insert 100M rows, so even that is not a 1B rows per minute. And I think INSERT INTO ... SELECT is the fastest way to bulk insert data into sqlite. Also, I have tried to use carray sqlite feature that allow to share memory with sqlite and use recursive CTE to query it, but it is slower. Though, you can pass values you've generated from Rust instead of using random(). |
|