Re: Why would writes to pgsql_tmp bottleneck at 1mb/s? - Mailing list pgsql-performance

From Josh Berkus
Subject Re: Why would writes to pgsql_tmp bottleneck at 1mb/s?
Date
Msg-id 200503082037.44639.josh@agliodbs.com
Whole thread Raw
In response to Re: Why would writes to pgsql_tmp bottleneck at 1mb/s?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Why would writes to pgsql_tmp bottleneck at 1mb/s?
List pgsql-performance
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

pgsql-performance by date:

Previous
From: Tom Lane
Date:
Subject: Re: Why would writes to pgsql_tmp bottleneck at 1mb/s?
Next
From: Tom Lane
Date:
Subject: Re: Why would writes to pgsql_tmp bottleneck at 1mb/s?