Quantcast
Channel: Ivanti User Community : All Content - Console
Viewing all articles
Browse latest Browse all 607

LANDesk query causing SQL 2014 CPU utilization spikes at 100%

$
0
0

Hi All,

 

 

Hoping someone is able to assist with this.  I have been working with our imaging and software deployment team on troubleshooting an issue with our recent upgrade to LANDesk 9.6 SP2 and move to SQL 2014.  I noticed that one of their queries was causing the CPU utilization on the SQL server to constantly spike at 100%.  I asked them to disable the query in the mean time, but I am hoping someone can shed some light on a way to optimize this query to avoid the current impact it is having on our SQL server. Any thoughts would be appreciated, thank you.

 

 

selectdistinct LT.APM_POLICY_USERS_IDN, C.Computer_Idn from LD_LDAP_TARGETS LT, LDAPUserGroups C, APM_POLICY_USERS APU where (APU.APM_POLICY_USERS_IDN = LT.APM_POLICY_USERS_IDN)and(LT.LD_TASK_IDN = @1)and(APU.USER_NAME= C.NAME or C.NAME like APU.USER_NAME)and 0 =(SELECTCOUNT(*)FROM LD_LDAP_TARGETS LDAP WHERE LDAP.LD_TASK_IDN = @2 AND LDAP.APM_POLICY_USERS_IDN = APU.APM_POLICY_USERS_IDN AND LDAP.COMPUTER_IDN = C.COMPUTER_IDN)

 


Viewing all articles
Browse latest Browse all 607

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>