We use PostgreSQL for analytics. Three typical operations we do on tables are:
- Create table as select
- Create table followed by insert in table
- Drop table
We are not doing any UPDATE, DELETE etc.
For this situation can we assume that estimates would just be accurate?
SELECT reltuples AS estimate FROM pg_class where relname = 'mytable';