Skip site navigation (1) Skip section navigation (2)

pgsql: Add buffer access counters to pg_stat_statements.

From: itagaki(at)postgresql(dot)org (Takahiro Itagaki)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add buffer access counters to pg_stat_statements.
Date: 2010-01-08 00:38:20
Message-ID: 20100108003820.262367541B9@cvs.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Add buffer access counters to pg_stat_statements.

This uses the same infrastructure with EXPLAIN BUFFERS to support
{shared|local}_blks_{hit|read|written} andtemp_blks_{read|written}
columns in the pg_stat_statements view. The dumped file format
also updated.

Thanks to Robert Haas for the review.

Modified Files:
--------------
    pgsql/contrib/pg_stat_statements:
        pg_stat_statements.c (r1.11 -> r1.12)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/pg_stat_statements/pg_stat_statements.c?r1=1.11&r2=1.12)
        pg_stat_statements.sql.in (r1.1 -> r1.2)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/pg_stat_statements/pg_stat_statements.sql.in?r1=1.1&r2=1.2)
    pgsql/doc/src/sgml:
        pgstatstatements.sgml (r1.5 -> r1.6)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/pgstatstatements.sgml?r1=1.5&r2=1.6)

pgsql-committers by date

Next:From: Takahiro ItagakiDate: 2010-01-08 00:48:56
Subject: pgsql: pgBufferUsage needs PGDLLIMPORT for pg_stat_statements on
Previous:From: Tom LaneDate: 2010-01-07 21:12:38
Subject: Re: pgsql: Fix (some of the) breakage introduced into query-cancel

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group