R: R: space taken by a row & compressed data

Поиск
Список
Период
Сортировка
Искать
От
Leonardo Francalanci
Тема
R: R: space taken by a row & compressed data
Дата
Msg-id
KNEFJLENOMMIGOKNCBFAMEHHEMAA.lfrancalanci@simtel.ie
Ответ на
Список
Дерево обсуждения
space taken by a row & compressed data "Leonardo Francalanci" <lfrancalanci@simtel.ie>
Re: space taken by a row & compressed data Tino Wildenhain <tino@wildenhain.de>
Re: space taken by a row & compressed data Bruce Momjian <pgman@candle.pha.pa.us>
R: space taken by a row & compressed data "Leonardo Francalanci" <lfrancalanci@simtel.ie>
Re: R: space taken by a row & compressed data Bruce Momjian <pgman@candle.pha.pa.us>
Re: R: space taken by a row & compressed data Tom Lane <tgl@sss.pgh.pa.us>
Re: R: space taken by a row & compressed data Tom Lane <tgl@sss.pgh.pa.us>
R: R: space taken by a row & compressed data "Leonardo Francalanci" <lfrancalanci@simtel.ie>
Re: R: R: space taken by a row & compressed data Tom Lane <tgl@sss.pgh.pa.us>
Re: R: R: space taken by a row & compressed data Greg Stark <gsstark@mit.edu>
Re: R: R: space taken by a row & compressed data Joe Conway <mail@joeconway.com>
Re: R: R: space taken by a row & compressed data Jan Wieck <JanWieck@Yahoo.com>
> If you just stuck all the integers into a single integer-array column,
> it would be 1600 bytes wide, which is ... hmm ... not quite wide enough
> to trigger the toast logic.  Perhaps it would be worthwhile for you to
> run a custom build with TOAST_TUPLE_THRESHOLD/TOAST_TUPLE_TARGET set
> to half their standard values (see src/include/access/tuptoaster.h).

Could you point me to some docs on this TOAST-mechanism?
I only found http://postgresql.zadnik.org/projects/devel-toast.html
but seems very old.
For instance: what kind of method is used to compress data?

> You'd not need to write any specialized code that way.
Great!

> Note that if you sometimes search on the values of one of the non-index
> columns, this might be a bad idea.


No, this never happens.
В списке pgsql-general по дате отправления
От: David Wheeler
Дата:
Сообщение: Re: UTF-8 and LIKE vs =
От: Tom Lane
Дата:
FAQ