Postgres recovery time

From: "Piccarello, James (James)" <jpicc(at)avaya(dot)com>
To: <pgsql-performance(at)postgresql(dot)org>
Subject: Postgres recovery time
Date: 2005-11-14 15:34:42
Message-ID: 16F9BDD39536704DA7BFB3172BF191720355ED84@nj7460avexu2.global.avaya.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Does anyone know what factors affect the recovery time of postgres if it does not shutdown cleanly? With the same size database I've seen times from a few seconds to a few minutes. The longest time was 33 minutes. The 33 minutes was after a complete system crash and reboot so there are a lot of other things going on as well. 125 seconds was the longest time I could reproduce by just doing a kill -9 on postmaster.

Is it the size of the transaction log? The dead space in files?

I'm running postges 7.3.4 in Red Hat 8.0. Yes, yes I know it's crazy but for a variety of reasons upgrading is not currently feasible.

Jim

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Ron 2005-11-14 15:57:42 Re: 8.x index insert performance
Previous Message Kelly Burkhart 2005-11-14 14:43:30 Re: 8.x index insert performance