If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
Where can I get a count of the number of rows in a table without having to do a select count(*)? We looked at rowcount column in syscat.systable but it is not reflective of the actual number of rows in a table. is there another column / table to look at?
RUNSTATS command collects statistics for a table on the database partition from
which it is invoked. If the table does not exist on that database partition, the
first database partition in the database partition group is selected.