News for hackers. Stuff that matters.
Re:Batch size one billion: SQLite insert speedups, from the ... by mike_r_parsons on Tuesday September 26, 2023 @04:18PM (#37665276)
How does this compare to the following?

create table testInt(num Integer); WITH n(n) AS(SELECT 1 UNION ALL SELECT n+1 FROM n WHERE n < 1000000) insert into testInt select n from n;

On my machine - Mac Mini 3 GHz Dual-Core Intel Core i7 16 GB 1600 MHz DDR3

this takes Run Time: real 0.362 user 0.357236 sys 0.004530

Re:Batch size one billion: SQLite insert speedups, from the ... by riku_iki on Tuesday September 26, 2023 @04:20PM (#37665294)
you test just 1M record not 1B?..