Re: Tuning: WAL disk speed

From: Naomi Walker <nwalker(at)eldocomp(dot)com>
To: Jonathan Ellis <jbe(at)familyellis(dot)org>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Tuning: WAL disk speed
Date: 2003-08-26 19:53:21
Message-ID: 5.1.0.14.2.20030826124956.039a0a88@imap.eldocomp.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

At 03:47 PM 8/25/2003, Jonathan Ellis wrote:
>(Posted to General a while back but perhaps this is a more appropriate
>list since I got no responses. :)
>
>How can I tell if writing to the WAL is a bottleneck? In other words, how
>can I tell if upgrading the disk the WAL is on will improve performance?
>(I do have the WAL on its own disk.)

It depend on the OS. If on a unix-like system, you should look at sar's
for the disks. What also matter besides for separate spindles are separate
controllers (if you are large/lucky) enough to have more than one.

I'd start by throwing more memory to the buffers, to see if that
helps. Next, i'd look carefully and the SQL statements for inefficiencies.

>-Jonathan
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 4: Don't 'kill -9' the postmaster

-------------------------------------------------------------------------------------------------------------------------
Naomi Walker Chief Information Officer
Eldorado Computing, Inc.
nwalker(at)eldocomp(dot)com 602-604-3100
-------------------------------------------------------------------------------------------------------------------------
The secret of getting ahead is getting started. -Anonymous
-------------------------------------------------------------------------------------------------------------------------

-- CONFIDENTIALITY NOTICE --

This message is intended for the sole use of the individual and entity to whom it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended addressee, nor authorized to receive for the intended addressee, you are hereby notified that you may not use, copy, disclose or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email, and delete the message. Thank you.

Browse pgsql-admin by date

  From Date Subject
Next Message Andrew Sullivan 2003-08-26 21:02:18 Re: postgresql and replication
Previous Message Bruno Wolff III 2003-08-26 19:45:58 Re: How to force an Index ?