Are you running all your delete statements within a single transaction, or a 
separate transaction for each?

> -----Original Message-----
> From: sqlite-users-bounces at mailinglists.sqlite.org [mailto:sqlite-users-
> bounces at mailinglists.sqlite.org] On Behalf Of Zaumseil Ren?
> Sent: Tuesday, 12 May, 2015 08:41
> To: sqlite-users at mailinglists.sqlite.org
> Subject: Re: [sqlite] emptying tables
> 
> Here some last test data
> 
> PRAGMA synchronous = 1;
> PRAGMA auto_vacuum = FULL;
> PRAGMA journal_mode = WAL;
> PRAGMA wal_autocheckpoint = 10000;
> PRAGMA cache_size = 10000;
> 
> A database ca. 4GB with 2200 tables takes 3 minutes for a "delete * from
> table" over all tables.
> 
> 
> HTH
> Rene
> 
> Kernkraftwerk Goesgen-Daeniken AG
> CH-4658 Daeniken, Switzerland
> 
> Diese Nachricht (inkl. Anhaenge) beinhaltet moeglicherweise vertrauliche
> oder gesetzlich geschuetzte Daten oder Informationen. Zum Empfang
> derselben ist (sind) ausschliesslich die genannte(n) Person(en) bestimmt.
> Falls Sie diese Nachricht irrtuemlicherweise erreicht hat, sind Sie
> hoeflich gebeten, diese unter Ausschluss jeder Reproduktion zu vernichten
> und den Absender umgehend zu benachrichtigen. Besten Dank.
> _______________________________________________
> sqlite-users mailing list
> sqlite-users at mailinglists.sqlite.org
> http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users



Reply via email to