|Subject||Re: [firebird-support] Re: Plan question, what is a stream and what isn't?|
On 15/04/2015 18:50, hvlad@... [firebird-support] wrote:
Re: [firebird-support] Re: Plan question, what is a stream and what isn't?
Note, stored procedures and triggers are prepared\optimized once when
loaded into metadata cache.
> Just by curiosity, when are SPs/Triggers loaded into Metadata Cache? Right before first execution?
What does "right before first execution" mean? What is the lifecycle of "metadata cache"?
So what's the answer to my question, re a process which keeps a connection open permanently and repeatedly re-runs the same procedures in different transactions? Does it need to drop and recreate the connection in order to take account of any SET STATISTICS done by other people, or not?
-- Tim Ward