From: Josh Berkus <josh@agliodbs.com>
To: 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 16:44:32 -0800
Message-ID: <200503081644.32497.josh@agliodbs.com> (raw)
In-Reply-To: <200503081617.57190.josh@agliodbs.com>
References: <200503081218.24093.josh@agliodbs.com>
<200503081617.57190.josh@agliodbs.com>
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
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
Subject: Re: Why would writes to pgsql_tmp bottleneck at 1mb/s?
In-Reply-To: <200503081644.32497.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