pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dave Dutcher <dave@tridecap.com>
To: 'Gábor Farkas' <gabor@nekomancer.net>
Cc: pgsql-performance@postgresql.org
Subject: Re: select count(*) performance (vacuum did not help)
Date: Mon, 24 Sep 2007 10:37:42 -0500
Message-ID: <02d201c7fec0$d95a2cd0$cb00a8c0@tridecap.com> (raw)
In-Reply-To: <46F7D453.4050908@nekomancer.net>
References: <46F7C494.1050604@nekomancer.net>
	<46F7C9F1.1080805@enterprisedb.com>
	<46F7D207.3000901@nekomancer.net>
	<46F7D2C7.70105@enterprisedb.com>
	<46F7D453.4050908@nekomancer.net>

> -----Original Message-----
> From: Gábor Farkas
> 
> 
> i see.
> 
> will i achieve the same thing by simply dropping that table 
> and re-creating it?

Yes.  Or even easier (if you don't need the data anymore) you can use the
truncate command.  Which deletes everything in the table including dead
rows.

Dave




view thread (9+ messages)

Message-ID: <02d201c7fec0$d95a2cd0$cb00a8c0@tridecap.com>
Permalink:  ../02d201c7fec0$d95a2cd0$cb00a8c0@tridecap.com/
Also on:    postgresql.org/message-id/02d201c7fec0$d95a2cd0$cb00a8c0@tridecap.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: dave@tridecap.com, gabor@nekomancer.net
  Subject: Re: select count(*) performance (vacuum did not help)
  In-Reply-To: <02d201c7fec0$d95a2cd0$cb00a8c0@tridecap.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