Skip site navigation (1) Skip section navigation (2)

How to improve insert speed with index on text column

From: Saurabh <saurabh(dot)b85(at)gmail(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: How to improve insert speed with index on text column
Date: 2012-01-30 09:27:30
Message-ID: bdd5c927-eeb7-46ed-a9a6-231b731f37e8@t15g2000yqi.googlegroups.com (view raw or flat)
Thread:
Lists: pgsql-performance
Hi all,

I am using Postgresql database for our project and doing some
performance testing. We need to insert millions of record with indexed
columns. We have 5 columns in table. I created index on integer only
then performance is good but when I created index on text column as
well then the performance reduced to 1/8th times. My question is how I
can improve performance when inserting data using index on text
column?

Thanks,
Saurabh

Responses

pgsql-performance by date

Next:From: Marti RaudseppDate: 2012-01-30 10:06:56
Subject: Re: Postgress is taking lot of CPU on our embedded hardware.
Previous:From: Pavel StehuleDate: 2012-01-30 07:56:58
Subject: Re: pl/pgsql functions outperforming sql ones?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group