Subject | Re: [firebird-support] Re: Why would creating indexes freeze firebird 1.5? |
---|---|
Author | Martijn Tonies |
Post date | 2003-10-15T07:51:18Z |
Hi Set,
To automatically tell which plans would change is a no-go. I cannot
create something like that.
Perhaps, storing queries and their plans for later comparison would
be possible.
It already has quite a visual PLAN Analyzer - see:
http://www.upscene.com/documentation/dbw/oe_sqleditor.htm
(scroll down to bottom)
With regards,
Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird & MS SQL Server.
Upscene Productions
http://www.upscene.com
> The problem is obviously that Firebird thinks it can do a better jobEh... dunno. :-)
> if it uses this new index for this particular query. I can think of
> two ways to solve your problem, the best being to create a small
> program which prepare all your queries and reports if any of them have
> changed plan since last time you ran the program. That way you would
> at least know which queries to examine rather than have to manually
> check all of them.
>
> Thinking about it, that could be a nice addition to Database WorkBench
> (to tell which queries will change plan with the addition/removal of
> indexes). Or maybe you've got something like that already, Martijn (or
> is it beyond the purpose of Workbench)?
To automatically tell which plans would change is a no-go. I cannot
create something like that.
Perhaps, storing queries and their plans for later comparison would
be possible.
It already has quite a visual PLAN Analyzer - see:
http://www.upscene.com/documentation/dbw/oe_sqleditor.htm
(scroll down to bottom)
With regards,
Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird & MS SQL Server.
Upscene Productions
http://www.upscene.com