From: Richard Huxton <dev@archonet.com>
To: energumen@buaa.edu.cn <energumen@buaa.edu.cn>
Cc: pgsql-performance <pgsql-performance@postgresql.org>
Subject: Re: index auto changes after copying data ?
Date: Tue, 29 Nov 2005 12:16:20 +0000
Message-ID: <438C4694.3010502@archonet.com> (raw)
In-Reply-To: <20051129065944.8294B37F78@mx2.buaa.edu.cn>
References: <20051129065944.8294B37F78@mx2.buaa.edu.cn>
energumen@buaa.edu.cn wrote:
> I know in mysql, index will auto change after copying data
> Of course, index will change after inserting a line in postgresql, but what about copying data?
The index will (of course) know about the new data.
You might want to ANALYZE the table again after a large copy in case the
statistics about how many different values are present changes.
--
Richard Huxton
Archonet Ltd
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-performance@postgresql.org
Cc: dev@archonet.com, energumen@buaa.edu.cn
Subject: Re: index auto changes after copying data ?
In-Reply-To: <438C4694.3010502@archonet.com>
* 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