--查询有哪些模式
SELECT SCHEMA_NAME
FROM INFORMATION_SCHEMA.SCHEMATA WHERE NOT SCHEMA_NAME %STARTSWITH '%'
--查当前NAMESPACE下有哪些表
SELECT DISTINCT TABLE_SCHEMA,TABLE_NAME
FROM INFORMATION_SCHEMA.TABLES
where substr(TABLE_SCHEMA,1,1) <>'%'
ORDER BY 1,2
--查询有哪些进程
SELECT ID,PidExternal, NameSpace, Routine, State, UserName, ClientIPAddress, ClientNodeName, CurrentDevice, UserInfo
FROM SYS.Process where ClientNodeName is not null
ID PidExternal NameSpace Routine State UserName ClientIPAddress ClientNodeName CurrentDevice UserInfo
2502 2502 %SYS %SYS.cspServer2 RUN CSPSystem fe80::a33d:367a:2302:e3c5 cache-server |TCP|56773|2502
2503 2503 %SYS %sqlcq.pSYS.cls14.1 RUN Admin 192.168.133.1 cache-server |TCP|56773|2503
2506 2506 %SYS %SYS.cspServer2 RUN CSPSystem fe80::a33d:367a:2302:e3c5 cache-server |TCP|56773|2506 Unused
2507 2507 %SYS %SYS.cspServer2 RUN CSPSystem fe80::a33d:367a:2302:e3c5 cache-server |TCP|56773|2507 Unused
2906 2906 %SYS %SYS.cspServer2 RUN CSPSystem fe80::a33d:367a:2302:e3c5 cache-server |TCP|56773|2906 Unused
2907 2907 %SYS %SYS.cspServer2 RUN CSPSystem fe80::a33d:367a:2302:e3c5 cache-server |TCP|56773|2907 Unused
|