From: Tom Lane <tgl@sss.pgh.pa.us>
To: Webb Sprague <wsprague100@yahoo.com>
Cc: Jie Liang <jliang@ipinc.com>
Cc: Stephan Szabo <sszabo@megazone23.bigpanda.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Optimizing huge inserts/copy's
Date: Wed, 30 Aug 2000 16:22:49 -0400
Message-ID: <21902.967666969@sss.pgh.pa.us> (raw)
In-Reply-To: <20000830185717.12822.qmail@web803.mail.yahoo.com>
References: <20000830185717.12822.qmail@web803.mail.yahoo.com>
Webb Sprague <wsprague100@yahoo.com> writes:
> I am experimenting with this too. If I have any
> indexes at all, the copy's get VERY SLOW as the table
> gets big. Delete ALL your indexes, do your copy's,
> and then create your indexes again.
Do you have a lot of equal index keys in the data you're inserting?
I've recently been swatting some performance problems in the btree
index code for the case of large numbers of equal keys.
regards, tom lane
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-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, wsprague100@yahoo.com, jliang@ipinc.com, sszabo@megazone23.bigpanda.com
Subject: Re: Optimizing huge inserts/copy's
In-Reply-To: <21902.967666969@sss.pgh.pa.us>
References: <20000830185717.12822.qmail@web803.mail.yahoo.com> <21902.967666969@sss.pgh.pa.us>
* 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