pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Enrico Weigelt <weigelt@metux.de>
To: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Some Tip: take care to run routine vacuum as superuser ...
Date: Sun, 3 Jul 2005 23:23:09 +0200
Message-ID: <20050703212309.GA13288@nibiru.borg.metux.de> (raw)


Hi folks,


here's some new tip for the maillist footers:

    "if vacuum (from some scripts) doesnt seem to work, have a 
    look at the logfile - you're probably using the wrong login"

I just had to learn that's a nice pitfall, if you're trying to do 
routine vacuum from some php scripts and logging in as someone who's 
not the table owner ... I wondered why the db doesnt get faster, but 
when vacuum'ing manually or from pgadmin, I had a gread speedup. 
Enabling verbose query logging showed up the problem. 

... yeah, yeah, ashes on my head ...  I'm not getting younger ... ;-)


cu
-- 
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT service
  phone:     +49 36207 519931         www:       http://www.metux.de/
  fax:       +49 36207 519932         email:     contact@metux.de
---------------------------------------------------------------------
  Realtime Forex/Stock Exchange trading powered by postgresSQL :))
                                            http://www.fxignal.net/
---------------------------------------------------------------------



Message-ID: <20050703212309.GA13288@nibiru.borg.metux.de>
Permalink:  ../20050703212309.GA13288@nibiru.borg.metux.de/
Also on:    postgresql.org/message-id/20050703212309.GA13288@nibiru.borg.metux.de

 · 

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: weigelt@metux.de
  Subject: Re: Some Tip: take care to run routine vacuum as superuser ...
  In-Reply-To: <20050703212309.GA13288@nibiru.borg.metux.de>
  References: <20050703212309.GA13288@nibiru.borg.metux.de>

* 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