sql - getting row count in db2 using system tables? -


I can get line count from system table in deb2

  select from tabname , Card Syscat.tables where tab name = '?'  

But this will count the constant line, if I should be dynamic, then I need to run RunStat on the table What else is there than using the count (*)?

A physical content table (MQT) is another option, but this is only the most expensive DB2 product Available for license. Here's an overview:


Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -