Re: best way to test new index? - Mailing list pgsql-hackers

From Josh Berkus
Subject Re: best way to test new index?
Date
Msg-id 4DB0BD35.1070600@agliodbs.com
Whole thread Raw
In response to Re: best way to test new index?  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Responses Re: best way to test new index?  (Yves Weißig<weissig@rbg.informatik.tu-darmstadt.de>)
List pgsql-hackers
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 by date:

Previous
From: Josh Berkus
Date:
Subject: Re: "stored procedures"
Next
From: Greg Smith
Date:
Subject: Re: Formatting Curmudgeons WAS: MMAP Buffers