Quantcast
Viewing all articles
Browse latest Browse all 2539

Re: MAX DB (Content Server) table COMPONENTS0001 does not show correct size & count

Hi,

 

which database version are you running? I am asking, because in (old) database versions below 7.6, we did not have the table entry count stored in the database filedirectory. This is a feature that was later introduced to e.g. speed up 'select count(*)' queries.

 

If you upgraded from a database version that did not support file directory counters, the database would need to initially determine the filedirectory counters for all existing database objects. This happens automatically, but only with low priority. Problem is, if you have large tables that are frequently accessed, the filedirectory counting can never finish, because it gets stopped by other accesses having a higher priority.

 

The easiest way (if you can afford a downtime) would be to stop the database to 'admin' and run a 'check data'. This integrity check automatically updates the filedirectory counters for all tables needed. However, even with a fast i/o system, a check data of 1.2 TB will likely take several hours to complete.

 

For more options and info, please have a look at SAP note 1315198.

 

Thorsten


Viewing all articles
Browse latest Browse all 2539

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>