Re: [HACKERS] Hash Functions

Поиск
Список
Период
Сортировка
Искать
От
Jeff Davis
Тема
Re: [HACKERS] Hash Functions
Дата
в 08:53:01
Msg-id
CAMp0ubdfskZkHToYzYkUUhidJft7CSgOZ_nM9cRUa8BXijsbcQ@mail.gmail.com
Ответ на
Список
Дерево обсуждения
[HACKERS] Hash Functions Jeff Davis <pgsql@j-davis.com>
Re: [HACKERS] Hash Functions Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Hash Functions Andres Freund <andres@anarazel.de>
Re: [HACKERS] Hash Functions Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Hash Functions Joe Conway <mail@joeconway.com>
Re: [HACKERS] Hash Functions Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Hash Functions Andres Freund <andres@anarazel.de>
Re: [HACKERS] Hash Functions Joe Conway <mail@joeconway.com>
Re: [HACKERS] Hash Functions Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Hash Functions Andres Freund <andres@anarazel.de>
Re: [HACKERS] Hash Functions Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Hash Functions Andres Freund <andres@anarazel.de>
Re: [HACKERS] Hash Functions Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Hash Functions Andres Freund <andres@anarazel.de>
Re: [HACKERS] Hash Functions Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Hash Functions Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Hash Functions Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Hash Functions Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Hash Functions Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Hash Functions Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Hash Functions Kenneth Marshall <ktm@rice.edu>
Re: [HACKERS] Hash Functions Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Hash Functions Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Hash Functions amul sul <sulamul@gmail.com>
Re: [HACKERS] Hash Functions Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Hash Functions amul sul <sulamul@gmail.com>
Re: [HACKERS] Hash Functions Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Hash Functions amul sul <sulamul@gmail.com>
Re: [HACKERS] Hash Functions Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Hash Functions amul sul <sulamul@gmail.com>
Re: [HACKERS] Hash Functions Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Hash Functions Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Hash Functions Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Hash Functions Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Hash Functions amul sul <sulamul@gmail.com>
Re: [HACKERS] Hash Functions amul sul <sulamul@gmail.com>
Re: [HACKERS] Hash Functions Jeff Davis <pgsql@j-davis.com>
Re: [HACKERS] Hash Functions Jeff Davis <pgsql@j-davis.com>
Re: [HACKERS] Hash Functions Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Hash Functions Joe Conway <mail@joeconway.com>
Re: [HACKERS] Hash Functions Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Hash Functions Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Hash Functions Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Hash Functions Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] Hash Functions Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [HACKERS] Hash Functions Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] Hash Functions David Fetter <david@fetter.org>
Re: [HACKERS] Hash Functions Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Hash Functions Andres Freund <andres@anarazel.de>
Re: [HACKERS] Hash Functions Kenneth Marshall <ktm@rice.edu>
Re: [HACKERS] Hash Functions Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Hash Functions Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Hash Functions Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] Hash Functions Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Hash Functions Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Hash Functions Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Hash Functions Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] Hash Functions Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Hash Functions Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] Hash Functions Andres Freund <andres@anarazel.de>
Re: [HACKERS] Hash Functions Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Hash Functions Andres Freund <andres@anarazel.de>
Re: [HACKERS] Hash Functions Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Hash Functions Greg Stark <stark@mit.edu>
Re: [HACKERS] Hash Functions Andres Freund <andres@anarazel.de>
Re: [HACKERS] Hash Functions Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] Hash Functions Jeff Davis <pgsql@j-davis.com>
Re: [HACKERS] Hash Functions Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] Hash Functions Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Hash Functions Andres Freund <andres@anarazel.de>
Re: [HACKERS] Hash Functions Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Hash Functions Andres Freund <andres@anarazel.de>
Re: [HACKERS] Hash Functions Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Hash Functions David Fetter <david@fetter.org>
Re: [HACKERS] Hash Functions Jeff Davis <pgsql@j-davis.com>
Re: [HACKERS] Hash Functions David Fetter <david@fetter.org>
Re: [HACKERS] Hash Functions Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] Hash Functions Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Hash Functions Jeff Davis <pgsql@j-davis.com>
Re: [HACKERS] Hash Functions Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: [HACKERS] Hash Functions Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Hash Functions Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Hash Functions Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Hash Functions Jeff Davis <pgsql@j-davis.com>
Re: [HACKERS] Hash Functions Robert Haas <robertmhaas@gmail.com>
[HACKERS] Hash Functions Jeff Davis <pgsql@j-davis.com>
Re: [HACKERS] Hash Functions Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Hash Functions Jeff Davis <pgsql@j-davis.com>
Re: [HACKERS] Hash Functions Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>
Re: [HACKERS] Hash Functions Jeff Davis <pgsql@j-davis.com>
Re: [HACKERS] Hash Functions Mark Dilger <hornschnorter@gmail.com>
Re: [HACKERS] Hash Functions David Fetter <david@fetter.org>
Re: [HACKERS] Hash Functions Thomas Munro <thomas.munro@enterprisedb.com>
Re: [HACKERS] Hash Functions Thomas Munro <thomas.munro@enterprisedb.com>
Re: [HACKERS] Hash Functions Jeff Davis <pgsql@j-davis.com>
Re: [HACKERS] Hash Functions Jeff Davis <pgsql@j-davis.com>
Re: [HACKERS] Hash Functions Jeff Davis <pgsql@j-davis.com>
On Wed, May 17, 2017 at 12:10 PM, Robert Haas  wrote:
> 1. To handle dump-and-reload the way we partitioning does today, hash
> functions would need to be portable across encodings.
> 2. That's impractically difficult.
> 3. So let's always load data through the top-parent.
> 4. But that could fail due to e.g. a UNIQUE index on an individual
> child, so let's try to prohibit all of the things that could be done
> to an individual partition that could cause a reload failure.
> 5. And then for good measure let's hide the existence of the partitions, too.

That is one thread of logic, but out of the discussion also
highlighted some of the consequences of treating hash partitions like
range/list partitions.

For instance, it makes little sense to have individual check
constraints, indexes, permissions, etc. on a hash-partitioned table.
It doesn't mean that we should necessarily forbid them, but it should
make us question whether combining range and hash partitions is really
the right design.

Regards,    Jeff Davis


В списке pgsql-hackers по дате отправления
От: Christoph Berg
Дата:
От: Masahiko Sawada
Дата:
FAQ