From: Christopher Kings-Lynne <chriskl@familyhealth.com.au>
To: Slavisa Garic <Slavisa.Garic@infotech.monash.edu.au>
Cc: pgsql-performance@postgresql.org
Subject: Re: COPY with INDEXES question
Date: Fri, 06 Feb 2004 10:54:12 +0800
Message-ID: <402301D4.8030604@familyhealth.com.au> (raw)
In-Reply-To: <Pine.GSO.4.10.10402061143430.29801-100000@bruce.csse.monash.edu.au>
References: <Pine.GSO.4.10.10402061143430.29801-100000@bruce.csse.monash.edu.au>
> I have a quick question. In order to speed up insertion of large number of
> rows (100s of thousands) I replaced the INSERT with the COPY. This works
> fine but one question popped into my mind. Does copy updates indexes on
> that table if there are some defined?
Yes, of course. Runs triggers and stuff as well.
Chris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: chriskl@familyhealth.com.au, Slavisa.Garic@infotech.monash.edu.au
Subject: Re: COPY with INDEXES question
In-Reply-To: <402301D4.8030604@familyhealth.com.au>
References: <Pine.GSO.4.10.10402061143430.29801-100000@bruce.csse.monash.edu.au> <402301D4.8030604@familyhealth.com.au>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox