|
|
|
@ -1,5 +1,5 @@ |
|
|
|
|
<!-- |
|
|
|
|
$Header: /cvsroot/pgsql/doc/src/sgml/diskusage.sgml,v 1.2 2002/06/21 19:06:44 momjian Exp $ |
|
|
|
|
$Header: /cvsroot/pgsql/doc/src/sgml/diskusage.sgml,v 1.3 2002/06/21 19:17:40 momjian Exp $ |
|
|
|
|
--> |
|
|
|
|
|
|
|
|
|
<chapter id="diskusage"> |
|
|
|
@ -85,6 +85,11 @@ play-# ORDER BY relpages DESC; |
|
|
|
|
</programlisting> |
|
|
|
|
</para> |
|
|
|
|
|
|
|
|
|
<para> |
|
|
|
|
<application>dbsize</> loads functions into your database that allow |
|
|
|
|
you to find the size of a table or database from inside |
|
|
|
|
<application>psql</> without the need for <command>VACUUM/ANALYZE.</> |
|
|
|
|
</para> |
|
|
|
|
<para> |
|
|
|
|
You can also use <application>oid2name</> to show disk usage. See |
|
|
|
|
<filename>README.oid2name</> for examples. It includes a script |
|
|
|
|