Re: Performance implications of numeric?

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: Performance implications of numeric?
Дата
Msg-id 50357912.3010905@ringerc.id.au
обсуждение исходный текст
Ответ на Performance implications of numeric?  (Wells Oliver <wellsoliver@gmail.com>)
Список pgsql-general
On 08/23/2012 12:48 AM, Wells Oliver wrote:
> Hey, thanks for your feedback. Just to clarify: pg_total_relation_size
> returns bytes, correct?

Please reply to the list, not directly to me.

Yes, pg_total_relation_size returns bytes. The documentation
(http://www.postgresql.org/docs/9.1/static/functions-admin.html) doesn't
seem to explicitly say that for pg_total_relation_size though it does
for pg_relation_size and other functions.

Use pg_size_pretty to convert bytes to "human" values for display.

--
Craig Ringer



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

Предыдущее
От: Mike Christensen
Дата:
Сообщение: What text format is this and can I import it into Postgres?
Следующее
От: Rob Sargent
Дата:
Сообщение: Re: What text format is this and can I import it into Postgres?