cancel
Showing results for 
Search instead for 
Did you mean: 

Content Server (MAXDB 7.6) DB size appears incorrect

former_member204618
Active Contributor
0 Kudos

Hi all,

I've read a lot of forum threads about various ways of finding out the size of tables in KB.  However I have a slight problem.

My DB shows the following in the Data Area :-

Description of Valuein KBin Pagesin %
Total Size293,601,50436,700,188100
Used Area244,719,75230,589,96983
Permanent used Area244,715,48830,589,43683
Temporary Used Area240300
Free Area48,881,7526,110,21917

However when I look at the size of the tables I see this :-

Table NameTotal Size in KBSize w/out BLOBS in KBBLOBS in KBDescription
DOCUMENTS00012,386,0562,386,0488
COMPONENTS00011,195,6721,195,6720
CONTREP880

The above was taken from DBACOCKPIT in Solution Manager and DB59 > Assistant.  This matches what's shown in Database Manager also.

I have checked system tables sysinfo.schemasize and sysinfo.tablesize and these seem to match the entries from above.

What am I missing here?  These numbers don't translate into the Used Area!

Is there a better way of determining why it seems to think the database is 233GB when the used tables only account for maybe 4GB?

Also whilst looking at sysinfo.tablesize it shows the following :-

SCHEMANAMETABLENAMEUSEDSIZEROWCOUNT

SAPR3

CONTREP81
SAPR3DOCUMENTS000123957604259205
SAPR3COMPONENTS0001??
SAPR3PLAN_TABLE82
SAPR3/MAXDB/UPDSTATS80

For some reason I get ? in the USEDSIZE and ROWCOUNT fields for COMPONENTS0001.

Any help much appreciated.

Thanks

Craig

Accepted Solutions (1)

Accepted Solutions (1)

former_member204618
Active Contributor
0 Kudos

UPDATE

Having found this thread I read the mentioned SAP Note http://service.sap.com/sap/support/notes/1315198

Which lead me to run db_execute CHECK TABLE <table_name> WITH SHARE LOCK

So I left this running over the weekend and had to kill it early this morning as it didn't finish.

How do I get this to complete and how to know whether its doing anything?

Thanks

Craig

Former Member
0 Kudos

Hi Craig,

for me it sounds that you delete in the past some repositories. MaxDb removes deleted table entries asynchronously. If you stopp the database while the asynchronous delete is still active it can happen that deelted data won#t be removed anymore.

To get the system 'clean' again there are no administration commands. You have to open a customer ticket on component Bc-DB-SDB. This issue now can only be fixed by the support team.

Regards, Christiane

Former Member
0 Kudos

Hi Craig,

I cannot find a custoerm ticket with no 000020163434.

Reghards, Christiane

former_member204618
Active Contributor
0 Kudos

Sorry getting stressed it's 0000304269.

Cheers

Craig

Answers (0)