Re: index auto changes after copying data ?

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: index auto changes after copying data ?
Дата
Msg-id 438C4694.3010502@archonet.com
обсуждение исходный текст
Ответ на index auto changes after copying data ?  ("energumen@buaa.edu.cn" <energumen@buaa.edu.cn>)
Список pgsql-performance
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

В списке pgsql-performance по дате отправления:

Предыдущее
От: "energumen@buaa.edu.cn"
Дата:
Сообщение: index auto changes after copying data ?
Следующее
От: Chris Browne
Дата:
Сообщение: Re: index auto changes after copying data ?