Subject | Re: [IBO] Re: Database file size increases heavily |
---|---|
Author | Arno Garrels |
Post date | 2002-12-03T13:58:13Z |
Hi Lester,
Thank you for your help as well.
seconds I add and delete always the same bunch of data then, as I understand
the IB docs, DB size should not keep on growing after a few adds/deletes
because empty space is being reused. After the first adds/deletes size grows
to 1019 KB and within 24 h up to ~10 MB so there must be something wrong.
Possibly the short interval or any special behavior of IBO in a TThread that
I'm missing?
Most data is VarChar (file pathes) in detail table, also one blob type text
in master table.
Actually master gets 2 records, detail 42 records (it's not a joke).
cannot say how size increases on each loop because the Windows Explorer
seems to refresh file size incorrectly but it still grows.
I wrote before.
Thanks again
Arno Garrels
Thank you for your help as well.
> Have we established how much data SHOULD be in the database?No, not exactly but when a "compressed" empty DB is 913 KB and each 58
seconds I add and delete always the same bunch of data then, as I understand
the IB docs, DB size should not keep on growing after a few adds/deletes
because empty space is being reused. After the first adds/deletes size grows
to 1019 KB and within 24 h up to ~10 MB so there must be something wrong.
Possibly the short interval or any special behavior of IBO in a TThread that
I'm missing?
> How many indexes are being filled, and what actual data isOne primary on each table, one secondary on the detail table.
> being pumped in? (Can't see original post <g>)
Most data is VarChar (file pathes) in detail table, also one blob type text
in master table.
Actually master gets 2 records, detail 42 records (it's not a joke).
>Currently my changed app. is running for 2 hours, actual size is 1.3 MB. I
> I get 4-5Mb database with a couple of hundred train records
> - it grows while I am building 'working' space and then
> settles after 24 hours as old records get deleted every hour
> and new ones added.
cannot say how size increases on each loop because the Windows Explorer
seems to refresh file size incorrectly but it still grows.
> One think to watch out for is not to use IB_SQL to watchThere are no views, nothing is watched it's just a very simple db action, as
> things, that holds a separate transaction and can cause
> problems. The same sort of thing can happen if you hold
> views open in the application.
I wrote before.
Thanks again
Arno Garrels