Changes between Version 11 and Version 12 of PrecomputedTables

Show
Ignore:
Author:
rns (IP: 192.168.128.115)
Timestamp:
06/01/10 14:14:00 (8 months ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PrecomputedTables

    v11 v12  
    6161}}} 
    6262 
     63== Size of precomputed tables == 
    6364 
     65You can see the names and sizes of all precomputed tables by running this SQL query in psql: 
     66{{{ 
     67SELECT relname,category,pg_size_pretty(pg_relation_size(oid)) FROM pg_class, precompute_index WHERE relname NOT LIKE 'pg_%' and relname = name ORDER BY pg_relation_size(oid) DESC; 
     68}}} 
     69Note that this only lists the table sizes, there may be many indexes associated with each table which may also be large.  To see the size of all tables and indexes in the database use: 
     70{{{ 
     71SELECT relname,pg_size_pretty(pg_relation_size(oid)) FROM pg_class WHERE relname NOT LIKE 'pg_%' ORDER BY pg_relation_size(oid) DESC; 
     72}}} 
     73