Subject | Re: [firebird-support] Timestamp index? |
---|---|
Author | Helen Borrie |
Post date | 2006-10-26T03:25:06Z |
At 11:31 AM 26/10/2006, you wrote:
because, obviously, it has the potential to be non-unique.
./heLen
>Hi,No problem.
>
>We have a table that grows very rapidly, and can contain millions of
>records. We're trying to figure out the best indexing on it. Usually
>we will display the records in the UI based on the record's timestamp,
>in ascending or descending order.
>Is it a problem to create 2 indexes on this field (asc and desc)? INo; the advice was not to use a timestamp field as a primary key
>seem to remember reading in the Firebird book that you shouldn't index
>timestamp fields?
because, obviously, it has the potential to be non-unique.
./heLen