Skip to Content
Former Member
Mar 18, 2015 at 03:37 PM

ASE 15.5 estimate of rowcount using row_count function


We have a huge table both in ASE and IQ, the two tables are loaded incrementally from the same third party everyday. To make sure that the load is identical, after all error checking, we reconcile the row count in the two tables, Every so often the ASE row count majored by row_count(dbid, objectid) presents a lower value that the real count. I know that the outcome of row-count is just an estimate, but is there a way to have a reliable outcome, or it is considered just an estimate? We would like avoid select count(index_columns) from ASE_table which takes an hour to achieve.All you suggestions are welcomed.