Re: Clock sweep not caching enough B-Tree leaf pages?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Geoghegan <pg(at)heroku(dot)com>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Andres Freund <andres(at)2ndquadrant(dot)com>, Merlin Moncure <mmoncure(at)gmail(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Clock sweep not caching enough B-Tree leaf pages?
Date: 2014-04-16 23:29:00
Message-ID: 18291.1397690940@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Geoghegan <pg(at)heroku(dot)com> writes:
> My immediate concern here is getting recognition of the importance of
> weighing frequency of access in *some* way.

That's a completely content-free statement; certainly the existing
clock-sweep code is sensitive to frequency of access, as would be
any other algorithm we'd be likely to adopt. It may well be that
we can do better than what we've got, but sweeping generalities
are unlikely to help us much.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2014-04-16 23:33:52 Re: slow startup due to LWLockAssign() spinlock
Previous Message Bruce Momjian 2014-04-16 23:24:40 Re: [COMMITTERS] pgsql: Include planning time in EXPLAIN ANALYZE output.