Re: indexing longish string - Mailing list pgsql-sql

From jose
Subject Re: indexing longish string
Date
Msg-id AANLkTikG8WZobuN=i3GbRPjPH8FYZC9YC5oUdrOpUfUt@mail.gmail.com
Whole thread Raw
In response to indexing longish string  (Rob Sargent <robjsargent@gmail.com>)
Responses Re: indexing longish string  (Rob Sargent <robjsargent@gmail.com>)
List pgsql-sql
Why don't you use some type of hash like md5 for indexing ?

2010/11/30 Rob Sargent <robjsargent@gmail.com>:
> Were we to create a table which included a text field for a small block
> of xml (100-1000 chars worth), would an index on that field be useful
> against exact match queries?
>
> We're wondering if a criterion such as "where 'a string expected to be
> of size range 100 to 500' = tabelWithStrings.stringSearched" would make
> good use of an index on "stringSearched" column.
>
> The key is that there will only be exact match queries.
>
> Thanks for your thoughts.
>
>
>
> --
> Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-sql
>


pgsql-sql by date:

Previous
From: Rob Sargent
Date:
Subject: indexing longish string
Next
From: Rob Sargent
Date:
Subject: Re: indexing longish string