By default the wait events data collected by the sampler collection collect only top x records and not all of the data from V$SESSION.
This issue no longer occurred after installing the SQL Server PI design.
Note: There is a procedure that Complete the wait event in instance level (only) but that procedure is disabled by default.
The following script can be run in Script Console to enable the SQL PI Wait Event Completion metric.
Replace the value AGENTNAME with the name of the Oracle or Oracle RAC Instance agent.
agentService = server.get("AgentService");
configService = server.get("ConfigService");
def setAspParams(agents, aspName, aspValue) {
for (agent in agents) {
def primaryASP = configService.getAgentInstancePrimaryAsp(agent.getAgentNamespace(), agent.getTypeId(), agent.getId());
primaryASP.setValueByString(aspName, aspValue);
configService.saveConfig(primaryASP);
}
}
def agents = agentService.findByName("AGENTNAME");
setAspParams(agents, "spiecOlapInstanceWaitEventCompletionEnable", "true");
return true;
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center