Re: WIP: extensible enums - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: WIP: extensible enums
Date
Msg-id 4CC4B055.3060605@dunslane.net
Whole thread Raw
In response to Re: WIP: extensible enums  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: WIP: extensible enums
List pgsql-hackers

On 10/24/2010 05:34 PM, Tom Lane wrote:
> BTW, I've forgotten --- did anyone publish a test case for checking
> performance of enum comparisons?  Or should I just cons up something
> privately?
>

I have been running tests with 
<http://developer.postgresql.org/~adunstan/enumtest.dmp>

The table "mydata" contains 100k rows with the column "label" containing 
random values of an enum type with 500 labels. Basically, my main test 
is to set up an index on that column. The alter the enum type, and test 
again. Then alter some of the rows, and test again.


cheers

andrew


pgsql-hackers by date:

Previous
From: Jeff Davis
Date:
Subject: Range Types, discrete and/or continuous
Next
From: Tom Lane
Date:
Subject: Re: why does plperl cache functions using just a bool for is_trigger