statistik postgres

-- Get the statistics on a particular table
SELECT * FROM pg_stats 
WHERE tablename = 'table_name';
shin