Subject | Re: [firebird-support] Very bad performance when joining two big tables. |
---|---|
Author | Bogusław Brandys |
Post date | 2012-12-12T13:46:01Z |
W dniu 2012-12-12 14:15, un_spoken pisze:
subsequent times of finding
SELECT
T.ID_TASK
FROM
TASK T
WHERE
T.IDSHEDULE IN (8169797)
with and without index, but first : do you have a copy of working
database for testing ? Did you recomputed index statistics ?
Just my two cents
Bogusław
> SELECTSorry, can't help much but it would be interesting to see tthe
> T.ID_TASK, L.LATITUDE, L.LONGITUDE
> FROM
> TASK T
> INNER JOIN
> LOCATION L
> ON
> T.IDLOCATION = L.ID_LOCATION
> WHERE
> T.IDSHEDULE IN (8169797)
subsequent times of finding
SELECT
T.ID_TASK
FROM
TASK T
WHERE
T.IDSHEDULE IN (8169797)
with and without index, but first : do you have a copy of working
database for testing ? Did you recomputed index statistics ?
Just my two cents
Bogusław