Re: Upgrading PostgreSQL from v8.4.14 to v9.3.5

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: Ashish Yadav <ashish(dot)yadav(at)firemon(dot)com>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Upgrading PostgreSQL from v8.4.14 to v9.3.5
Date: 2014-08-20 15:15:57
Message-ID: CAOR=d=3DzCzLF2Pbt_4Pso0nZrOivrM=FwXK5Wk0N-1UmdctqQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Mon, Aug 18, 2014 at 3:16 PM, Ashish Yadav <ashish(dot)yadav(at)firemon(dot)com> wrote:
> Hi,
>
> I am currently running a stand alone PostgreSQL v8.4.14 on a Linux CentOS
> server and need to perform an upgrade.
> Can I upgrade to the latest PostgreSQL v9.3.5 or do I need to perform an
> intermediate upgrade?
>
> Current:
> psql (PostgreSQL) 8.4.14
>
> java version "1.6.0_37"
> Java(TM) SE Runtime Environment (build 1.6.0_37-b06)
> Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01, mixed mode)
>

How important is uninterrupted uptime to you? If no big deal, then as
mentioned by another poster, upgrde ti 8.4.latest, then after taking a
backup install 9.3.latest and use pg_upgrade from 9.3 to get there.

Other possibilites are to take a backup with 9.3 and then restore with
that. Use slony to replicate from 8.4 to 9.3 so that both are live and
switchover time is minimized.

--
To understand recursion, one must first understand recursion.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Craig James 2014-08-20 18:23:41 pg_basebackup man-page confusion?
Previous Message Raghu Ram 2014-08-20 03:34:37 Re: Upgrading PostgreSQL from v8.4.14 to v9.3.5