RE: [sqlite] Pre-allocating disk space to avoid db file fragments

2005-09-13 Thread GreatNews
This problem can be remedied by defragging the hard disk from time to time. Copying the whole db file might also do. But I'm thinking if it's possible to prevent this problem from happening, or reduce the chances of getting fragmented? Sqlite can use free pages that were originally occupied by

[sqlite] Pre-allocating disk space to avoid db file fragments

2005-09-13 Thread GreatNews
Hi D. Richard Hipp, I'm developing a desktop rss reader using your excellent sqlite engine. One issue my users found is that sqlite database can get heavily fragmented over time. I'm wondering if it's a viable suggestion that sqlite pre-allocates disk space when creating database, and grows the