Viewing 15 posts - 121 through 135 (of 543 total)
Other thing is, SQL optimizer has not suggested any missing indexes in the actual execution plan.
We are on SQL Server 2017 EE.
February 17, 2023 at 4:23 pm
Your query can be simplified to this:
SELECT TOP(11)
c.rowid_object,
c.creator,
...
February 17, 2023 at 4:15 pm
Can we use lastbatchtime and get the difference between lastbatch and getdate() for this ?
February 17, 2023 at 8:47 am
repro
======
use testdb
go
CREATE TABLE [dbo].[DEPT](
[DEPTNO] [int] NOT NULL primary key,
[DNAME] [varchar](14) NULL,
[LOC] [varchar](13) NULL,
)
INSERT [dbo].[DEPT] ([DEPTNO], [DNAME], [LOC]) VALUES (10, N'ACCOUNTING',N'NEW YORK')
INSERT [dbo].[DEPT] ([DEPTNO], [DNAME], [LOC]) VALUES (20, N'RESEARCH',N'DALLAS')
INSERT [dbo].[DEPT] ([DEPTNO],...
February 16, 2023 at 7:48 pm
PFA bpr sample report.
February 16, 2023 at 7:40 pm
It does. It's just not obvious when looking at the XML. You can open the blocked process report as a report which will resolve the values for you. However,...
February 16, 2023 at 7:38 pm
A bunch to unpack here. Let's start with the nerdier stuff.
You list a bunch of events for capturing query metrics, but, you're missing a few, sp_statement_completed for example, since...
February 15, 2023 at 2:53 pm
You don't want any one session to do too much. It makes it harder to distinguish the information, search for what you want, etc.. Plus, you put more of...
February 15, 2023 at 6:03 am
Sir, is that a good thing to have 2 separate XE's , one for collect sql stmts and another one for collecting blocked processes on two different drives or one...
February 14, 2023 at 9:32 pm
I will be scripting it out as server side trace . Make changes (filename, maxfilesize,rollover etc) and then convert into an Extended Event using Jonathan's script
https://www.sqlskills.com/blogs/jonathan/converting-sql-trace-to-extended-events-in-sql-server-2012/
Sir, one thing I want...
February 14, 2023 at 9:17 pm
Is the blocked process report running as part of query collection? It shouldn't separate those out. One as one session. One as another. And, yeah, capturing query metrics, especially...
February 14, 2023 at 8:35 pm
Just to prove Grant's statement a little more, here's a quick demo.
So you can see that the first SELECT
, which wants rows on or after the...
February 14, 2023 at 7:48 pm
Education.
Get extended events out and set up data collection. Show them how long queries take. Show them how blocking works, and how sometimes, you simply can't guarantee 2 seconds...
February 14, 2023 at 7:39 pm
Thank you Ken for the wise advise. As of now, it got escalated.
February 14, 2023 at 7:28 pm
I am already using it but not helpful in my case it is giving only the current sql stmt.
February 14, 2023 at 9:30 am
Viewing 15 posts - 121 through 135 (of 543 total)