Re: Proposed Patch to Improve Performance of Multi-Batch Hash Join for Skewed Data Sets
От
Joshua Tolley
Тема
Re: Proposed Patch to Improve Performance of Multi-Batch Hash Join for Skewed Data Sets
Дата
Msg-id
e7e0a2570811061522g63a06fa8o4f02972a607840eb@mail.gmail.com
Ответ на
Re: Proposed Patch to Improve Performance of Multi-Batch
Hash Join for Skewed Data Sets (Simon Riggs)
Список
Дерево обсуждения
Proposed Patch to Improve Performance of Multi-Batch Hash Join for Skewed Data Sets "Lawrence, Ramon" <ramon.lawrence@ubc.ca>
Re: Proposed Patch to Improve Performance of Multi-Batch
Hash Join for Skewed Data Sets Joshua Tolley <eggyknap@gmail.com>
Re: Proposed Patch to Improve Performance of Multi-Batch
Hash Join for Skewed Data Sets Joshua Tolley <eggyknap@gmail.com>
Re: Proposed Patch to Improve Performance of Multi-Batch Hash Join for Skewed Data Sets Tom Lane <tgl@sss.pgh.pa.us>
Re: Proposed Patch to Improve Performance of Multi-Batch Hash Join for Skewed Data Sets "Joshua Tolley" <eggyknap@gmail.com>
Re: Proposed Patch to Improve Performance of Multi-Batch Hash Join for Skewed Data Sets "Bryce Cutt" <pandasuit@gmail.com>
Re: Proposed Patch to Improve Performance of Multi-Batch
Hash Join for Skewed Data Sets Joshua Tolley <eggyknap@gmail.com>
Re: Proposed Patch to Improve Performance of Multi-Batch
Hash Join for Skewed Data Sets Joshua Tolley <eggyknap@gmail.com>
Re: Proposed Patch to Improve Performance of Multi-Batch Hash Join for Skewed Data Sets "Joshua Tolley" <eggyknap@gmail.com>
Re: Proposed Patch to Improve Performance of Multi-Batch
Hash Join for Skewed Data Sets Simon Riggs <simon@2ndQuadrant.com>
Re: Proposed Patch to Improve Performance of Multi-Batch Hash Join for Skewed Data Sets "Joshua Tolley" <eggyknap@gmail.com>
Re: Proposed Patch to Improve Performance of Multi-Batch Hash Join for Skewed Data Sets "Lawrence, Ramon" <ramon.lawrence@ubc.ca>
Re: Proposed Patch to Improve Performance of Multi-Batch Hash Join for Skewed Data Sets "Joshua Tolley" <eggyknap@gmail.com>
Re: Proposed Patch to Improve Performance of Multi-Batch Hash Join for Skewed Data Sets Tom Lane <tgl@sss.pgh.pa.us>
Re: Proposed Patch to Improve Performance of Multi-Batch Hash Join for Skewed Data Sets "Lawrence, Ramon" <ramon.lawrence@ubc.ca>
Re: Proposed Patch to Improve Performance of Multi-Batch Hash Join for Skewed Data Sets "Robert Haas" <robertmhaas@gmail.com>
Re: Proposed Patch to Improve Performance of Multi-Batch Hash Join for Skewed Data Sets "Bryce Cutt" <pandasuit@gmail.com>
Re: Proposed Patch to Improve Performance of Multi-Batch Hash Join for Skewed Data Sets "Robert Haas" <robertmhaas@gmail.com>
Re: Proposed Patch to Improve Performance of Multi-Batch Hash Join for Skewed Data Sets Joshua Tolley <eggyknap@gmail.com>
Re: Proposed Patch to Improve Performance of Multi-Batch Hash Join for Skewed Data Sets "Bryce Cutt" <pandasuit@gmail.com>
Re: Proposed Patch to Improve Performance of Multi-Batch Hash Join for Skewed Data Sets "Robert Haas" <robertmhaas@gmail.com>
Re: Proposed Patch to Improve Performance of Multi-Batch
Hash Join for Skewed Data Sets Joshua Tolley <eggyknap@gmail.com>
Re: Proposed Patch to Improve Performance of Multi-Batch Hash Join for Skewed Data Sets "Robert Haas" <robertmhaas@gmail.com>
Re: Proposed Patch to Improve Performance of Multi-Batch
Hash Join for Skewed Data Sets Joshua Tolley <eggyknap@gmail.com>
Re: Proposed Patch to Improve Performance of Multi-Batch Hash Join for Skewed Data Sets "Robert Haas" <robertmhaas@gmail.com>
Re: Proposed Patch to Improve Performance of Multi-Batch Hash Join for Skewed Data Sets "Joshua Tolley" <eggyknap@gmail.com>
Re: Proposed Patch to Improve Performance of Multi-Batch Hash Join for Skewed Data Sets "Lawrence, Ramon" <ramon.lawrence@ubc.ca>
Re: Proposed Patch to Improve Performance of Multi-Batch Hash Join for Skewed Data Sets Tom Lane <tgl@sss.pgh.pa.us>
Re: Proposed Patch to Improve Performance of Multi-Batch Hash Join for Skewed Data Sets "Lawrence, Ramon" <ramon.lawrence@ubc.ca>
Re: Proposed Patch to Improve Performance of Multi-Batch Hash Join for Skewed Data Sets "Joshua Tolley" <eggyknap@gmail.com>
On Thu, Nov 6, 2008 at 3:52 PM, Simon Riggs wrote: > > On Thu, 2008-11-06 at 15:33 -0700, Joshua Tolley wrote: > >> Stay tuned. > > Minor question on this patch. AFAICS there is another patch that seems > to be aiming at exactly the same use case. Jonah's Bloom filter patch. > > Shouldn't we have a dust off to see which one is best? Or at least a > discussion to test whether they overlap? Perhaps you already did that > and I missed it because I'm not very tuned in on this thread. > > -- > Simon Riggs www.2ndQuadrant.com > PostgreSQL Training, Services and Support We haven't had that discussion AFAIK, and definitely should. First glance suggests they could coexist peacefully, with proper coaxing. If I understand things properly, Jonah's patch filters tuples early in the join process, and this patch tries to ensure that hash join batches are kept in RAM when they're most likely to be used. So they're orthogonal in purpose, and the patches actually apply *almost* cleanly together. Jonah, any comments? If I continue to have some time to devote, and get through all I think I can do to review this patch, I'll gladly look at Jonah's too, FWIW. - Josh
В списке pgsql-hackers по дате отправления
От: Simon Riggs
Дата: