Re: Extremely high CPU usage when building tables

From: Deborah Fuentes <dfuentes(at)eldocomp(dot)com>
To: Rajesh Kumar Mallah <mallah(dot)rajesh(at)gmail(dot)com>
Cc: "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Extremely high CPU usage when building tables
Date: 2010-07-06 15:59:23
Message-ID: 306A7ABFF569E847BC99BA08C183EFF3014205@WINEX1.eldocomp.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Rajesh,

We are not loading any data. There are only two steps present:

1. Create tables - 1127

2. Create indexes - approximately 7000

The CPU spikes immediately when the tables are being created.

Regards,
Deb

From: Rajesh Kumar Mallah [mailto:mallah(dot)rajesh(at)gmail(dot)com]
Sent: Friday, July 02, 2010 12:53 PM
To: Deborah Fuentes
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: [PERFORM] Extremely high CPU usage when building tables

Dear Deb,

i feel three distinct steps are present
1. CREATE TABLE
2. LOAding of data in tables
3. Creation of indexes

It is still not clear when you are seeing your system becoming unresponsive to
other application. Is it during loading of data or creation of indexes?

1. can you give any idea about how much data you are loading ? rows count or GB data etc
2. how many indexes are you creation ?

regds
Rajesh Kumar Mallah.

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Ranga Gopalan 2010-07-06 16:30:06 Re: Question about partitioned query behavior
Previous Message damien hostin 2010-07-06 12:48:04 Re: Slow query with planner row strange estimation