Subject | ODP: RE: [firebird-support] system table behaviour |
---|---|
Author | liviuslivius |
Post date | 2016-02-04T07:00:11Z |
-------- Oryginalna wiadomość --------
Od: "'Andrew Zenz' andrew@... [firebird-support]" <firebird-support@yahoogroups.com>
Data: 04.02.2016 05:55 (GMT+01:00)
Do: firebird-support@yahoogroups.com
Temat: RE: [firebird-support] system table behaviour
Thanks Helen.
‘Tis starting to make some sense now.
Unfortunately our application establishes a connection to the FB server and remains active until shut down. I can’t terminate it and create a new one. A ‘feature’ of the RAD we are using.
You have given me an idea though, thanks.
Andrew Zenz
From:
firebird-support@yahoogroups.com [mailto:firebird-support@yahoogroups.com]
Sent: Thursday, 4 February 2016
3:31 PM
To: firebird-support@yahoogroups.com
Subject: Re: [firebird-support]
system table behaviour
Hello 'Andrew,
Thursday, February 4, 2016, 2:19:07 PM, you wrote:
|
|
You don't have to close the application to refresh
the MON$ results,
simply commit the transaction and run the query in a new transaction.
|
|
The MON4 tables are in-memory structures.
Queries on them run in a
SNAPSHOT transaction. That is, the statement provides a snapshot of
the status of those items at the time the transaction started and will
not be "refreshed" by re-running the same query inside the same
transaction.
The persistent system tables (RDB$...) behave like any regular table.
Helen