Re: Keeping temporary tables in shared buffers
От
Amit Kapila
Тема
Re: Keeping temporary tables in shared buffers
Дата
Msg-id
CAA4eK1LURVQOFaut=PsCmwxnH8LULGB=YgGMTRz+=Fey55t1Ow@mail.gmail.com
Ответ на
Re: Keeping temporary tables in shared buffers (Bruce Momjian)
Список
Дерево обсуждения
Keeping temporary tables in shared buffers Asim Praveen <apraveen@pivotal.io>
Re: Keeping temporary tables in shared buffers Tom Lane <tgl@sss.pgh.pa.us>
Re: Keeping temporary tables in shared buffers Asim Praveen <apraveen@pivotal.io>
Re: Keeping temporary tables in shared buffers Heikki Linnakangas <hlinnaka@iki.fi>
Re: Keeping temporary tables in shared buffers Andres Freund <andres@anarazel.de>
Re: Keeping temporary tables in shared buffers Ashwin Agrawal <aagrawal@pivotal.io>
Re: Keeping temporary tables in shared buffers Amit Kapila <amit.kapila16@gmail.com>
Re: Keeping temporary tables in shared buffers Robert Haas <robertmhaas@gmail.com>
Re: Keeping temporary tables in shared buffers Amit Kapila <amit.kapila16@gmail.com>
Re: Keeping temporary tables in shared buffers Asim Praveen <apraveen@pivotal.io>
Re: Keeping temporary tables in shared buffers Bruce Momjian <bruce@momjian.us>
Re: Keeping temporary tables in shared buffers Amit Kapila <amit.kapila16@gmail.com>
Re: Keeping temporary tables in shared buffers Bruce Momjian <bruce@momjian.us>
On Wed, Jun 20, 2018 at 8:47 PM, Bruce Momjian wrote: > On Sat, Jun 2, 2018 at 05:18:17PM -0400, Asim Praveen wrote: >> Hi Amit >> >> On Mon, May 28, 2018 at 4:25 AM, Amit Kapila wrote: >> > >> > This is one way, but I think there are other choices as well. We can >> > identify and flush all the dirty (local) buffers for the relation >> > being accessed parallelly. Now, once the parallel operation is >> > started, we won't allow performing any write operation on them. It >> >> We talked about this in person in Ottawa and it was great meeting you! >> To summarize, the above proposal to continue using local buffers for >> temp tables is a step forward, however, it enables only certain kinds >> of queries to be parallelized for temp tables. E.g. queries changing >> a temp table in any way cannot be parallelized due to the restriction >> of no writes during parallel operation. > > Should this be a TODO item? > +1. I think we have not hammered out the design completely, but if somebody is willing to put effort, it is not an unsolvable problem. AFAIU, this thread is about parallelizing queries that refer temp tables, however, it is not clear from the title of this thread. -- With Regards, Amit Kapila. EnterpriseDB: http://www.enterprisedb.com
В списке pgsql-hackers по дате отправления
От: Masahiko Sawada
Дата: