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

From Saurabh
Subject Re: How to improve insert speed with index on text column
Date
Msg-id c67d3789-74c8-4b20-aa2b-451ca0649f71@kn4g2000pbc.googlegroups.com
Whole thread Raw
In response to How to improve insert speed with index on text column  (Saurabh <saurabh.b85@gmail.com>)
Responses Re: How to improve insert speed with index on text column
Re: How to improve insert speed with index on text column
Re: How to improve insert speed with index on text column
List pgsql-performance
Thank you for the information.

Schema of table is:

ID                         bigint
company_name     text
data_set                text
time                      timestamp
Date                     date

Length of company_name is not known so it is of datatype text. I need
to build the index on company_name and ID. And then insert the
records. I can not create the index after insertion because user can
search the data as well while insertion.

Machine is of 8 core, os centos6 and 8 GB of RAM.

Here is my configuration:

max_connections = 100
shared_buffers = 32MB
wal_buffers = 1024KB
checkpoint_segments = 3


pgsql-performance by date:

Previous
From: Jeff Janes
Date:
Subject: Re: How to improve insert speed with index on text column
Next
From: Claudio Freire
Date:
Subject: Re: How to improve insert speed with index on text column