Hi,
How can I improve "select count(*)" for larger tables? I'm doing a db migration and need to validate the data count.
"select count(*) " queries are taking more than 30 minutes for some tables which is more than the downtime we have.
"select count(*) " queries are taking more than 30 minutes for some tables which is more than the downtime we have.
Will work_mem increase help? or how can i speed up this row count?
Thanks,
Raj