Re: [GENERAL] "Shared strings"-style table

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: [GENERAL] "Shared strings"-style table
Дата
Msg-id CAKFQuwbZ7ji_h=2vgc-sEWp9niTDf2OUgBfD1JSdRmDvBKKb1Q@mail.gmail.com
обсуждение исходный текст
Ответ на [GENERAL] "Shared strings"-style table  (Seamus Abshere <seamus@abshere.net>)
Ответы Re: [GENERAL] "Shared strings"-style table
Re: [GENERAL] "Shared strings"-style table
Список pgsql-general
On Fri, Oct 13, 2017 at 8:49 AM, Seamus Abshere <seamus@abshere.net> wrote:
Theoretically / blue sky, could there be a table or column type that
transparently handles "shared strings" like this, reducing size on disk
at the cost of lookup overhead for all queries?

(I guess maybe it's like TOAST, but content-hashed and de-duped and not
only for large objects?)

Row-independence is baked into PostgreSQL pretty deeply...

I think an enum type is about as close are you are likely to get if you don't wish to setup your own foreign-key relationships with surrogate keys.

David J.

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

Предыдущее
От: Rob Sargent
Дата:
Сообщение: Re: [GENERAL] "Shared strings"-style table
Следующее
От: Seamus Abshere
Дата:
Сообщение: Re: [GENERAL] "Shared strings"-style table