Re: Performance UPDATE/INSERT - Mailing list pgsql-general

From codeWarrior
Subject Re: Performance UPDATE/INSERT
Date
Msg-id e1jsqs$7r1$1@news.hub.org
Whole thread Raw
In response to Performance UPDATE/INSERT  ("MG" <pgsql-general@carladata.de>)
List pgsql-general
Turn off your indices on the table... do the inserts... do the updates... rebuild the indices....
 
 
 
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

pgsql-general by date:

Previous
From: "codeWarrior"
Date:
Subject: Re: "Hidden" field for each column
Next
From: Tom Lane
Date:
Subject: Re: pg_restore --schema always returns an empty dump