Subject | Re: [firebird-support] SP query plan |
---|---|
Author | Jesús García |
Post date | 2012-04-20T13:34:42Z |
El 20/04/2012, a las 15:20, Nick Upson <nu@...> escribió:
To force a new plan, may be 2 ways, depending on the server architecture.
1. Superserver, recompile
2. Classic/superclassic. Disconnect and connect.
Jesus
> Hi,I think is defined when the SP is loaded and compiled for the first use.
>
> I believe that the query plan for a query in an SP is determined at the
> time the SP is defined
> - if so can I access that plan
> - can I force the plan to be recalculated (preferably without stopping
> database access)
>
>
To force a new plan, may be 2 ways, depending on the server architecture.
1. Superserver, recompile
2. Classic/superclassic. Disconnect and connect.
Jesus
>[Non-text portions of this message have been removed]