Subject | Re: [ib-support] Summarization Query Speed Issue |
---|---|
Author | Daniel Rail |
Post date | 2003-03-03T21:03:38Z |
Hi Arno,
message dated March 1st), Product.ProductID is a primary key. Also, in
that message you'll find stats on how many records are in the
different tables.
If you can't find the message, just let me or sugi know.
Daniel Rail
Senior System Engineer
ACCRA Group Inc. (www.accra.ca)
ACCRA Med Software Inc. (www.accramed.ca)
>> CASE 4: (Quoted above, three table left joins with a where clause onLooking at sugi's tables creation script (you can find it in the first
>> date column)
>> Result:
>> PLAN SORT (JOIN (JOIN (P NATURAL,O INDEX (FK_ORDERDET_REFERENCE_ITEMS)),
>> M INDEX (PK_ORDERMASTER)))
>> First run : ~60 seconds (1.0.796 = ~60 seconds)
>> Subsequent Runs : ~51 seconds (1.0.796 = ~60 seconds)
> Is Product.ProductID unique ?
message dated March 1st), Product.ProductID is a primary key. Also, in
that message you'll find stats on how many records are in the
different tables.
If you can't find the message, just let me or sugi know.
Daniel Rail
Senior System Engineer
ACCRA Group Inc. (www.accra.ca)
ACCRA Med Software Inc. (www.accramed.ca)