SQL Commands
SQL Commands
SQL Commands
select
ss.ID,
ss.STATUS,
ss.STATUSREASON,
ss.LATEST_START_SNAPSHOT_ID,
so.NAME
"_SYS_STATISTICS"."STATISTICS_OBJECTS" so
order by ss.id
select
from "PUBLIC"."M_DELTA_MERGE_STATISTICS"
where SUCCESS='FALSE'
'update "_SYS_STATISTICS"."STATISTICS_SCHEDULE"
Threads by user---------------------------------------------------------------------------------------
select
HOST,
APPLICATION_USER_NAME,
count(*) as TOTAL
from "PUBLIC"."M_SERVICE_THREADS"
where IS_ACTIVE<>'FALSE'
group by HOST,
APPLICATION_USER_NAME
select
APPLICATION_USER_NAME,
count(*) as TOTAL
from "PUBLIC"."M_SERVICE_THREADS"
where IS_ACTIVE<>'FALSE'
group by APPLICATION_USER_NAME
select
HOST,
CATEGORY,
ROUND(EXCLUSIVE_SIZE_IN_USE/1024/1024/1024,
2) as CURRENT_SIZE_IN_GB
from "PUBLIC"."M_HEAP_MEMORY"
select
HOST,
ROUND(SUM(MEMORY_SIZE_IN_TOTAL/1024/1024/1024),
3) as TOTAL_MEM_IN_GB
from "SYS"."M_CS_TABLES"
group by HOST
select
HOST,
ROUND(SUM(ESTIMATED_MAX_MEMORY_SIZE_IN_TOTAL/1024/1024/1024),
3) as TOTAL_MEM_EST_IN_GB
from "SYS"."M_CS_TABLES"
group by HOST
select
from (select
HOST,
CATEGORY,
ROUND(EXCLUSIVE_SIZE_IN_USE/1024/1024/1024,
2) as CURRENT_SIZE_IN_GB
from "PUBLIC"."M_HEAP_MEMORY"
where HOST='hostname'