From: | Yves Weißig <weissig(at)rbg(dot)informatik(dot)tu-darmstadt(dot)de> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: best way to test new index? |
Date: | 2011-04-22 07:55:34 |
Message-ID: | 4DB13476.7030703@rbg.informatik.tu-darmstadt.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Ok, but I thought more like an automated test, or a test which checks if
the interface is correctly implemented. By the way, tho broaden the
topic, what would be the best way to debug in pg? elog? asserts?
Am 22.04.2011 01:26, schrieb Josh Berkus:
> 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.
>
From | Date | Subject | |
---|---|---|---|
Next Message | Leonardo Francalanci | 2011-04-22 08:13:36 | Re: switch UNLOGGED to LOGGED |
Previous Message | Greg Smith | 2011-04-22 07:20:46 | Re: Formatting Curmudgeons WAS: MMAP Buffers |