Subject | Re: [Firebird-Architect] Re: Index Keys |
---|---|
Author | Jim Starkey |
Post date | 2009-02-19T18:41:12Z |
david_schnepper wrote:
indexes, but still less than the padding and interspersed index numbers
in the current scheme.
Jim Starkey
President, NimbusDB, Inc.
978 526-1376
> --- In Firebird-Architect@yahoogroups.com, Jim Starkey <jstarkey@...>You can, and it does work. It just costs an extra byte in compound
> wrote:
>
>
>> Character strings never contain 0x00, so this scheme always as short or
>> shorter than the grouping scheme currently in use.
>>
>
> My memory, I think you are able to put a 0x00 byte into a fixed-width
> character string.
>
indexes, but still less than the padding and interspersed index numbers
in the current scheme.
> Also, for international COLLATE keys, I believe a 0x00 byte can beAgain, that's ok, it's handled.
> placed into the collation key for a piece of text - between the tuple
> members of (primary,secondary,tertiary,4th_level) key generated for a
> piece of text. This is for the same reasons as this proposal - it
> ensures the comparison is resolved when two primary/secondary/etc
> components of different length are compared.
>
> Regardless of the nits above - I think the proposal is good.--
>
>
Jim Starkey
President, NimbusDB, Inc.
978 526-1376