> On 5/5/15, Zaumseil Ren? <RZaumseil at kkg.ch<mailto:RZaumseil at kkg.ch>> 
> wrote:

> >

> > Is there a way to shrink the file when it is still open in WAL mode?

> >

>

> Run "PRAGMA wal_checkpoint=TRUNCATE;" in SQLite 3.8.8.2 or later.

> --

> D. Richard Hipp

> drh at sqlite.org<mailto:drh at sqlite.org>

Changing all wal_checkpoint(FULL) to wal_checkpoint(TRUNCATE) and using qlite3 
version 3.8.8.3 still gives the same result:


a=177152

b=177152

c=177152

d=2048

To clarify, I need to shrink the dbfile, not the *wal file.

Any help appreciated.


Ren?



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.

Reply via email to