Subject | Re: [Firebird-general] OpenCRX DBMS comparison |
---|---|
Author | Daniel Rail |
Post date | 2005-05-11T17:13:25Z |
Hi,
At May 11, 2005, 12:12, Martijn Tonies wrote:
everytime the view is referenced. What I meant by partially prepared,
was simply the BLR for the view "without" the plan.
will be used by the same application on the same database. But, there
will have to be a mechanism to update that cache, and have the ability
to remove some cached plans.
--
Best regards,
Daniel Rail
Senior System Engineer
ACCRA Group Inc. (www.accra.ca)
ACCRA Med Software Inc. (www.filopto.com)
At May 11, 2005, 12:12, Martijn Tonies wrote:
>> I think I could me clearer. The views could be partiallyWe might be in agreement. See further.
>> prepared/compiled(at creation time), excluding the optimizer
>> processing. And, when the view is to be used, the optimizer would be
>> called to evaluate the plan to be used.
>>
>> It's just my 2 cents.
> We disagree there then :-)
> The plan used to execute a query can be very different from the planI agree. I may have explained too simply. The plan would be recreated
> used for only the view itself.
everytime the view is referenced. What I meant by partially prepared,
was simply the BLR for the view "without" the plan.
> Given that a view can be used in conjunction with a very complexTotally agree.
> additional query, I think that the plan should be recreated every time
> the view would be accessed.
> Of course, a "query plan cache" could be useful for all queries in FirebirdThis surely could be useful, since most of the time the same queries
> :-)
will be used by the same application on the same database. But, there
will have to be a mechanism to update that cache, and have the ability
to remove some cached plans.
--
Best regards,
Daniel Rail
Senior System Engineer
ACCRA Group Inc. (www.accra.ca)
ACCRA Med Software Inc. (www.filopto.com)