Re: Bloated pg_shdepend_depender_index

From: Rafael Martinez <r(dot)m(dot)guerrero(at)usit(dot)uio(dot)no>
To: andy(dot)shellam(at)mailnetwork(dot)co(dot)uk
Cc: "'Jim C(dot) Nasby'" <jnasby(at)pervasive(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: Bloated pg_shdepend_depender_index
Date: 2006-03-29 16:56:56
Message-ID: 1143651416.18329.66.camel@linux.site
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Wed, 2006-03-29 at 13:16 +0100, Andy Shellam wrote:
> This is true, but you could run the new version on the same server/different
> port to the current version, and do a simultaneous dump/restore without
> having to use extra disk space, or taking your production database offline -
> then you can schedule a time to kill the old one, re-assign the port on the
> new one and bring it up - would take about 30 seconds, and this could be
> done at a time when traffic was at its lowest.

Running the new version on another port in the samme server does not
help much. You have to initialize the new version to use new data
partitions (so you need the double of the disk space you have in
production.

Another minus is that this works only in a 'read only' database, all the
updates from you start the dump/restore process until you
kill/re-assign/start again won't be in the new version (and this can be
a lot of data in a busy/large system)

--
Rafael Martinez, <r(dot)m(dot)guerrero(at)usit(dot)uio(dot)no>
Center for Information Technology Services
University of Oslo, Norway

PGP Public Key: http://folk.uio.no/rafael/

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Rafael Martinez 2006-03-29 17:19:10 Re: Bloated pg_shdepend_depender_index
Previous Message Rajesh Kumar Mallah 2006-03-29 16:02:47 Re: postgres and persistant connections (using Apache::DBI)