Skip site navigation (1) Skip section navigation (2)

Re: random_page_costs - are defaults of 4.0 realistic for SCSI RAID 1

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Greg Smith <gsmith(at)gregsmith(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: random_page_costs - are defaults of 4.0 realistic for SCSI RAID 1
Date: 2007-09-12 00:46:09
Message-ID: 46E736D1.6090103@commandprompt.com (view raw or flat)
Thread:
Lists: pgsql-performance
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Greg Smith wrote:
> On Wed, 12 Sep 2007, Gregory Stark wrote:
> 
>> Also, it helps to run a "vmstat 1" in another window and watch the bi
>> and bo
>> columns.
> 
> Recently on Linux systems I've been using dstat (
> http://dag.wieers.com/home-made/dstat/ ) for live monitoring in this
> sort of situation.  Once you get the command line parameters right, you
> can get data for each of the major disks on your system that keep the
> columns human readable (like switching from KB/s to MB/s as appropriate)
> as activity goes up and down combined with the standard vmstat data.
> 
> I still use vmstat/iostat if I want to archive or parse the data, but if
> I'm watching it I always use dstat now.

Thanks for the tip Greg... I hadn't heard of dstat.

Sincerely,

Joshua D. Drake


> 
> -- 
> * Greg Smith gsmith(at)gregsmith(dot)com http://www.gregsmith.com Baltimore, MD
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend
> 


- --

      === The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564   24x7/Emergency: +1.800.492.2240
PostgreSQL solutions since 1997  http://www.commandprompt.com/
			UNIQUE NOT NULL
Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
PostgreSQL Replication: http://www.commandprompt.com/products/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG5zbRATb/zqfZUUQRAnz4AJwM1bGsVPdUZWy6ldqEq9l8SqRpJACcCfUc
Joc8dLj12hISB5mQO6Tn+a8=
=E5D2
-----END PGP SIGNATURE-----

In response to

pgsql-performance by date

Next:From: El-LotsoDate: 2007-09-12 02:15:32
Subject: Re: Re: 500rows = 1min/2.5k rows=20min/6K rows 2 hoursand still running
Previous:From: Greg SmithDate: 2007-09-12 00:10:50
Subject: Re: random_page_costs - are defaults of 4.0 realistic for SCSI RAID 1

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group