re: Who is Active v11.00 (A Month of Activity Monitoring, Part 27 of 30)
@AlanCapture to a temp table, and use DATEDIFF on the start_time and collection_time columns.--Adam
View Articlere: Who is Active v11.00 (A Month of Activity Monitoring, Part 27 of 30)
Just started tinkering with this the other day. Is there a way to get the duration (dd hh:mm:ss.mss) in a numerical format? Our server has dozens of databases and in order to hone in on global...
View Articlere: Who is Active v11.00 (A Month of Activity Monitoring, Part 27 of 30)
@Firasath:Glad it's been of good use to you!CPU: MillisecondsReads/Writes: Logical reads, physical writes. (See physical_reads for the physical reads.) Measured in 8kb pages.used_memory: Memory...
View Articlere: Who is Active v11.00 (A Month of Activity Monitoring, Part 27 of 30)
sp_whoisactive has been immensely helpful, thank you :) . I do have few questions.EXEC dbutil.dbo.sp_WhoIsActive @output_column_list = ' [dd%] [session_id] [sql_text] [sql_command] [login_name]...
View Articlere: Who is Active v11.00 (A Month of Activity Monitoring, Part 27 of 30)
sp_whoisactive has been immensely helpful, thank you :) . I do have few questions.EXEC dbutil.dbo.sp_WhoIsActive @output_column_list = ' [dd%] [session_id] [sql_text] [sql_command] [login_name]...
View Articlere: Who is Active v11.00 (A Month of Activity Monitoring, Part 27 of 30)
@SteveHappy to help.What do you mean by "a lot of red?" What steps are you taking (i.e. what does "load [the] script" mean to you), and what are the actual errors you're seeing?--Adam
View Articlere: Who is Active v11.00 (A Month of Activity Monitoring, Part 27 of 30)
Hello Adam,I've just stumbled across this site and I hope you're still at it.Even though I've been in the IT since the beginning of IT time (yes, I started with computers before the PC...1980), I'm new...
View Articlere: Who is Active v11.00 (A Month of Activity Monitoring, Part 27 of 30)
@Adam,Did you find any fix on this. Thanks.
View Articlere: Who is Active v11.00 (A Month of Activity Monitoring, Part 27 of 30)
Thanks again, Ram. I'll investigate. I'm pretty sure I know what the problem is.
View Articlere: Who is Active v11.00 (A Month of Activity Monitoring, Part 27 of 30)
Hi Adam,Here are the details. Collation on the instance: SQL_Latin1_General_CP1_CI_ASDoes windows use a language other than US?Windows server is configured to use English (United States) language and...
View Articlere: Who is Active v11.00 (A Month of Activity Monitoring, Part 27 of 30)
@Ram,More important is the locale setting -- i.e. what's the collation on the instance? Does Windows use a language other than US English?Also: Does this ALWAYS happen?
View Articlere: Who is Active v11.00 (A Month of Activity Monitoring, Part 27 of 30)
Hi Adam,I'm using sql server 2012.Microsoft SQL Server 2012 (SP1) - 11.0.3000.0 (X64) Oct 19 2012 13:38:57 Copyright (c) Microsoft Corporation Enterprise Edition: Core-based Licensing (64-bit) on...
View Articlere: Who is Active v11.00 (A Month of Activity Monitoring, Part 27 of 30)
@Ram,Please share some more information: - What locale settings did you use? - What exact version of SQL Server are you running?Thanks,Adam
View Articlere: Who is Active v11.00 (A Month of Activity Monitoring, Part 27 of 30)
I too received the below error when i was running this stored procedures as job. As mentioned by Brian Jensen there may be a slight problem with datetime. Nothing is running except the sql server...
View Articlere: Who is Active v11.00 (A Month of Activity Monitoring, Part 27 of 30)
Adam,Normally this sp runs without incident however I had it set on a phased 30 second poll to table over a series of a day to gather metrics and it ended up hitting the below error. Versioning info I...
View Articlere: Who is Active v11.00 (A Month of Activity Monitoring, Part 27 of 30)
Hi Brian,Interesting. Do you have any really long-running sessions? I wonder if one of the internal checks was near the threshold or something...
View Articlere: Who is Active v11.00 (A Month of Activity Monitoring, Part 27 of 30)
Hi, thank you for this very nice procedure :)I think there may be a slight problem with datetimes (else I misconfigured something).I was running the procedure as a SQL job, and it started failing...
View Articlere: Who is Active v11.00 (A Month of Activity Monitoring, Part 27 of 30)
And to your point on update stats: they are upto date.And this is a pretty heavy server, with 12 TB data, spread across 48 Luns, and major big tables partitioned by date. I do have on all the...
View Articlere: Who is Active v11.00 (A Month of Activity Monitoring, Part 27 of 30)
We kind of got it to from worst to better now. The server is a 8 physical cpu*6 hyper thread ratio, making it 48 logical CPU count with 256 GB physical memory, with sql set to about 240 GB. We were...
View Articlere: Who is Active v11.00 (A Month of Activity Monitoring, Part 27 of 30)
Hi Suresh,Sounds like someone changed something. (Even if they deny it :-).) Do you have a change control process of some sort?Either that, or stats have gotten out of date. I might start by simply...
View Article