Agent in critical state / Performance critical
Hi!
I have a server that looks like this:
What can be wrong?
The enviroment is scom 2012 R2.
The server has no issues with performance what I can see.
Hi,
What if you put the server in Maintenace Mode for 15 min. ?
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Thank you! It shows Healthy after that! Weird ;)..
Similar Messages
-
How to find for which select statement performance is more
hi gurus
can anyone suggest me
if we have 2 select statements than
how to find for which select statement performance is more
thanks®ards
kals.hi check this..
1 .the select statement in which the primary and secondary keys are used will gives the good performance .
2.if the select statement had select up to i row is good than the select single..
go to st05 and check the performance..
regards,
venkat -
Hello,
This is relating to one of the previous posts.
CASE STATEMENT PERFORMANCE
As it has been a discussion of case statement performance. I tried to compare both the filter function and case statement.
they both actually generate the same physical query.
So I just am trying to understand the difference.
thanks,
DeepHi Deep,
There would be some performance using CASE where as filter function would generate straight SQL that is WHERE clause is added into the SQL statement for better performance.
Have a look at this http://www.biconsultinggroup.com/obiee-tips-and-tricks/using-a-filter-function-instead-of-case-statements.html
http://prolynxuk.com/blog/?p=462
UPDATED POST
Can you paste both SQL's generated here.
hope answered
Cheers,
KK
Edited by: Kranthi.K on Apr 22, 2011 7:33 PM -
Joining select statements-performance problem
Here two cases are there.Is it posiible to combine the two cases and make it one? I am using OR in the select statement, performance is very bad, i want to improve it.Is there any chance of avoiding that...
1.
select vbeln from vbfa into itab-vbeln where vbelv = final_data-xblnr1
or vbelv = final_data-xblnr2.
select single vbeln from vbrk into tabvbrk-vbeln
where vbeln = itab-vbeln and fkart = 'RTS'.
if sy-subrc eq 0.
move tabvbrk-vbeln to final_data-vbeln1.
modify final_data.
endif.
endselect.
2.
select vbeln from vbfa into itab-vbeln where vbelv = final_data-xblnr1
or vbelv = final_data-xblnr2.
select single vbeln from vbrk into tabvbrk-vbeln
where vbeln = itab-vbeln and fkart = 'ZTR'.
if sy-subrc eq 0.
move tabvbrk-vbeln to final_data-vbeln2.
modify final_data.
endif.
endselect.
Thanks,
fractalThe first main thing is dont use select... endselect.
select vbeln from vbfa into itab-vbeln where vbelv = final_data-xblnr1
or vbelv = final_data-xblnr2.
U can use
select vbeln from vbfa into
corresponding fields of table itab
for all entries in final_data
where vbelv = final_data-xblnr1
or vbelv = final_data-xblnr2.
Instead of this
select single vbeln from vbrk into tabvbrk-vbeln
where vbeln = itab-vbeln and fkart = 'RTS'.
if sy-subrc eq 0.
move tabvbrk-vbeln to final_data-vbeln1.
modify final_data.
endif.
endselect.
Use
select vbeln from vbrk
appending table final_data
where vbeln = itab-vbeln
and fkart = 'RTS'.
if sy-subrc eq 0.
endif.
Try like this.
Hope this helps.
Kindly reward points for the answer which helped u and helped to solve the problem. -
I am working to create and test an integration to Cisco ICM 8.5 connected to an Aspect Unified IP CTI interface. The solution will recieve agent and call events from Unified IP and consume them to understand the state of activity and available agents for the purpose of ICM making inbound call routing decisions.
To facilitate testing I would like to know how to (or if I can) access a real time report that reflects the agent and call states based on the events recieved from Unified IP.Hi,
certainly. Do you have access to the ICM Admin Workstation/Historical Database Server? There's a Microsoft SQL Server running there, containing the real time tables you're looking for.
G. -
Host Agent Service critical - Paging file is too small for this operation to complete
Hi all,
at the moment I have the problem that some of my hosts get in the errorstate critical in VMM 2012 SP1.
The error details in VMM are:
Error (2912)
An internal error has occurred trying to contact the hostname server: : .
WinRM: URL: [http://hostname:5985], Verb: [ENUMERATE], Resource: [http://schemas.microsoft.com/wbem/wsman/1/wmi/root/cimv2/Win32_Service], Filter: [select * from Win32_Service where Name="scvmmagent"]
The paging file is too small for this operation to complete (0x800705AF)
Recommended Action
Check that WS-Management service is installed and running on server hostname. For more information use the command "winrm helpmsg hresult". If hostname is a host/library/update server or a PXE server role then ensure that VMM agent is installed
and running.
On the host i cannot connect to FailoverCluster or Hyper.V Manager. After a restart of the host the Problem is gone and the System is working without any Problems for some days.
The paging file is set to 4GB and the OS is Server 2012.
The hosts have 192GB of RAM.
The configuration of the pagfile didn't change from Windows 2k8R2 to 2012.
I didn't find any Errors in the eventlog. Do you have any idea where to check for that?
Thanks,
PatrickThe hotfix didn't solve the Problem for me either. The WMI crash came again after a couple of weeks.
An additional problem with VDS was detected and the following hotfix was installed:
http://support.microsoft.com/kb/2884597/en-us
Also a problem with Clusterservice was found, sadly MS is tagging this handle leak as "won't fix".
Nevertheless one WMI Instance is still growing...
We are testing a hotfix that so far looks promising. Its a private hotfix only right now. But the file is listed as KB494704 you may want to ask your support engineer to look into it. -
Select statement performance improvement.
HI Guru's,
I am new to ABAP.
I have the below select stement
000304 SELECT mandt msgguid pid exetimest
000305 INTO TABLE lt_key
000306 UP TO lv_del_rows ROWS
000307 FROM (gv_master)
000308 WHERE
000309 * msgstate IN rt_msgstate
000310 * AND ( adapt_stat = cl_xms_persist=>co_stat_adap_processed
000311 * OR adapt_stat = cl_xms_persist=>co_stat_adap_undefined )
000312 * AND itfaction = ls_itfaction
000313 * AND msgtype = cl_xms_persist=>co_async
000314 * AND
000315 exetimest LE lv_timestamp
000316 AND exetimest GE last_ts
000317 AND reorg = cl_xms_persist=>co_reorg_ini
000318 ORDER BY mandt itfaction reorg exetimest.
Can anyone help me how i can improve the performance of this statement?
Here is the sql trace for the statement:
SELECT
/*+
FIRST_ROWS (100)
"MANDT" , "MSGGUID" , "PID" , "EXETIMEST"
FROM
"SXMSPMAST"
WHERE
"MANDT" = :A0 AND "EXETIMEST" <= :A1 AND "EXETIMEST" >= :A2 AND "REORG" = :A3
ORDER BY
"MANDT" , "ITFACTION" , "REORG" , "EXETIMEST"
Execution Plan
SELECT STATEMENT ( Estimated Costs = 3 , Estimated #Rows = 544 )
4 SORT ORDER BY
( Estim. Costs = 2 , Estim. #Rows = 544 )
Estim. CPU-Costs = 15.671.852 Estim. IO-Costs = 1
3 FILTER
2 TABLE ACCESS BY INDEX ROWID SXMSPMAST
( Estim. Costs = 1 , Estim. #Rows = 544 )
Estim. CPU-Costs = 11.130 Estim. IO-Costs = 1
1 INDEX RANGE SCAN SXMSPMAST~TST
Search Columns: 2
Estim. CPU-Costs = 3.329 Estim. IO-Costs = 0
Do I need to create any new index ? Do i need to remove the Order By clause?
Thanks in advance.why is there an
UP TO lv_del_rows ROWS
together with an ORDER BY?
The database will find all rows fulfilling the condition but returns only the largest Top lv_del_rows.
Therefore it can take a while.
Your index, always put the client field at first position.
actually I am not really convinced by your logic:
itfaction reorg exetimest.
itfaction is the first in the sort order, so all records with the smallest itfactio will come first, but itfaction is not specified, is this really what you want?
Change the index to mandt reorg exetimest reorg
and change the ORDER BY to mandt reorg exetimest
then it will become fast.
* AND ( adapt_stat = cl_xms_persist=>co_stat_adap_processed
000311 * OR adapt_stat = cl_xms_persist=>co_stat_adap_undefined )
000312 * AND itfaction = ls_itfaction
000313 * AND msgtype = cl_xms_persist=>co_async
000314 * AND
000315 exetimest LE lv_timestamp
000316 AND exetimest GE last_ts
000317 AND reorg = cl_xms_persist=>co_reorg_ini
000318 ORDER BY mandt itfaction reorg exetimest. -
Select query and Insert statement performance
Hi all,
Can anyone plz guide us on below problem I am facing ?
1) One of the simple Insert statement runs very slow..What might be the reason? Its simple table without any LOBs ,LONG or so. Everything else in the DB works fine.
2) one of the SELECT statement runs very slow. It selects all records (around 1000) from a table..How can i improve its performance?
3)Which columns in the Master and its detail tables should be indexed to improve Query performance on them.
Many Thanks
Regards
sandeepTo get an answer to your questions you have to post some informations about your system:
1. operating system
2. RAM
3. oracle version
4. init.ora
Thomas -
ABAP Select statement performance (with nested NOT IN selects)
Hi Folks,
I'm working on the ST module and am working with the document flow table VBFA. The query takes a large amount of time, and is timing out in production. I am hoping that someone would be able to give me a few tips to make this run faster. In our test environment, this query take 12+ minutes to process.
SELECT vbfa~vbeln
vbfa~vbelv
Sub~vbelv
Material~matnr
Material~zzactshpdt
Material~werks
Customer~name1
Customer~sortl
FROM vbfa JOIN vbrk AS Parent ON ( Parentvbeln = vbfavbeln )
JOIN vbfa AS Sub ON ( Subvbeln = vbfavbeln )
JOIN vbap AS Material ON ( Materialvbeln = Subvbelv )
JOIN vbak AS Header ON ( Headervbeln = Subvbelv )
JOIN vbpa AS Partner ON ( Partnervbeln = Subvbelv )
JOIN kna1 AS Customer ON ( Customerkunnr = Partnerkunnr )
INTO (WA_Transfers-vbeln,
WA_Transfers-vbelv,
WA_Transfers-order,
WA_Transfers-MATNR,
WA_Transfers-sdate,
WA_Transfers-sfwerks,
WA_Transfers-name1,
WA_Transfers-stwerks)
WHERE vbfa~vbtyp_n = 'M' "Invoice
AND vbfa~fktyp = 'L' "Delivery Related Billing Doc
AND vbfa~vbtyp_v = 'J' "Delivery Doc
AND vbfa~vbelv IN S_VBELV
AND Sub~vbtyp_n = 'M' "Invoice Document Type
AND Sub~vbtyp_v = 'C' "Order Document Type
AND Partner~parvw = 'WE' "Ship To Party(actual desc. is SH)
AND Material~zzactshpdt IN S_SDATE
AND ( Parentfkart = 'ZTRA' OR Parentfkart = 'ZTER' )
AND vbfa~vbelv NOT IN
( SELECT subvbfa~vbelv
FROM vbfa AS subvbfa
WHERE subvbfavbelv = vbfavbelv
AND subvbfa~vbtyp_n = 'V' ) "Purchase Order
AND vbfa~vbelv NOT IN
( SELECT DelList~vbeln
FROM vbfa AS DelList
WHERE DelListvbeln = vbfavbelv
AND DelList~vbtyp_v = 'C' "Order Document Type
AND DelList~vbelv IN "Delivery Doc
( SELECT OrderList~vbelv
FROM vbfa AS OrderList
WHERE OrderList~vbtyp_n = 'H' ) "Return Ord
APPEND WA_Transfers TO ITAB_Transfers.
ENDSELECT.
Cheers,
ChrisI am sending u some of the performance isuues that are to be kept in mind while coding.
1.Donot use Select *...... instead use Select <required list>......
2.Donot fetch data from CLUSTER tables.
3.Donot use Nested Select statements as. U have used nested select which reduces performance to a greater extent.
Instead use views/join .
Also keep in mind that not use join condition for more for more than three tables unless otherwise required.
So split select statements into three or four and use Select ......for all entries....
4.Extract the data from the database atonce consolidated upfront into table.
i.e. use INTO TABLE <ITAB> clause instead of using
Select----
End Select.
5.Never use order by clause in Select ..... statement. instead use SORT<itab>.
6.When ever u need to calculate max,min,avg,sum,count use AGGREGATE FUNCTIONS and GROUP BY clause insted of calculating by userself..
7.Donot use the same table once for Validation and another time for data extraction.select data only once.
8.When the intention is for validation use Select single ....../Select.......up to one rows ......statements.
9.If possible always use array operations to update the database tables.
10.Order of the fields in the where clause select statement must be in the same order in the index of table.
11.Never release the object unless throughly checked by st05/se30/slin.
12.Avoid using identical select statements. -
Setting agent's default state to Ready in CAD
Hi,
We are using UCCX 7.0 with CAD 6.0. Is it possible to set the default state of the agent to Ready when they login to their CAD.Right now, they go to the default Not Ready state one they login.
Thanks,
DMHi
By design CAD agent initial state after login is always not ready and there is no specific setting in uccx were you can change this behanviour.
However you can check this post were they suggest to create a MACRO
https://supportforums.cisco.com/message/3264497#3264497
Regards
Anuj -
SQL statement performance issues
Hi: A sql statement I have is taking too long to complete. But if I break the statement into two separate statements, it runs fine.
SQL 1 runs fine and returns 163.
SELECT /*+ FIRST_ROWS */ entity_group.entity FROM auth, entity_group, user_group WHERE entity_group.auth_group = user_group.groupid and user_group.userid = auth.id and auth.username = 'ing';
SQL 2 runs fine, prints about 20 records
select /*+ FIRST_ROWS */ EVENT_DATA.info from EVENT_DATA, AGENTS where EVENT_DATA.agent_id = agents.id AND agents.entity IN (163);
SQL 3 takes a long time to run. The field AGENT_ID is indexed in EVENT_DATA.
select /*+ FIRST_ROWS */ EVENT_DATA.info from EVENT_DATA, AGENTS where EVENT_DATA.agent_id = agents.id AND agents.entity IN (SELECT /*+ FIRST_ROWS */ entity_group.entity FROM auth, entity_group, user_group WHERE entity_group.auth_group = user_group.groupid and user_group.userid = auth.id and auth.username = 'ing');
Any suggestions on improving the SQL statement or finding out if anything is wrong with the database.
Thanks
RaviFirst, lose the hints, analyse your tables and let the CBO do its job. If it is not fast enough. then Nicolas' solution may be faster.
Another possible construct would be:
SELECT event_data.info
FROM event_data, agents,
(SELECT DISTINCT entity_group.entity
FROM auth, entity_group, user_group
WHERE entity_group.auth_group = user_group.groupid and
user_group.userid = auth.id and
auth.username = 'ing') eg
WHERE event_data.agent_id = agents.id and
agents.entity = eg.entityTTFN
John -
X301: 250 GB 5400 rpm vs 128 GB Solid State Performance - How Much Difference?
Any idea about how much faster XP Pro will boot with the 128 GB solid state drive vs the 5400 rpm 250 GB drive? And for apps like Word and Excel how much performance difference will there be when launching the apps (doesn't seem like it could be much more than a second or two)? Any idea of the real world performance for writes and reads in terms of Bytes per second? Any users have expereince with both drives using X301s?
The answer to your implied question, "Is 128GB big enough?" is Yes, 128GB is big enough for a Boot Drive.
Mac OS X may only take up 8 to 10GB, but developer tools adds a lot and if you install big Photo or Video Editing tools you might quickly end up at 40GB including Applications.
Mac OS X needs a Swap file and some Paging files as well, and if you do not have enough your Mac Pro will get really weird.
64GB is getting too close for comfort -- effectively too small.
128GB is NOT enough to also store your Photo collection, substantial Tunes Library, or Video editing files. If you have any of those, you will need to move them to a different drive, or get a MUCH larger and more expensive drive, or keep the bulk of them on an external drive that stays on your desk.
You also need a Backup Drive. -
UCCX 7.0 - Agents in reserved state and calls stuck in CSQ
Hello all,
I have got a following issue with our UCCX 7.0 installation - there is a team of agents and some of them intermittently stuck in reserved state for no reason.
I went to real-time reporting and found lot of calls stuck in CSQ, which I believe is related.
Other teams (which uses different IVR scripts) are not having these kind of problem - that led me to conclusion that something may actually be wrong with the scirpt itself. I am going to add "dequeue" step before "Goto VOICEMAIL" under transfer menu for all three options, but not quite sure if that is cause and solution for the problem. Could you guys take a quick look on attached script, I might be missing some part of picture here.
Thank you in advance,
PeterHi
Some things to check first:
1) Agents are not members of pickup groups - this is a common cause of such problems
2) Do the agents all receive calls sometimes? Are they all in the same partition? Verify that the UCCX CTI ports can call all of the agents...
3) Check the release notes : http://www.cisco.com/en/US/docs/voice_ip_comm/cust_contact/contact_center/crs/express_7_0/release/notes/uccx701rn.pdf
There is an 'unsupported actions' section that lists things agents should not do on Page 15 onwards. Pickup is the most problematic of these, but others are very common causes of stuck-in-reserved and stuck calls.... far more common than scripting errors. If in doubt, disable the options (by removing pickup groups from their lines, and assigning a softkey set that doesn't include the listed keys) and see how it goes...
I've had a quick look over your script and see no major cause for concern.
Regards
Aaron
Please rate helpful posts... -
Sql server 2000 stored procs vs. prepared statements performance
Hi
I have observed that using stored procedure in sql server 2000 is much much faster than using a prepared statements. I had worked with oracle before and did not notice this much difference. I would like to use prepared statements or regular sql (for dynamic sql creation) in my apps. Does anyone have any suggestions ?.
thanksHi
FYI
I figured out the slowness problem in using prepared statement (db - sql server 2000)was due to the Microsoft typ4 4 jdbc driver. When I used the jdbc driver from atinav, my prepared statements worked as fast as stored procs. -
IN UCXX 7.0 , every day two to three times ucxx agent are getting reserved starte, then we are restaring the CXX services.
As per cisco document, I enable the interruptible option under the palyprompt, but no any success.Hi
To figure out precisely the cause of the issue we will require in MIVR/CAD trace analysis. I will suggest you to open a TAC case in this regard.
Thank you
Anuj
Maybe you are looking for
-
Error Report on Duplicating Elements
An Error occured after duplicating an Elements. If you right click any item on the Elements it will show you an Error Message "An error occured. Please save your work and restart Edge Animate.".. Below are the steps to get the Error: 1. Right click a
-
Hi, I have these commands I need them to be entered in SQL Worksheet but I cannot import as a script and cannot execute more than one line at a time at "Enter SQL Commands". Filename: Demobld.sql. Error that comes up when importing: Your export file
-
keeps getting this message the whole day.
-
I have enabled the fly-out menu option on my SharePoint 2013 master page using the code below. Can someone tell me how to set the width of the background box? In Chrome the text is wider than the box, and in IE the box is really tall and narrow, an
-
[svn:fx-trunk] 10089: * Fix for InvalidStyleProperty formatting.
Revision: 10089 Author: [email protected] Date: 2009-09-09 09:05:48 -0700 (Wed, 09 Sep 2009) Log Message: Fix for InvalidStyleProperty formatting. QE notes: Doc notes: Bugs: Reviewer: Gaurav Cycloner: Tests run: checkintests Is noteworthy for i