>If you do the VACUUM before the "PRAGMA wal_checkpoint" instead of after, does >that help? > >Dan.
You won the jackpot! Thank you for the tip. May be this should be mentioned in the official documentation. >I think the file actually has shrunk. I just think that the size reported is >not updated while the file is open. This is definitely >true in File Explorer and may be true for tcl too. This is a choice made by >your operating system and nothing can be done >inside SQLite to override it. > >Simon. No, because if I copy the still open file it has the same size as reported. 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.