EXEC sp_configure 'optimize for ad hoc workloads', 1 is hanged


 sp_configure 'optimize ad hoc workloads', 1 ......... taking hours complete   (spid 64)

 cmd in sysprocesses raiseerror , , once spid 64 killed spid 85 , spid 85 having wait type

preemptive_os_reportevent. (not info available os waits ..)

1>how can check os level .. whether both doing ..

2> how rid of both spid in scenario ..

spid

program_name

cmd

status

waittype

lastwaittype

cpu

64

microsoft sql server management studio - query

killed/rollback

runnable

0x01ee

preemptive_os_reportevent

16

85

microsoft sql server management studio - query

kill process

runnable

0x01ee

preemptive_os_reportevent

47



both spid having status runnable .. cancel request not take effect ...

i need close\clear both spid's without sql restart ... related preemptive_os_reportevent waits great ..




SQL Server  >  SQL Server Database Engine



Comments

Popular posts from this blog

Motherboard replacement

Cannot create Full Text Search catalog after upgrading to V12 - Database is not fully started up or it is not in an ONLINE state

Remote Desktop App - Error 0x207 or 0x607