P Kishor wrote:
> On 5/29/08, Joanne Pham <[EMAIL PROTECTED]> wrote:
>> Hi All,
>>  I have the database which has a lot of insertion and deletion.
>>  Is there anyway that I can get the actual database size without running 
>> VACUUM.
> 
> Your question implies that VACUUM lets you "get the database size."
> No, it doesn't. VACUUM recovers the space left behind by deleting data
> from the db.
> 
> To find out the size of the database, just read the size of the file
> in the operating system.
> 
> Or, maybe you are asking something completely different that I don't get.

I think what Joanne's asking is if it were possible to query what size the 
database would become if it were vacuumed without actually vacuuming it. 
Maybe as part of a cost analysis for whether to vacuum, or stats for the 
user as to how much of the database file is unused space. -- Darren Duncan
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to