Subject | Re: [firebird-support] Re: How to make my report quicker |
---|---|
Author | Alexandre Benson Smith |
Post date | 2007-05-24T16:56:13Z |
Sean wrote:
My question is:
Won't FB combine the PK index (for the StoredID) and a simple index on Sales Date
to narrow down the result set as if there is a compound index on (StoreID, SalesDate) ?
To Heroes3Lover:
By the way, did you increase your performance with our suggestions ?
see you !
--
Alexandre Benson Smith
Development
THOR Software e Comercial Ltda
Santo Andre - Sao Paulo - Brazil
www.thorsoftware.com.br
> I would create a compound index on StoreID + SalesDate -- this wouldSet wrote:
> narrow the range of your processing.
>
>
> Sean
>
> Try creating another index (storeid, salesdate)I wrote:
> Create another index on A.SalesDateHeors2lover said that PK on table on Table PluWeek is storeid/plu/salesdate
My question is:
Won't FB combine the PK index (for the StoredID) and a simple index on Sales Date
to narrow down the result set as if there is a compound index on (StoreID, SalesDate) ?
To Heroes3Lover:
By the way, did you increase your performance with our suggestions ?
see you !
--
Alexandre Benson Smith
Development
THOR Software e Comercial Ltda
Santo Andre - Sao Paulo - Brazil
www.thorsoftware.com.br