Subject | Re: [firebird-support] mon$statement_id is not consistent between snapshots? |
---|---|
Author | Douglas Tosi |
Post date | 2008-06-14T20:13:55Z |
Thanks Sean, Dmitry.
On Sat, Jun 14, 2008 at 3:18 PM, Dmitry Yemanov
<dimitr@...> wrote:
So I started polling mon$statements and realized that the id changed.
Not only that, the same id is also reused for other statements.
The id is directly tied to the statement handle, then?
thanks,
Douglas Tosi
On Sat, Jun 14, 2008 at 3:18 PM, Dmitry Yemanov
<dimitr@...> wrote:
> Douglas Tosi wrote:I would like to track the progress of time consuming statements.
> > Playing with the monitoring tables I just noticed that the same statement
> > can have different ids on different snapshots. Why is that?
> This is by design. While perhaps it could be possible to make those ID
> globally unique, it would be interesting to know why would you need that.
So I started polling mon$statements and realized that the id changed.
Not only that, the same id is also reused for other statements.
The id is directly tied to the statement handle, then?
thanks,
Douglas Tosi