pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tomas Vondra <tomas.vondra@2ndquadrant.com>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: Dmitry Dolgov <9erthalion6@gmail.com>
Cc: David Steele <david@pgmasters.net>
Cc: Andres Freund <andres@anarazel.de>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: WIP: WAL prefetch (another approach)
Date: Sat, 6 Jun 2020 00:34:22 +0200
Message-ID: <20200605223422.r76a5rpl2zg2xo34@development> (raw)
In-Reply-To: <CA+hUKG+obB-e_VFa2uPVe52DvtpBQtC30vyo_PDURJQTr3SdJQ@mail.gmail.com>
References: <CA+hUKGK8KyMSKjSdjfZ=OGu0H56osaB5qjK1kRPf9NUamqDxyg@mail.gmail.com>
	<CA+hUKGKGhsRHhHJ4ybftCOjRxErnJYj-yOVamQaAsNmUBx4Aqg@mail.gmail.com>
	<CA+hUKGK6F66K9MJkLPBXTAxH8TM2Ozs7-FTbqsmJaHYVUOLDVg@mail.gmail.com>
	<226b5950-7404-a51d-8dc7-53895b363a38@pgmasters.net>
	<CA+hUKG+AzDLtAo1R3kxLW0nKRYd9euiBhW92OW1OCjkRU2E1pQ@mail.gmail.com>
	<20200419114820.h62ryte7uwu46e2x@localhost>
	<CA+hUKGJ7_niJzcCHX5JWFo-05pLbzwukQfFgQi4-h46yZh=tqA@mail.gmail.com>
	<20200425191935.4p6qxzzu5bklodwk@localhost>
	<20200502151423.yf52i63u232fdfrg@localhost>
	<CA+hUKG+obB-e_VFa2uPVe52DvtpBQtC30vyo_PDURJQTr3SdJQ@mail.gmail.com>

Hi,

I wonder if we can collect some stats to measure how effective the
prefetching actually is. Ultimately we want something like cache hit
ratio, but we're only preloading into page cache, so we can't easily
measure that. Perhaps we could measure I/O timings in redo, though?


regards

-- 
Tomas Vondra                  http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services 





view thread (174+ messages)  latest in thread

Message-ID: <20200605223422.r76a5rpl2zg2xo34@development>
Permalink:  ../20200605223422.r76a5rpl2zg2xo34@development/
Also on:    postgresql.org/message-id/20200605223422.r76a5rpl2zg2xo34@development

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: tomas.vondra@2ndquadrant.com, thomas.munro@gmail.com, 9erthalion6@gmail.com, david@pgmasters.net, andres@anarazel.de, alvherre@2ndquadrant.com
  Subject: Re: WIP: WAL prefetch (another approach)
  In-Reply-To: <20200605223422.r76a5rpl2zg2xo34@development>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox