Quantcast
Channel: SCN: Message List - SAP MaxDB
Viewing all articles
Browse latest Browse all 2539

Re: Unable to get the total number of docs in a MAXDB 7.6 database SAP repository

$
0
0

Hi,

on db level you can count the number of rows in the tables where the documents are stored.

 

For each repository you have on COMPONENTS<nr> table. The <nr> repository number

ist stored togehter with the repository name in the table CONTREP

 

Use sqlcli, Database Studio or SQL Studio count the numer of rows on database level.

 

>sqlcli -d CS -u SAPR3,*** select TABLENAME from tables where tablename LIKE 'COMPONENTS____'

| TABLENAME             |
| -------------------------------- |
| COMPONENTS0001   |

| COMPONENTS0002   |

2 row selected (24.619 msec)

 

>sqlcli -d CS -u SAPR3,*** select count(*) from COMPONENTS0001
| EXPRESSION1       |
| ----------------------------- |
|                         101 |

1 row selected (12.559 msec)

 

In repository 1 101 documents are stored. Do this for all other COMPONENTS<nr> tables

 

If you are a SAP Customer please check also SAP Note No. 1678771

 

Best reagrds,

Burkhard


Viewing all articles
Browse latest Browse all 2539

Trending Articles



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