Uživatelské nástroje

Nástroje pro tento web


firebird:mon_tables

Toto je starší verze dokumentu!


Monitoring tables

Ve verzi Firebird 2.1

select * from mon$database;
select * from mon$attachments;
select * from mon$transactions;
select * from mon$statements where mon$state=1;

Dokumentace: http://wiki.firebirdsql.org/wiki/index.php?page=Monitoring+tables

Cancel query

Ukončí všechny SQL query kromě aktivního připojení:

delete from mon$statements where mon$attachment_id <> current_connection;

Transactions ani attachments se nedají ukončit. Je tedy možno zabít vytěžující SQL dotaz, ale není možno uvolnit visející licence.

firebird/mon_tables.1282305127.txt.gz · Poslední úprava: 2010/08/20 11:52 autor: Petr Kristan