Re: best way to test new index?

Поиск
Список
Период
Сортировка
Искать
От
Josh Berkus
Тема
Re: best way to test new index?
Дата
Msg-id
4DB0BD35.1070600@agliodbs.com
Ответ на
Список
Дерево обсуждения
Re: best way to test new index? "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: best way to test new index? Yves Weißig <weissig@rbg.informatik.tu-darmstadt.de>
On 4/21/11 1:28 PM, Kevin Grittner wrote:
> That said, I would start by making sure that basic things like
> CREATE INDEX and DROP INDEX work.  Then I would test that INSERT,
> UPDATE, and DELETE do the right things with the index.  Then I would
> make sure that vacuum did the right thing.  Then I would make sure
> that the optimizer was doing a reasonable job of knowing when it was
> usable and what it cost, so that it would be chosen when
> appropriate.  Once everything seemed to be behaving I would
> benchmark it against the reasonable alternatives.

... And then finally, kill -9 the database server while updating the
index to test crash-safeness.

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com

В списке pgsql-hackers по дате отправления
От: Josh Berkus
Дата:
Сообщение: Re: "stored procedures"
От: Greg Smith
Дата:
FAQ