Jeff Davis <[EMAIL PROTECTED]> writes: > I agree that ss_report_loc() doesn't need to report on every call. If > there's any significant overhead I agree that it should report less > often. Do you think that the overhead is significant on such a simple > function?
One extra LWLock cycle per page processed definitely *is* a significant overhead ... can you say "context swap storm"? I'd think about doing it once every 100 or so pages. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 6: explain analyze is your friend