Re: performance enhancements for PostgreSQL

From: Doug McNaught <doug(at)mcnaught(dot)org>
To: "Johnson, Shaunn" <SJohnson6(at)bcbsm(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: performance enhancements for PostgreSQL
Date: 2002-11-18 19:28:38
Message-ID: m3adk6n0d5.fsf@varsoon.wireboard.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Johnson, Shaunn" <SJohnson6(at)bcbsm(dot)com> writes:

> 2, channel 2, id 0, lun 1 Write (10) 20 11 d2 77 67 00 00 40 00
> Nov 18 12:33:53 hmp kernel: scsi : aborting command due to timeout : pid 0,
> scsi
>
> [/snip error]
>
>
> my questions are:
>
> * have can I figure out how access to the metadata tables
> are being stopped? (my guess is the error on the scsi drive, but ... )

Good guess.

> * how to restart PostgreSQL without running the risk of corrupting data?

If you're getting hardware errors you may have to kill it hard, or
just reboot. WAL should keep you from losing much data.

> * what are the benefits to adding a 2nd CPU over, say, more memory?

I wouldn't worry about either one before you FIX YOUR DISK DRIVE!

If one of your drives is timing out on writes, that's going to slow the
whole thing down tremendously. Check cabling and termination first.

-Dpiug

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Medi Montaseri 2002-11-18 19:40:46 Re: pfree() core dump in 7.2.3
Previous Message Bruce Momjian 2002-11-18 19:23:01 Re: [GENERAL] DECLARE CURSOR