‎2009 Oct 30 6:57 AM
Hi Experts,
I need to find out database table row count and the width for all the tables in the database.
and need to consider the performance also while finding out the above details.
Thanks,
kumar
‎2009 Oct 30 7:01 AM
‎2009 Oct 30 7:03 AM
Hi Kumar,
<li>DB table rows are found like below.
<li>Use DB6PMHT_HD (DB6: Summary Record of Table and Index Space Statistics) table to check the database table size.
DATA:table_count.
SELECT COUNT(*) FROM mara INTO table_count.
Thanks
Venkat.O
REPORT ztest_notepad.
TABLES :db6pmht_hd.
SELECT SINGLE *
FROM db6pmht_hd
WHERE stattype = 'D' "D-daily
AND objectname = 'MARA'
AND objecttype = 'T'. "T-table.
WRITE:/ 'Table', 'MARA', 'size', db6pmht_hd-sizekb.
‎2009 Oct 30 7:07 AM
hai,
Please Check DD09L table Also, Technical Settings Are given there, May be helpful For u.
‎2009 Oct 30 7:23 AM
Hi all,
And the database table row count which i need to find is client specific.
Thanks,
Kumar
‎2009 Oct 30 7:27 AM
Hi all,
I have table 'DBSTATHORA' , if the database is Oracle
and 'MSSDBSTATT' table ,if the database is MSSql to find out the database table rows.
But using the above said tables i am getting total rows irrespective of clients.
Instead i need to have only rows for specific client.
Please help me out.
Thanks in advance,
Kumar