From: Greg Stark <gsstark@mit.edu>
To: Kurt Overberg <kurt@hotdogrecords.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: massive INSERT
Date: 13 Mar 2003 19:20:36 -0500
Message-ID: <873clqer3f.fsf@stark.dyndns.tv> (raw)
In-Reply-To: <3E70C3BC.40904@hotdogrecords.com>
References: <3E70C3BC.40904@hotdogrecords.com>
Kurt Overberg <kurt@hotdogrecords.com> writes:
> ...I've found this to be faster then running the query, figuring out who needs
> to be removed from the group, who needs to be added and whatnot. The thing that
> I'm worried about is that this table is going to be pretty big (potentially
> millions of rows), and everytime I rebuild this table I lose (or at least
> invalidate) all my indexes. Is that the case? Is constantly deleting then
> adding large numbers of rows from a table really bad for performance? I'm
> worried this isn't going to scale well. Anyone know of a better way to do
> this? Thoughts and comments would be appreciated.
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: gsstark@mit.edu, kurt@hotdogrecords.com
Subject: Re: massive INSERT
In-Reply-To: <873clqer3f.fsf@stark.dyndns.tv>
* 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