Re: How to estimate the shared memory size required for parallel scan?

2018-08-18 Thread Masayuki Takahashi
(Sorry, once I sent to Thomas only. This is re-post.) Hi Thomas, Thanks you for excellent explaining about shared memory in parallel scan and 'foreign path'. Those are points that I want to know. thanks. > If you just supply an IsForeignScanParallelSafe function that returns > true, that would a

Re: How to estimate the shared memory size required for parallel scan?

2018-08-18 Thread Masayuki Takahashi
core in parallel scan, does it not need to allocate DSM? thanks. 2018年8月17日(金) 9:28 Thomas Munro : > > On Thu, Aug 16, 2018 at 11:36 PM, Masayuki Takahashi > wrote: > > I am trying to change cstore_fdw to scan in parallel. FDW interface provide > > 'EstimateDSMForeignSca

How to estimate the shared memory size required for parallel scan?

2018-08-16 Thread Masayuki Takahashi
Hi, I am trying to change cstore_fdw to scan in parallel. FDW interface provide 'EstimateDSMForeignScan' for required shared memory size to scan in parallel. How to estimate the shared memory size required for parallel scan? thanks. -- Masayuki Takahashi