Re: forcing compression of text field

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: forcing compression of text field
Дата
Msg-id 1165878043.13508.10.camel@dogma.v10.wvs
обсуждение исходный текст
Ответ на forcing compression of text field  ("Jonathan Ellis" <jonathan@utahpython.org>)
Список pgsql-general
On Mon, 2006-12-11 at 09:18 -0700, Jonathan Ellis wrote:
> I have a table of log messages.  They are mostly in the 100-200
> character length, which apparently isn't large enough for PG to want
> to compress it (length == octet_length).  I really need to save disk
> space.  I can store it as a bytea and compress it manually (zlib level
> 1 compression gives about 50% savings), but is there a way to force
> pg's own compression before I resort to this?
>

Are you sure PostgreSQL isn't compressing it? I didn't think there was a
minimum threshold for compression.

Regards,
    Jeff Davis


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: concatenation operator || with "null" array
Следующее
От: "philip johnson"
Дата:
Сообщение: Re: tsearch2 and pdf files