Dameng database tutorial: DM8 commonly used SQL organization (query version, number of sessions, number of transactions, waiting events, memory pool)

Query database version

SELECT * FROM V$VERSION;

insert image description here

Query sessions

SELECT COUNT(*) FROM V$SESSIONS;

insert image description here

Query the number of transactions

SELECT COUNT(*) FROM V$TRX;

insert image description here

Query wait events

SELECT * FROM V$TRXWAIT;

insert image description here

Query memory pool

SELECT * FROM V$MEM_POOL;

insert image description here

Guess you like

Origin blog.csdn.net/a772304419/article/details/132761960