Re: WIP: Fast GiST index build
От
Heikki Linnakangas
Тема
Re: WIP: Fast GiST index build
Дата
Msg-id
4E1DA4CB.9020209@enterprisedb.com
Ответ на
Re: WIP: Fast GiST index build (Alexander Korotkov)
Список
Дерево обсуждения
WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: WIP: Fast GiST index build Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: WIP: Fast GiST index build Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Optimizing pg_trgm makesign() (was Re: WIP: Fast GiST index
build) Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Optimizing pg_trgm makesign() (was Re: WIP: Fast GiST index build) Tom Lane <tgl@sss.pgh.pa.us>
Re: Optimizing pg_trgm makesign() (was Re: WIP: Fast GiST index build) Tom Lane <tgl@sss.pgh.pa.us>
Re: Optimizing pg_trgm makesign() (was Re: WIP: Fast GiST
index build) Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Optimizing pg_trgm makesign() (was Re: WIP: Fast GiST index build) Tom Lane <tgl@sss.pgh.pa.us>
Re: Optimizing pg_trgm makesign() (was Re: WIP: Fast GiST
index build) Robert Haas <robertmhaas@gmail.com>
Re: Optimizing pg_trgm makesign() (was Re: WIP: Fast GiST
index build) Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Optimizing pg_trgm makesign() (was Re: WIP: Fast GiST
index build) Robert Haas <robertmhaas@gmail.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Optimizing box_penalty (Re: WIP: Fast GiST index build) Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: WIP: Fast GiST index build Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: WIP: Fast GiST index build Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Robert Haas <robertmhaas@gmail.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: WIP: Fast GiST index build Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: WIP: Fast GiST index build Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: WIP: Fast GiST index build Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: WIP: Fast GiST index build Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: WIP: Fast GiST index build Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: WIP: Fast GiST index build Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: WIP: Fast GiST index build Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: WIP: Fast GiST index build Robert Haas <robertmhaas@gmail.com>
Re: WIP: Fast GiST index build Oleg Bartunov <oleg@sai.msu.su>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Fast GiST index build - further improvements Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Fast GiST index build - further improvements Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Stefan Keller <sfkeller@gmail.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Stefan Keller <sfkeller@gmail.com>
Re: WIP: Fast GiST index build Robert Haas <robertmhaas@gmail.com>
Re: WIP: Fast GiST index build Stefan Keller <sfkeller@gmail.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: WIP: Fast GiST index build Robert Haas <robertmhaas@gmail.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Hot standby and GiST page splits (was Re: WIP: Fast GiST
index build) Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Hot standby and GiST page splits (was Re: WIP: Fast
GiST index build) Simon Riggs <simon@2ndQuadrant.com>
Re: Hot standby and GiST page splits (was Re: WIP: Fast
GiST index build) Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Hot standby and GiST page splits (was Re: WIP: Fast
GiST index build) Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Hot standby and GiST page splits (was Re: WIP: Fast
GiST index build) Simon Riggs <simon@2ndQuadrant.com>
Re: Hot standby and GiST page splits (was Re: WIP: Fast
GiST index build) Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Hot standby and GiST page splits (was Re: WIP: Fast
GiST index build) Simon Riggs <simon@2ndQuadrant.com>
Re: Hot standby and GiST page splits (was Re: WIP: Fast
GiST index build) Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Hot standby and GiST page splits (was Re: WIP: Fast
GiST index build) Simon Riggs <simon@2ndQuadrant.com>
Re: Hot standby and GiST page splits (was Re: WIP: Fast
GiST index build) Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Hot standby and GiST page splits (was Re: WIP: Fast
GiST index build) Simon Riggs <simon@2ndQuadrant.com>
Re: Hot standby and GiST page splits (was Re: WIP: Fast
GiST index build) Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Hot standby and GiST page splits (was Re: WIP: Fast
GiST index build) Simon Riggs <simon@2ndQuadrant.com>
Re: Hot standby and GiST page splits (was Re: WIP: Fast
GiST index build) Thom Brown <thom@linux.com>
Re: Hot standby and GiST page splits (was Re: WIP: Fast
GiST index build) Simon Riggs <simon@2ndQuadrant.com>
Re: Hot standby and GiST page splits (was Re: WIP: Fast
GiST index build) Thom Brown <thom@linux.com>
Re: Hot standby and GiST page splits (was Re: WIP: Fast
GiST index build) Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Jesper Krogh <jesper@krogh.cc>
Re: WIP: Fast GiST index build Alexander Korotkov <aekorotkov@gmail.com>
Re: WIP: Fast GiST index build Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
On 12.07.2011 11:34, Alexander Korotkov wrote: > New version of patch with a little more refactoring and comments. Great! The README helps tremendously to understand this, thanks for that. One thing that caught my eye is that when you empty a buffer, you load the entire subtree below that buffer, down to the next buffered or leaf level, into memory. Every page in that subtree is kept pinned. That is a problem; in the general case, the buffer manager can only hold a modest number of pages pinned at a time. Consider that the minimum value for shared_buffers is just 16. That's unrealistically low for any real system, but the default is only 32MB, which equals to just 4096 buffers. A subtree could easily be larger than that. I don't think you're benefiting at all from the buffering that BufFile does for you, since you're reading/writing a full block at a time anyway. You might as well use the file API in fd.c directly, ie. OpenTemporaryFile/FileRead/FileWrite. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com
В списке pgsql-hackers по дате отправления
От: Kevin Grittner
Дата: