Quantcast
Viewing all articles
Browse latest Browse all 3587

Re: strange cache problem

Thanks Jeff for your time.

 

I ran:

select getdate()

go

use <db_name>

go

query

go

select getdate()

go

select * from master..monProcessWaits where SPID=@@spid

go

 

Result:

!> cat lab_query_test_3.log

 

 

-------------------------------

             Mar  3 2016 12:18PM

 

 

xxxx query output xxxxxxx

 

(83403 rows affected)

 

 

-------------------------------

             Mar  3 2016 12:31PM

 

 

(1 row affected)

 

SPID        InstanceID KPID        ServerUserID WaitEventID Waits       WaitTime

----------- ---------- ----------- ------------ ----------- ----------- -----------

          97          0     8978501            9          29          87           7

          97          0     8978501            9          31           1           0

          97          0     8978501            9         214        4043          32

          97          0     8978501            9         250           6           8

          97          0     8978501            9         251         513        3511

 

 

(5 rows affected)

 

I am now going to re-collect query plans on primary and standby db.

 

Vincent


Viewing all articles
Browse latest Browse all 3587

Trending Articles



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