Subject | Re: [firebird-support] How I can speed up this query |
---|---|
Author | Luigi Siciliano |
Post date | 2017-10-12T07:24:11Z |
Hallo,
Il 11/10/2017 20.38, setysvar setysvar@... [firebird-support] ha
scritto:
query speed up, Flamerobin now tells 0.060s :)
And, my query, now, flamerobin tells 0.045s :))
The secondary index are automatically maintained by server, is it right
to do a periodically manually maintenance for it's?
Thanks
--
Luigi Siciliano
--------------------------
Il 11/10/2017 20.38, setysvar setysvar@... [firebird-support] ha
scritto:
> I think this should give the same result as your query, whether or notYour query is to slow, flamerobin tells 4.360s. :(
> it is any quicker, I simply do not know (but I would love to hear if it
> made any difference).
> PLAN (PNC2 NATURAL)Ok, I create an index for PARTITA and SCADENZA fields for PNC and Your
>
> seems to be your problem (PNC on the other hand, seems OK).
>
> Hence, if PARITA and/or SCADENZA are selective, I would recommend that
> you create an index for either or both of these fields. That way, I
> would assume your original query to become a lot quicker.
query speed up, Flamerobin now tells 0.060s :)
And, my query, now, flamerobin tells 0.045s :))
The secondary index are automatically maintained by server, is it right
to do a periodically manually maintenance for it's?
Thanks
--
Luigi Siciliano
--------------------------