Re: [HACKERS] Page Scan Mode in Hash Index
От
Ashutosh Sharma
Тема
Re: [HACKERS] Page Scan Mode in Hash Index
Дата
Msg-id
CAE9k0Pk527fRc2OXZNeim9f10vRAhRG3H7RPXmuKdt3omLHGxQ@mail.gmail.com
Ответ на
Re: [HACKERS] Page Scan Mode in Hash Index (Jesper Pedersen)
Список
Дерево обсуждения
[HACKERS] Page Scan Mode in Hash Index Ashutosh Sharma <ashu.coek88@gmail.com>
Re: [HACKERS] Page Scan Mode in Hash Index Jesper Pedersen <jesper.pedersen@redhat.com>
Re: [HACKERS] Page Scan Mode in Hash Index Ashutosh Sharma <ashu.coek88@gmail.com>
Re: [HACKERS] Page Scan Mode in Hash Index Jesper Pedersen <jesper.pedersen@redhat.com>
Re: [HACKERS] Page Scan Mode in Hash Index Ashutosh Sharma <ashu.coek88@gmail.com>
Re: [HACKERS] Page Scan Mode in Hash Index Jesper Pedersen <jesper.pedersen@redhat.com>
Re: [HACKERS] Page Scan Mode in Hash Index Ashutosh Sharma <ashu.coek88@gmail.com>
Re: Page Scan Mode in Hash Index Robert Haas <robertmhaas@gmail.com>
Re: Page Scan Mode in Hash Index Ashutosh Sharma <ashu.coek88@gmail.com>
Re: Page Scan Mode in Hash Index Jesper Pedersen <jesper.pedersen@redhat.com>
Re: Page Scan Mode in Hash Index Ashutosh Sharma <ashu.coek88@gmail.com>
Re: Page Scan Mode in Hash Index Jesper Pedersen <jesper.pedersen@redhat.com>
Re: Page Scan Mode in Hash Index Ashutosh Sharma <ashu.coek88@gmail.com>
Re: Page Scan Mode in Hash Index Amit Kapila <amit.kapila16@gmail.com>
Re: Page Scan Mode in Hash Index Ashutosh Sharma <ashu.coek88@gmail.com>
Re: Page Scan Mode in Hash Index Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] Page Scan Mode in Hash Index Ashutosh Sharma <ashu.coek88@gmail.com>
Re: [HACKERS] Page Scan Mode in Hash Index Ashutosh Sharma <ashu.coek88@gmail.com>
Re: [HACKERS] Page Scan Mode in Hash Index Ashutosh Sharma <ashu.coek88@gmail.com>
Re: [HACKERS] Page Scan Mode in Hash Index Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] Page Scan Mode in Hash Index Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Page Scan Mode in Hash Index Ashutosh Sharma <ashu.coek88@gmail.com>
Re: [HACKERS] Page Scan Mode in Hash Index Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] Page Scan Mode in Hash Index Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] Page Scan Mode in Hash Index Ashutosh Sharma <ashu.coek88@gmail.com>
Re: [HACKERS] Page Scan Mode in Hash Index Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] Page Scan Mode in Hash Index Ashutosh Sharma <ashu.coek88@gmail.com>
Re: [HACKERS] Page Scan Mode in Hash Index Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] Page Scan Mode in Hash Index Ashutosh Sharma <ashu.coek88@gmail.com>
Re: [HACKERS] Page Scan Mode in Hash Index Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] Page Scan Mode in Hash Index Jesper Pedersen <jesper.pedersen@redhat.com>
Re: [HACKERS] Page Scan Mode in Hash Index Ashutosh Sharma <ashu.coek88@gmail.com>
Re: [HACKERS] Page Scan Mode in Hash Index Jesper Pedersen <jesper.pedersen@redhat.com>
Re: [HACKERS] Page Scan Mode in Hash Index Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Page Scan Mode in Hash Index Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] Page Scan Mode in Hash Index Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Page Scan Mode in Hash Index Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] Page Scan Mode in Hash Index Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Page Scan Mode in Hash Index Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] Page Scan Mode in Hash Index Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Page Scan Mode in Hash Index Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] Page Scan Mode in Hash Index Ashutosh Sharma <ashu.coek88@gmail.com>
Re: [HACKERS] Page Scan Mode in Hash Index Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Page Scan Mode in Hash Index Ashutosh Sharma <ashu.coek88@gmail.com>
Re: [HACKERS] Page Scan Mode in Hash Index Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Page Scan Mode in Hash Index Ashutosh Sharma <ashu.coek88@gmail.com>
Re: [HACKERS] Page Scan Mode in Hash Index Ashutosh Sharma <ashu.coek88@gmail.com>
Re: [HACKERS] Page Scan Mode in Hash Index Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Page Scan Mode in Hash Index Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] Page Scan Mode in Hash Index Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Page Scan Mode in Hash Index Ashutosh Sharma <ashu.coek88@gmail.com>
Re: [HACKERS] Page Scan Mode in Hash Index Ashutosh Sharma <ashu.coek88@gmail.com>
Re: Page Scan Mode in Hash Index Amit Kapila <amit.kapila16@gmail.com>
Re: Page Scan Mode in Hash Index Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Page Scan Mode in Hash Index Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: [HACKERS] Page Scan Mode in Hash Index Ashutosh Sharma <ashu.coek88@gmail.com>
Re: [HACKERS] Page Scan Mode in Hash Index Ashutosh Sharma <ashu.coek88@gmail.com>
On Wed, Aug 23, 2017 at 7:39 PM, Jesper Pedersen wrote: > On 08/23/2017 07:38 AM, Amit Kapila wrote: >> >> Thanks for the new version. I again looked at the patches and fixed >> quite a few comments in the code and ReadMe. You have forgotten to >> update README for the changes in vacuum patch >> (0003-Improve-locking-startegy-during-VACUUM-in-Hash-Index_v7). I >> don't have anything more to add. If you are okay with changes, then >> we can move it to Ready For Committer unless someone else has some >> more comments. >> > > Just some minor comments. Thanks for the review. > > README: > + it's pin till the end of scan) > > its pin till the end of the scan) Corrected. > > +To minimize lock/unlock traffic, hash index scan always searches entire > hash > > To minimize lock/unlock traffic, hash index scan always searches the entire > hash Done. > > hashsearch.c: > > +static inline void _hash_saveitem(HashScanOpaque so, int itemIndex, > + OffsetNumber offnum, IndexTuple itup); > > There are other instances of "inline" in the code base, so I guess that this > is ok. > > + * Advance to next tuple on current page; or if there's no more, try > to > > Advance to the next tuple on the current page; or if done, try to > Done. Attached are the patches with above changes. -- With Regards, Ashutosh Sharma EnterpriseDB:http://www.enterprisedb.com -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
В списке pgsql-hackers по дате отправления
От: Michael Paquier
Дата: