From: Kevin Grittner <kgrittn@mail.com>
To: Merlin Moncure <mmoncure@gmail.com>
To: rudi <rudolone@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: High CPU usage after partitioning
Date: Mon, 21 Jan 2013 16:12:14 -0500
Message-ID: <20130121211214.120610@gmx.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>
Merlin Moncure wrote:
>> I'm running postgresl 9.0. After partitioning a big table, CPU
>> usage raised from average 5-10% to average 70-80%.
> First thing that jumps to mind is you have some seq-scan heavy
> plans that were not seq-scan before.
Make sure that all indexes are defined for each partition. It is
not enough to define them on just the parent level.
-Kevin
--
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance
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: kgrittn@mail.com, mmoncure@gmail.com, rudolone@gmail.com
Subject: Re: High CPU usage after partitioning
In-Reply-To: <20130121211214.120610@gmx.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