Re: High CPU usage after partitioning - Mailing list pgsql-performance

From Kevin Grittner
Subject Re: High CPU usage after partitioning
Date
Msg-id 20130121211214.120610@gmx.com
Whole thread Raw
In response to High CPU usage after partitioning  (rudi <rudolone@gmail.com>)
List pgsql-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


pgsql-performance by date:

Previous
From: Merlin Moncure
Date:
Subject: Re: High CPU usage after partitioning
Next
From: Andrew Dunstan
Date:
Subject: Re: High CPU usage after partitioning