pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Benjamin Krajmalnik <kraj@illumen.com>
To: postgres <pgsql-admin@postgresql.org>
Subject: Table truncate question
Date: Wed, 14 Jun 2006 10:34:32 -0600
Message-ID: <BF337097BDD9D849A2F4B818DDB27987029336@stash.stackdump.local> (raw)

I recently truncated a partitioned table.

When I look at the statistics for the table, it shows tuples inserted as
zero (which I would expect), but it did not clear the value for tuples
updated and tuples deleted.

Is this the expected behavior?  I would assume that the updated/deleted
stats should also get cleared.

 

I am running PG 8.1.4 on Windows.

 

view thread (2+ messages)  latest in thread

Message-ID: <BF337097BDD9D849A2F4B818DDB27987029336@stash.stackdump.local>
Permalink:  ../BF337097BDD9D849A2F4B818DDB27987029336@stash.stackdump.local/
Also on:    postgresql.org/message-id/BF337097BDD9D849A2F4B818DDB27987029336@stash.stackdump.local

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: kraj@illumen.com
  Subject: Re: Table truncate question
  In-Reply-To: <BF337097BDD9D849A2F4B818DDB27987029336@stash.stackdump.local>
  References: <BF337097BDD9D849A2F4B818DDB27987029336@stash.stackdump.local>

* 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