pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hannu Krosing <hannu@skype.net>
To: Josh Berkus <josh@agliodbs.com>
Cc: Jeffrey W. Baker <jwbaker@acm.org>
Cc: pgsql-hackers@postgresql.org, Michael Stone <mstone+postgres@mathom.us>
Cc: pgsql-performance@postgresql.org
Subject: Re: [HACKERS] A Better External Sort?
Date: Tue, 04 Oct 2005 00:43:10 +0300
Message-ID: <1128375790.5882.18.camel@fuji.krosing.net> (raw)
In-Reply-To: <200510031416.15620.josh@agliodbs.com>
References: <31833713.1128111650174.JavaMail.root@elwamui-polski.atl.sa.earthlink.net>
	<200510031334.02030.josh@agliodbs.com>
	<1128372151.28509.1.camel@toonses.gghcwest.com>
	<200510031416.15620.josh@agliodbs.com>

On E, 2005-10-03 at 14:16 -0700, Josh Berkus wrote:
> Jeff,
> 
> > > Nope, LOTS of testing, at OSDL, GreenPlum and Sun.   For comparison, A
> > > Big-Name Proprietary Database doesn't get much more than that either.
> >
> > I find this claim very suspicious.  I get single-threaded reads in
> > excess of 1GB/sec with XFS and > 250MB/sec with ext3.
> 
> Database reads?  Or raw FS reads?  It's not the same thing.

Just FYI, I run a count(*) on a 15.6GB table on a lightly loaded db and
it run in 163 sec. (Dual opteron 2.6GHz, 6GB RAM, 6 x 74GB 15k  disks in
RAID10, reiserfs). A little less than 100MB sec.

After this I ran count(*) over a 2.4GB file from another tablespace on
another device (4x142GB 10k disks in RAID10) and it run 22.5 sec on
first run and 12.5 on second.

db=# show shared_buffers ;
 shared_buffers
----------------
 196608
(1 row)

db=# select version();
                                          version
--------------------------------------------------------------------------------------------
 PostgreSQL 8.0.3 on x86_64-pc-linux-gnu, compiled by GCC cc (GCC) 3.3.6
(Debian 1:3.3.6-7)
(1 row)


-- 
Hannu Krosing <hannu@skype.net>




view thread (112+ messages)  latest in thread

Message-ID: <1128375790.5882.18.camel@fuji.krosing.net>
Permalink:  ../1128375790.5882.18.camel@fuji.krosing.net/
Also on:    postgresql.org/message-id/1128375790.5882.18.camel@fuji.krosing.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: hannu@skype.net, josh@agliodbs.com, jwbaker@acm.org, mstone+postgres@mathom.us
  Subject: Re: [HACKERS] A Better External Sort?
  In-Reply-To: <1128375790.5882.18.camel@fuji.krosing.net>
  References: <31833713.1128111650174.JavaMail.root@elwamui-polski.atl.sa.earthlink.net> <200510031334.02030.josh@agliodbs.com> <1128372151.28509.1.camel@toonses.gghcwest.com> <200510031416.15620.josh@agliodbs.com> <1128375790.5882.18.camel@fuji.krosing.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox