Improving performance of backup/recovery

Performance is often a concern in any medium or large database.

Backup performance is often a delicate issue, because resource usage may need to be limited to within certain boundaries. There may also be a restriction on the maximum runtime for the backup, for example, if the backup runs every Sunday.

Again, restore performance may be more important than backup performance, even if backup is the more obvious concern.

Getting ready

If performance is a concern or is likely to be, then you should read the Planning backups recipe first.

How to do it…

Backup and restore performance can be improved in different ways, depending on the backup type:

  • Physical backup: Improving the performance of a physical backup can be ...

Get PostgreSQL 9 Administration Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.