On Mon, Jul 26, 2010 at 12:28:42PM -0700, Taras Glek scratched on the wall:
>   Hi,
> I noticed an interesting disk-space behavior with VACUUM. If I vacuum my 
> places.sqlite(Firefox database), it's 49mb. If then copy my 2 biggest 
> tables with
>   CREATE table2 as select * from orig_table; drop table ; alter table2 
> rename to table;
> 
> Then vacuum, the db becomes 24mb. The same behavior occurs if I use the 
> create statement from sqlite_master to setup the copy-table.
> 
> Is this a bug or expected behavior?

  If the first table had any indexes, it would be expected behavior.

   -j

-- 
Jay A. Kreibich < J A Y  @  K R E I B I.C H >

"Intelligence is like underwear: it is important that you have it,
 but showing it to the wrong people has the tendency to make them
 feel uncomfortable." -- Angela Johnson
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to