Skip site navigation (1) Skip section navigation (2)

pg_upgrade test

From: Mario Splivalo <mario(dot)splivalo(at)megafon(dot)hr>
To: pgsql-testers(at)postgresql(dot)org
Subject: pg_upgrade test
Date: 2010-08-15 18:22:10
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-testers
[Release]: 9.0Beta4
[Test Type]: Feature test
[Test]: pg_upgrade
[Platform]: Ubuntu 10.04 64bit
[Parameters]: Default
[Failure]: No
[Results]: pg_upgrade successful

I run the test on the 6 GB cluster consisting of 6 databases.
The 'old style' test (pg_dumpall / pg_restore) took around 26 minutes.
Doing `pg_dump -Fc f` for each database, then recreating databases and 
users on new (9.0b4) cluster, and then pg_restoring databases took 15 
minutes. (Too bad one can't pg_dumpall -Fc).

Using pg_upgrade the migration took 5 minutes, including 'vacuumdb -aZ'.
Great tool!



pgsql-testers by date

Next:From: Bruce MomjianDate: 2010-08-15 18:36:04
Subject: Re: pg_upgrade test
Previous:From: Mario SplivaloDate: 2010-08-15 15:03:16
Subject: vacuum in pg9beta4 much slower than in 8.4

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group