Optimization for lazy_scan_heap - Mailing list pgsql-hackers

From Masahiko Sawada
Subject Optimization for lazy_scan_heap
Date
Msg-id CAD21AoD1MEqz9-biWkfvErQ_S7meGqHSUoA6CfuDF93ik4SZrQ@mail.gmail.com
Whole thread Raw
Responses Re: Optimization for lazy_scan_heap
Re: Optimization for lazy_scan_heap
List pgsql-hackers
Hi all,

While reviewing freeze map code, Andres pointed out[1] that
lazy_scan_heap could accesses visibility map twice and its logic is
seems a bit tricky.
As discussed before, it's not nice especially when large relation is
entirely frozen.

I posted the patch for that before but since this is an optimization,
not bug fix, I'd like to propose it again.
Please give me feedback.

[1] https://www.postgresql.org/message-id/20160505000840.epatoq6d2e556446%40alap3.anarazel.de

Regards,

--
Masahiko Sawada

Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: max_parallel_degree > 0 for 9.6 beta
Next
From: Michael Paquier
Date:
Subject: Re: Tracking wait event for latches