On Tue, Feb 26, 2019 at 6:46 PM Simon Riggs <si...@2ndquadrant.com> wrote: > > On Thu, 21 Feb 2019 at 15:38, Kuntal Ghosh <kuntalghosh.2...@gmail.com> wrote: > >> >> Thank you for the patch. It seems to me that while performing COPY >> FREEZE, if we've copied tuples in a previously emptied page > > > There won't be any previously emptied pages because of the pre-conditions > required for FREEZE. > Right, I missed that part. Thanks for pointing that out. But, this optimization is still possible for copying frozen tuples in a newly created page, right? If current backend allocates a new page, copies a bunch of frozen tuples in that page, it can set the PD_ALL_VISIBLE in the same operation.
-- Thanks & Regards, Kuntal Ghosh EnterpriseDB: http://www.enterprisedb.com