Re: Performance UPDATE/INSERT

From: "codeWarrior" <gpatnude(at)hotmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Performance UPDATE/INSERT
Date: 2006-04-12 21:53:51
Message-ID: e1jsqs$7r1$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Turn off your indices on the table... do the inserts... do the updates... rebuild the indices....

""MG"" <pgsql-general(at)carladata(dot)de> wrote in message news:006701c65d47$90af8140$340aa8c0(at)geisslinger(dot)(dot)(dot)
Hello,

I have about 100 000 records, which need about 30 minutes to write them with single INSERTs into PostgreSQL.
If I go through these 100 000 records and make an UPDATE on each record, it takes 1 hour.

Can anyone tell me, about his experience of the performance of INSERT and UPDATE.

Greetings
Michaela

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2006-04-12 22:19:45 Re: pg_restore --schema always returns an empty dump
Previous Message codeWarrior 2006-04-12 21:52:04 Re: "Hidden" field for each column