Forum Replies Created

Viewing 15 posts - 526 through 540 (of 22,184 total)

  • Reply To: Query tuning

    vsamantha35 wrote:

    Other thing is, SQL optimizer has not suggested any missing indexes in the actual execution plan.

    We are on SQL Server 2017 EE.

    The optimizers suggesting for missing indexes are, at...

  • Reply To: Triggers and constraints

    Should be relatively straightforward. A check constraint will have to perform some action to validate the data, let's keep it simple and say all values have to be > 0....

  • Reply To: Query performing slow in SQL 2016 with compat level (130)

    So, performance comes down to identical behaviors. A similar query running on a similar structure with similar data sets may, yeah, perform wildly different. This is because every little thing...

  • Reply To: Azure SQL

    Oh yeah, take a look at the execution plan. You can just get an estimated plan, you don't have to execute the query. That will show you all the activity...

  • Reply To: Azure SQL

    Almost impossible to tell you exactly what is wrong without more data. It could be as simple as you didn't commit your transaction. It could be blocking. Assuming you have...

  • Reply To: Coalesce performance issue

    It's simple. COALESCE as part of filtering criteria, WHERE/ON/HAVING, means that statistics and indexes can't be used becuase you're making a calculation. That's going to slow things down, leading to...

  • Reply To: Looking for guidance on perf issue

    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, to...

  • Reply To: Question related to functions

    I once built a system that could query for query text and then execute that. It was a way to intentionally allow people to inject SQL code into the system...

  • Reply To: slow insert query

    It's going to be the same as the other stuff we've been talking about. You have to capture metrics that show where the slow points are. Extended Events are your...

  • Reply To: slow insert query

    It's going to be the same as the other stuff we've been talking about. You have to capture metrics that show where the slow points are. Extended Events are your...

  • Reply To: query tuning general question

    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 a...

  • Reply To: query tuning general question

    Oof. Trace. Not extended events. These are even more resource intensive than extended events. I'd turn them ALL off and go with XE, especially because your system is already under...

  • Reply To: query tuning general question

    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 at...

  • Reply To: options for querying external data sources from SQL Server

    pietlinden wrote:

    Oh, super cool!!! I guess I'll look around for tutorials on it. You wouldn't happen to know any, would you? (Check learn.microsoft etc?)

    I don't have one I can recommend,...

  • Reply To: misleading blocking

    Have you captured the blocked process report? That's going to show you the precise blocking chain. You'll have a total story, and one that cannot be argued with. And yeah,...

Viewing 15 posts - 526 through 540 (of 22,184 total)