Re: Why would writes to pgsql_tmp bottleneck at 1mb/s?

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Why would writes to pgsql_tmp bottleneck at 1mb/s?
Date: 2005-03-09 00:44:32
Message-ID: 200503081644.32497.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Hmmmm.....

> > As you can see, we're getting a nice 23mb/s peak for WAL (thanks to
> > forcedirectio) and database writes peak at 6mb/s. However, pgsql_tmp,
> > which is being used heavily, hovers around 1mb/s, and never goes above
> > 1.5mb/s. This seems to be throttling the whole system.
>
> Never mind, I'm a dork. I accidentally cut the "SET maintenance_work_mem
> = 2000000" out of my config file, and it was running with the default 1024K

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?

Suggestions?

--
--Josh

Josh Berkus
Aglio Database Solutions
San Francisco

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Gaetano Mendola 2005-03-09 00:47:28 Re: bad plan
Previous Message Josh Berkus 2005-03-09 00:17:57 Re: Why would writes to pgsql_tmp bottleneck at 1mb/s?