Обсуждение: Upgrading PostgreSQL from v8.4.14 to v9.3.5

Поиск
Список
Период
Сортировка

Upgrading PostgreSQL from v8.4.14 to v9.3.5

От
Ashish Yadav
Дата:
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)

Linux 2.6.18-371.4.1.el5 x86_64



Thanks,

Ashish.

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

От
Raghu Ram
Дата:

On Tue, Aug 19, 2014 at 2:46 AM, Ashish Yadav <ashish.yadav@firemon.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)

Linux 2.6.18-371.4.1.el5 x86_64


  
Apply database minor versions from PostgreSQL 8.4.14 to 8.4.22 and then up-grade database version from PostgreSQL 8.4.22 to PostgreSQL 9.3.5.

Thanks & Regards
Raghu Ram
 

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

От
Scott Marlowe
Дата:
On Mon, Aug 18, 2014 at 3:16 PM, Ashish Yadav <ashish.yadav@firemon.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.