Re: storage calculations

Поиск
Список
Период
Сортировка
От Mendola Gaetano
Тема Re: storage calculations
Дата
Msg-id 007201c35628$6d188570$10d4a8c0@mm.eutelsat.org
обсуждение исходный текст
Ответ на storage calculations  (pgboy@guthrie.charm.net)
Список pgsql-admin
<pgboy@guthrie.charm.net> writes:
> i've been browsing the documentation online, and i can't
> find where the storage layouts for tables and indexes are
> explained.
>
> i'd like to be able to figure out, given a table or two
> with a simple schema (no ineritance) and some indexes, and
> a number of rows currently in these tables, how much disk
> space is being used.

oid2name | grep <your_db_name>

give you the name of the directory where the database is stored
inside your $PGDATA directory.

In order to now the name of the file that correspond to your
table:

oid2name -d <your_db_name> -t <your_table_name>



Regards
Gaetano Mendola


В списке pgsql-admin по дате отправления:

Предыдущее
От: "Mendola Gaetano"
Дата:
Сообщение: Re: syslog enabled causes random hangs?
Следующее
От: "Arthur Ward"
Дата:
Сообщение: Re: syslog enabled causes random hangs?