Re: space taken by a row & compressed data

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: space taken by a row & compressed data
Дата
Msg-id 200408261505.i7QF5FR26375@candle.pha.pa.us
обсуждение исходный текст
Ответ на space taken by a row & compressed data  ("Leonardo Francalanci" <lfrancalanci@simtel.ie>)
Ответы R: space taken by a row & compressed data  ("Leonardo Francalanci" <lfrancalanci@simtel.ie>)
Список pgsql-general
Leonardo Francalanci wrote:
> With mysql I know how much space a row will take, based on the datatype
> of it columns. I also (approximately) know the size of indexes.
> Is there a way to know that in postgresql?

We have an FAQ item about this.

> Is there a way to pack (compress) data, as with myisampack for mysql?

Long data values are automatically compressed.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

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

Предыдущее
От: Graeme Hinchliffe
Дата:
Сообщение: Re: detecting a dead db not seeming to work
Следующее
От: "Jim Wilson"
Дата:
Сообщение: Re: Substring RegExp Extract path