Re: Creating large database of MD5 hash values

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: "Decibel!" <decibel(at)decibel(dot)org>
Cc: Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Jon Stewart <jonathan(dot)l(dot)stewart(at)gmail(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Creating large database of MD5 hash values
Date: 2008-05-28 23:37:36
Message-ID: 200805282337.m4SNba128261@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Decibel! wrote:
> On Apr 11, 2008, at 10:25 AM, Alvaro Herrera wrote:
>
> Sorry, yes, I'm behind on email... :(
>
> > If MD5 values will be your primary data and you'll be storing millions
> > of them, it would be wise to create your own datatype and operators
> > with
> > the most compact and efficient representation possible.
>
>
> If you do this *please* post it. I really think it would be worth
> while for us to have fixed-size data types for common forms of binary
> data; MD5, SHA1 and SHA256 come to mind.

Why do you think it would be worth while?

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Tom Lane 2008-05-28 23:41:46 Re: Creating large database of MD5 hash values
Previous Message Tarcizio Bini 2008-05-28 17:54:56 Re: GEQO Benchmark