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 -

Visual Studio 2005: How to speed up builds when a VSMDI is open? -

booting ubuntu from usb using virtualbox -