pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Re: Why would writes to pgsql_tmp bottleneck at 1mb/s?
Date: Tue, 8 Mar 2005 20:37:44 -0800
Message-ID: <200503082037.44639.josh@agliodbs.com> (raw)
In-Reply-To: <16215.1110342464@sss.pgh.pa.us>
References: <200503081218.24093.josh@agliodbs.com>
	<200503081644.32497.josh@agliodbs.com>
	<16215.1110342464@sss.pgh.pa.us>

Tom,

> > Maybe I'm not an idiot (really!)  even with almost 2GB of
> > maintenance_mem, PG still writes to pgsql_tmp no faster than 2MB/s.    I
> > think there may be an artificial bottleneck there.  Question is,
> > PostgreSQL, OS or hardware?
>
> AFAIR that's just fwrite() ...

Well, are there any hacks to speed it up?   It's about doubling the amount of 
time it takes to create an index on a very large table.

-- 
--Josh

Josh Berkus
Aglio Database Solutions
San Francisco



view thread (8+ messages)  latest in thread

Message-ID: <200503082037.44639.josh@agliodbs.com>
Permalink:  ../200503082037.44639.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200503082037.44639.josh@agliodbs.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: josh@agliodbs.com, tgl@sss.pgh.pa.us
  Subject: Re: Why would writes to pgsql_tmp bottleneck at 1mb/s?
  In-Reply-To: <200503082037.44639.josh@agliodbs.com>

* 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