Parameter value from (mb/gb) to bytes

Поиск
Список
Период
Сортировка
От Raul Kaubi
Тема Parameter value from (mb/gb) to bytes
Дата
Msg-id 6cbca2bcda734464a1be9f7d7380ff33@rik.ee
обсуждение исходный текст
Ответы Re: Parameter value from (mb/gb) to bytes  (Thomas Kellerer <shammat@gmx.net>)
Список pgsql-general

Hi

 

Is there a simple way to dynamically get for example parameter „shared buffers“ value (megabytes or gigabytes) to bytes, for monitoring perspective..?

 

At the moment, this gives me value in GB.

 

# psql -U postgres -Atc "show shared_buffers;"

1GB

 

This value may as well be in MB. So I am looking a way to dynamically get the value in bytes.

 

Regards

Raul

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

Предыдущее
От: chlor
Дата:
Сообщение: Re: What's your experience with using Postgres in IoT-contexts?
Следующее
От: "Peter J. Holzer"
Дата:
Сообщение: Re: What's your experience with using Postgres in IoT-contexts?