pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Bloat issue on 8.3; autovac ignores HOT page splits?
Date: Tue, 25 Jan 2011 10:28:14 -0800
Message-ID: <4D3F163E.100@agliodbs.com> (raw)
In-Reply-To: <AANLkTi=n6RCz_RSGhY4+AG6CbYWjLbKX6ohEvHoKNE+N@mail.gmail.com>
References: <4D3E34C8.9040209@agliodbs.com>
	<AANLkTi=n6RCz_RSGhY4+AG6CbYWjLbKX6ohEvHoKNE+N@mail.gmail.com>


> Can we see those stats again with n_tup_ins/upd/del?

Sure:

-[ RECORD 2 ]----------+------------------------------
schemaname             | public
relname                | general_info
n_dead_tup             | 12
n_live_tup             | 1
n_tup_upd              | 8817
n_tup_del              | 0
n_tup_ins              | 0
n_tup_hot_upd          | 8817
pg_relation_size       | 155648
pg_total_relation_size | 172032
-[ RECORD 4 ]----------+------------------------------
schemaname             | public
relname                | current_info
n_dead_tup             | 27
n_live_tup             | 1
n_tup_upd              | 3296
n_tup_del              | 0
n_tup_ins              | 0
n_tup_hot_upd          | 3296
pg_relation_size       | 385024
pg_total_relation_size | 409600

One question: in 8.3 and earlier, is the FSM used to track dead_rows for
pg_stat_user_tables?

-- 
                                  -- Josh Berkus
                                     PostgreSQL Experts Inc.
                                     http://www.pgexperts.com



view thread (4+ messages)  latest in thread

Message-ID: <4D3F163E.100@agliodbs.com>
Permalink:  ../4D3F163E.100@agliodbs.com/
Also on:    postgresql.org/message-id/4D3F163E.100@agliodbs.com

 · 

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-performance@postgresql.org
  Cc: josh@agliodbs.com, robertmhaas@gmail.com
  Subject: Re: Bloat issue on 8.3; autovac ignores HOT page splits?
  In-Reply-To: <4D3F163E.100@agliodbs.com>

* 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