How to improve insert speed with index on text column - Mailing list pgsql-performance

From Saurabh
Subject How to improve insert speed with index on text column
Date
Msg-id bdd5c927-eeb7-46ed-a9a6-231b731f37e8@t15g2000yqi.googlegroups.com
Whole thread Raw
Responses Re: How to improve insert speed with index on text column  (Claudio Freire <klaussfreire@gmail.com>)
Re: How to improve insert speed with index on text column  (Jeff Janes <jeff.janes@gmail.com>)
Re: How to improve insert speed with index on text column  (Andy Colson <andy@squeakycode.net>)
List 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

pgsql-performance by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: pl/pgsql functions outperforming sql ones?
Next
From: Marti Raudsepp
Date:
Subject: Re: Postgress is taking lot of CPU on our embedded hardware.