Created
February 28, 2014 13:42
Revisions
-
Rodrigo Avila created this gist
Feb 28, 2014 .There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ -- Usa as estatísticas do PostgreSQL para a contagem. -- Para números mais precisos, execute -- VACUUM ANALYZE -- antes de iniciar. SELECT relname, n_live_tup FROM pg_stat_user_tables ORDER BY n_live_tup DESC;