cancel
Showing results for 
Search instead for 
Did you mean: 

MaxDB data size too big

Former Member
0 Kudos

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?

Accepted Solutions (0)

Answers (1)

Answers (1)

roland_mallmann
Advisor
Advisor
0 Kudos

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