Re: [HACKERS] Write Ahead Logging for Hash Indexes

Поиск
Список
Период
Сортировка
Искать
От
Stephen Frost
Тема
Re: [HACKERS] Write Ahead Logging for Hash Indexes
Дата
Msg-id
20170315145506.GT9812@tamriel.snowman.net
Ответ на
Список
Дерево обсуждения
Write Ahead Logging for Hash Indexes Amit Kapila <amit.kapila16@gmail.com>
Re: Write Ahead Logging for Hash Indexes Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Write Ahead Logging for Hash Indexes Amit Kapila <amit.kapila16@gmail.com>
Re: Write Ahead Logging for Hash Indexes Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Write Ahead Logging for Hash Indexes Amit Kapila <amit.kapila16@gmail.com>
Re: Write Ahead Logging for Hash Indexes Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Write Ahead Logging for Hash Indexes Amit Kapila <amit.kapila16@gmail.com>
Re: Write Ahead Logging for Hash Indexes Amit Kapila <amit.kapila16@gmail.com>
Re: Write Ahead Logging for Hash Indexes Ashutosh Sharma <ashu.coek88@gmail.com>
Re: Write Ahead Logging for Hash Indexes Jeff Janes <jeff.janes@gmail.com>
Re: Write Ahead Logging for Hash Indexes Amit Kapila <amit.kapila16@gmail.com>
Re: Write Ahead Logging for Hash Indexes Jeff Janes <jeff.janes@gmail.com>
Re: Write Ahead Logging for Hash Indexes Amit Kapila <amit.kapila16@gmail.com>
Re: Write Ahead Logging for Hash Indexes Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
Re: Write Ahead Logging for Hash Indexes Amit Kapila <amit.kapila16@gmail.com>
Re: Write Ahead Logging for Hash Indexes Jesper Pedersen <jesper.pedersen@redhat.com>
Re: Write Ahead Logging for Hash Indexes Amit Kapila <amit.kapila16@gmail.com>
Re: Write Ahead Logging for Hash Indexes Jesper Pedersen <jesper.pedersen@redhat.com>
Re: Write Ahead Logging for Hash Indexes Amit Kapila <amit.kapila16@gmail.com>
Re: Write Ahead Logging for Hash Indexes Jesper Pedersen <jesper.pedersen@redhat.com>
Re: Write Ahead Logging for Hash Indexes Jeff Janes <jeff.janes@gmail.com>
Re: Write Ahead Logging for Hash Indexes Amit Kapila <amit.kapila16@gmail.com>
Re: Write Ahead Logging for Hash Indexes Jeff Janes <jeff.janes@gmail.com>
Re: Write Ahead Logging for Hash Indexes Amit Kapila <amit.kapila16@gmail.com>
Re: Write Ahead Logging for Hash Indexes Amit Kapila <amit.kapila16@gmail.com>
Re: Write Ahead Logging for Hash Indexes Amit Kapila <amit.kapila16@gmail.com>
Re: Write Ahead Logging for Hash Indexes Amit Kapila <amit.kapila16@gmail.com>
Re: Write Ahead Logging for Hash Indexes Ashutosh Sharma <ashu.coek88@gmail.com>
Re: Write Ahead Logging for Hash Indexes Jeff Janes <jeff.janes@gmail.com>
Re: Write Ahead Logging for Hash Indexes Amit Kapila <amit.kapila16@gmail.com>
Re: Write Ahead Logging for Hash Indexes Amit Kapila <amit.kapila16@gmail.com>
Re: Write Ahead Logging for Hash Indexes Robert Haas <robertmhaas@gmail.com>
Re: Write Ahead Logging for Hash Indexes Amit Kapila <amit.kapila16@gmail.com>
Re: Write Ahead Logging for Hash Indexes Robert Haas <robertmhaas@gmail.com>
Re: Write Ahead Logging for Hash Indexes Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Jesper Pedersen <jesper.pedersen@redhat.com>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Kuntal Ghosh <kuntalghosh.2007@gmail.com>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Jeff Janes <jeff.janes@gmail.com>
Re: [HACKERS] Write Ahead Logging for Hash Indexes Amit Kapila <amit.kapila16@gmail.com>
Re: Write Ahead Logging for Hash Indexes Jesper Pedersen <jesper.pedersen@redhat.com>
Re: Write Ahead Logging for Hash Indexes Ashutosh Sharma <ashu.coek88@gmail.com>
Re: Write Ahead Logging for Hash Indexes Ashutosh Sharma <ashu.coek88@gmail.com>
Re: Write Ahead Logging for Hash Indexes Amit Kapila <amit.kapila16@gmail.com>
Re: Write Ahead Logging for Hash Indexes Amit Kapila <amit.kapila16@gmail.com>
Re: Write Ahead Logging for Hash Indexes Ashutosh Sharma <ashu.coek88@gmail.com>
Re: Write Ahead Logging for Hash Indexes Jeff Janes <jeff.janes@gmail.com>
Re: Write Ahead Logging for Hash Indexes Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
Re: Write Ahead Logging for Hash Indexes Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
Re: Write Ahead Logging for Hash Indexes Amit Kapila <amit.kapila16@gmail.com>
Re: Write Ahead Logging for Hash Indexes Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
Re: Write Ahead Logging for Hash Indexes Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
Re: Write Ahead Logging for Hash Indexes Amit Kapila <amit.kapila16@gmail.com>
Re: Write Ahead Logging for Hash Indexes Amit Kapila <amit.kapila16@gmail.com>
Re: Write Ahead Logging for Hash Indexes Jeff Janes <jeff.janes@gmail.com>
Re: Write Ahead Logging for Hash Indexes Amit Kapila <amit.kapila16@gmail.com>
Re: Write Ahead Logging for Hash Indexes Jeff Janes <jeff.janes@gmail.com>
Re: Write Ahead Logging for Hash Indexes Amit Kapila <amit.kapila16@gmail.com>
Re: Write Ahead Logging for Hash Indexes Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
Re: Write Ahead Logging for Hash Indexes Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
Re: Write Ahead Logging for Hash Indexes Amit Kapila <amit.kapila16@gmail.com>
Re: Write Ahead Logging for Hash Indexes Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
Re: Write Ahead Logging for Hash Indexes Amit Kapila <amit.kapila16@gmail.com>
Re: Write Ahead Logging for Hash Indexes Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
Re: Write Ahead Logging for Hash Indexes Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
Re: Write Ahead Logging for Hash Indexes Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
Re: Write Ahead Logging for Hash Indexes Amit Kapila <amit.kapila16@gmail.com>
Robert,

* Robert Haas (robertmhaas@gmail.com) wrote:
> On Wed, Mar 15, 2017 at 10:34 AM, Tom Lane  wrote:
> > FWIW, I'm not certain that Stephen is correct to claim that we have
> > some concrete problem with sparse files.  We certainly don't *depend*
> > on sparse storage anyplace else, nor write data in a way that would be
> > likely to trigger it; but I'm not aware that we need to work hard to
> > avoid it.
> 
> That theory seems inconsistent with how mdextend() works.  My
> understanding is that we zero-fill the new blocks before populating
> them with actual data precisely to avoid running out of disk space due
> to deferred allocation at the OS level.  If we don't care about
> failures due to deferred allocation at the OS level, we can rip that
> logic out and improve the performance of relation extension
> considerably.  If we do care about failures due to deferred
> allocation, then leaving holes in the file is a bad idea.

That is a fantastic point.

Thanks!

Stephen
В списке pgsql-hackers по дате отправления
От: Robert Haas
Дата:
От: Tom Lane
Дата:
FAQ