Re: frustration with database size
От | Einar Karttunen |
---|---|
Тема | Re: frustration with database size |
Дата | |
Msg-id | 20020122065925.GB27936@shellak.helsinki.fi обсуждение исходный текст |
Ответ на |
Re: frustration with database size |
Список | pgsql-general |
On 21.01.02 14:40 -0600(+0000), Thomas F. O'Connell wrote: > >An easy way to get some data is to do a VACUUM so that the relpages > >statistics are up to date, and then do > > > >select relname,relkind,relpages from pg_class order by relpages desc; > > > well, that certainly is data. but what does it mean? > what does this query actually spell out? > to what do relkind and relpages refere? > just curious. > It's documented in the developers guide: http://www.postgresql.org/idocs/index.php?catalog-pg-class.html relname Name of the table, index, view, etc. relkind 'r'=ordinary table,'i'=index,'S'=sequence,'v'=view, 's'=special,'t'=secondary TOAST table relpages Size of the on-disk representation of this table in pages (size BLCKSZ). This is only an approximate value which is calculated during vacuum. - Einar Karttunen
В списке pgsql-general по дате отправления: