O'Reilly logo

PostgreSQL 9 Administration Cookbook by Hannu Krosing, Simon Riggs

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Major upgrades online using replication tools

Upgrading between major releases is hard, and should be deferred until you have some good reasons and sufficient time to get it right.

You can use replication tools to minimize the downtime required for an upgrade, so we refer to the following recipe as online upgrade.

How to do it...

The following general points should be followed, allowing at least a month for the complete process to ensure that everything is tested, and everybody understands the implications:

  • Set up a new release of software on a new system
  • Take a standalone backup from main system, and build a test server. Test applications extensively against the new release on the test system. When everything works and performs correctly, then:
    • Set ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required