| От | Amit Langote |
|---|---|
| Тема | Re: Parallel Seq Scan |
| Дата | |
| Msg-id | 55026D14.2090604@lab.ntt.co.jp обсуждение исходный текст |
| Ответ на | Re: Parallel Seq Scan (Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>) |
| Список | pgsql-hackers |
On 13-03-2015 PM 01:37, Amit Langote wrote: > By the way, is it right that TupleQueueFunnel.queue has one shm_mq_handle per > initialized parallel worker? If so, how does TupleQueueFunnel.maxqueues relate > to ParallelContext.nworkers (of the corresponding parallel context)? > > Why I asked this is because in CreateTupleQueueFunnel(): > > funnel->maxqueues = 8; > funnel->queue = palloc(funnel->maxqueues * sizeof(shm_mq_handle *)); > > So, is the hardcoded "8" intentional or an oversight? > Oh, I see that in RegisterTupleQueueOnFunnel(), the TupleQueueFunnel.queue is expanded (repalloc'd) if needed as per corresponding pcxt->nworkers. Thanks, Amit
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера