Re: Performance question: Restore + INDEX

Поиск
Список
Период
Сортировка
От Chris Browne
Тема Re: Performance question: Restore + INDEX
Дата
Msg-id 6064somr2d.fsf@dba2.int.libertyrms.com
обсуждение исходный текст
Ответ на Performance question: Restore + INDEX  (Aldor <an@mediaroot.de>)
Список pgsql-admin
an@mediaroot.de (Aldor) writes:
> I'm curious how other people do it:
>
> What is faster?
>
> 1. CREATE TABLE
> 2. restore data
> 3. CREATE INDEX
>
> or
>
> 1. CREATE TABLE
> 2. CREATE INDEX
> 3. restore data

Creating the index AFTER loading the data is definitely faster.  But
by all means do your own tests; it's pretty easy to do so and satisfy
yourself...
--
(format nil "~S@~S" "cbbrowne" "ntlug.org")
http://cbbrowne.com/info/languages.html
"It worked about as well as sticking a blender in the middle of a lime
plantation and hoping they'll make margaritas out of themselves."
-- Frederick J. Polsky v1.0

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

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: Performance question: Restore + INDEX
Следующее
От: Allan Kamau
Дата:
Сообщение: Preventing database access (including valid users in other databases)