Skip to Content
avatar image
Former Member

MaxDB data size too big

Hi,

I am using MaxDB 7.5.00. After using the database for a month or so the data file became 40% full which is about 400Mb. Most of the tables in the database are empty or contain several records, only two tables are used extensively and have about 25000 records, no blobs are used; it definitely should not be hundreds of megs. Does anybody know which settings can cause the data in the file to grow that big?

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Jul 16, 2004 at 12:55 PM

    Hi Dmytro,

    well, you could try issueing an sql statement on your database (for example using SQL Studio) which counts the number of pages used by the tables.

    Something like:

    select t.tablename, o.pagecount

    from

    optimizerstatistics o,

    tables t where

    t.tablename = o.tablename and

    t.owner ='SAPS13' and

    t.type= 'TABLE' and

    o.pagecount is not NULL

    order by o.pagecount desc

    Please take into account that the output is probably (= if not changed by you) based on the standard 20.000 statistical sample rows. Some tables will therefore not even have a value in the clumn 'pagecount' in table 'optimizerstatistics'.

    You could also try a 'sum(pagecount)' to see how much ipages in total is already in use by the tables listed after issueing the above sql statement.

    Kind regards,

    Roland

    Add comment
    10|10000 characters needed characters exceeded