Closed GoogleCodeExporter closed 8 years ago
insert 2000 => 1 MB
delete 500 => 1 MB
insert 2000 > 2 MB (yes, but according to my calculation you have now 3500
records)
From the described procedure I believe it is not a bug. If you think it is,
please
reopen the bug and add a test case, for example a SQL script as in:
drop table test;
create table test(id int primary key, name varchar);
insert into test select x, 'Hello World' from system_range(1, 2000);
-- now ... MB
delete from test where id < 500;
insert into test select x+2000, 'Hello World' from system_range(1, 2000);
-- now ... MB
In any case, the database files don't shrink in the current release. I am
working on
a solution, but that will take several month until it is finished and tested (a
new
storage mechanism). To compact a database off-line, see
http://www.h2database.com/html/features.html#compacting (I know this is not a
solution for your however).
Original comment by thomas.t...@gmail.com
on 11 Feb 2009 at 7:06
Original issue reported on code.google.com by
Hiher...@gmail.com
on 10 Feb 2009 at 9:14