Re: Is Diskeeper Automatic Mode safe?

From: Robert Schnabel <schnabelr(at)missouri(dot)edu>
To: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, cb <cb(at)mythtech(dot)net>, "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Is Diskeeper Automatic Mode safe?
Date: 2009-11-16 20:32:51
Message-ID: 4B01B6F3.6090100@missouri.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
Scott Marlowe wrote:
<blockquote
cite="mid:dcc563d10911161212w3ac11a05l39b32a6d7b691fb9(at)mail(dot)gmail(dot)com"
type="cite">
<pre wrap="">On Mon, Nov 16, 2009 at 1:04 PM, Robert Schnabel <a class="moz-txt-link-rfc2396E" href="mailto:schnabelr(at)missouri(dot)edu">&lt;schnabelr(at)missouri(dot)edu&gt;</a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">&nbsp;So the short answer is yes, I have it running with
PostgreSQL and have not had any problems.

Have you unplugged the power cord a few times in the middle of heavy
write activity?

...Robert

Nope.&nbsp; Forgive my ignorance but isn't that what a UPS is for anyway?&nbsp; Along
with a BBU controller.
</pre>
</blockquote>
<pre wrap=""><!---->
BBU controller, yes. UPS, no. I've seen more than one multi-million
dollar hosting center go down from something as simple as a piece of
wire flying into a power conditioner, shorting it out, and feeding
back and blowing every single power conditioner and UPS AND the switch
that allowed the diesel to come into the loop. All failed. Every
machine lost power. One database server out of a few dozens came back
up. In fact there were a lot of different dbm systems running in that
center, and only the pg 7.2 version came back up unscathed.

Because someone insisted on pulling the plug out from the back a dozen
or so times to make sure it would do come back up. PG saved our
shorts and the asses they contain. Sad thing is I'm sure the other
servers COULD have come back up if they had been running proper BBUs
and hard drives that didn't lie about fsync, and an OS that enforced
fsync properly, at least for scsi, at the time.

Power supplies / UPSes fail far more often than one might think. And
a db that doesn't come back up afterwards is not to be placed into
production.
</pre>
</blockquote>
Ok, so you have sufficiently sparked my curiosity as to whether
Diskeeper will in any way cause Postgres to fail the power chord test.&nbsp;
Unfortunately I have some deadlines to meet so won't be able to test
this out until later in the week.&nbsp; I'm in the fortunate position that
the only person that uses my db is me myself and I so I can control
what and when it does work.&nbsp; I also have backup software running that
does complete drive imaging so I should be able to do this fairly
safely.&nbsp; Here is the plan...<br>
<br>
1) Shut down the Diskeeper service, run a query that is write heavy and
then pull the chord on the box.&nbsp; Wait a few minutes then plug it back
in and see if it recovers.<br>
2) Leave Diskeeper running and repeat the above...<br>
<br>
Comments/suggestions?&nbsp; If I'm going to do this I'd like to make sure I
do it correctly so it will be useful for the group.<br>
<br>
I'm using XP 64 bit, Adaptec 52445 + BBU, I have two external drive
enclosures (8 each) plus the 8 in the box, pg 8.4.0<br>
<br>
Bob<br>
<br>
<br>
<br>
</body>
</html>

Attachment Content-Type Size
unknown_filename text/html 3.0 KB

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Eddy Escardo-Raffo 2009-11-16 20:45:46 Re: Unexpected sequential scan on an indexed column
Previous Message Karl Denninger 2009-11-16 20:32:32 Re: Is Diskeeper Automatic Mode safe?