Viewing 15 posts - 31 through 45 (of 134 total)
I am using this to get active connections. However that looks like to be current connections, I need connection details which were 1 hour ago..is that possible?
SELECT DB_NAME(dbid) AS DBName,
COUNT(dbid) AS NumberOfConnections,
loginame
FROM sys.sysprocesses
GROUP BY dbid, loginame
ORDER BY DB_NAME(dbid)
June 25, 2020 at 4:11 pm
@Grant Fritchey : Thank you, sir, for your response and time and truly appreciate your advice. It always helps!
I learned about APPROX_COUNT_DISTINCT 🙂
June 23, 2020 at 9:19 pm
Thanks, I was able to use the DISK Usage by Table report which I was thinking about, and it shows #record for that table.
June 22, 2020 at 8:35 pm
PFA, thanks! please unzip the folder and you might have to open the anonymized plan in sql sentry explorer. Apologize for any inconvenience caused do not know any better way yet.
June 8, 2020 at 6:50 pm
Sorry for the inconvenience, I uploaded the zipped format of sql sentry cost explorer plan. So, I think you might need to view it.
June 8, 2020 at 4:47 pm
I was able to attached the plan, please look at the actual plan and let me know your thoughts. Thanks!
June 5, 2020 at 8:50 pm
Thanks! I do have the sql sentry ...so let me try to anonymize the plan ....this is a great tip!. Yes, I will be downloading the book and thanks for...
June 5, 2020 at 8:12 pm
Great, Thanks!! yes, I was able to do SP call in the test environment and generate the actual plan. Attached. Please let me know your thoughts, I do not want...
June 5, 2020 at 5:50 pm
Yes, I selected the code generated using sp_helptext ...and then for that code, I generated the estimated plan.
June 4, 2020 at 6:37 pm
So, I am actually doing the high level package review, where I want to rule out if the code snippets can be optimized in any way. So, I got the...
June 4, 2020 at 6:03 pm
Also, please suggest any idea for sending an alert when sql service stops on any instance..? thanks!
June 3, 2020 at 9:03 pm
Couple of good points there so great help, thank you!
May 26, 2020 at 7:56 pm
Thanks guys, yeah, space issue has been discussed, however all of sudden I see someone running some query which is not using dbo prefix, having select * statements, playing with...
April 16, 2020 at 7:07 pm
OK, thanks for some good tips.
From what I see we have 5 logical files of type rows and 1 log file. Autogrowth is none for primary and log has 64MB...
April 16, 2020 at 5:24 pm
Viewing 15 posts - 31 through 45 (of 134 total)