Subject | Re: [firebird-support] What structure would fit better? |
---|---|
Author | Ann Harrison |
Post date | 2011-12-18T18:10:12Z |
Doug Chamberlin <chamberlin.doug@...> wrote:
index on Symbol and Date
if they're often used together.
Good luck,
Ann
>> Two possible structures.Doug, I was with you up to the last line.
>>
>> [1] (Symbol, Date, Blob) => Symbol primary and Date is secondary key
>> [2] (Symbol_Date, Blob) => Symbol_Date is single primary key
>
> Relational databases nearly always work best when each individual data
> item (column) is stored separately ...
>Personally, I'd go with [1] (three separate fields) and put a compound
> Go with [2].
index on Symbol and Date
if they're often used together.
Good luck,
Ann