Viewing 15 posts - 331 through 345 (of 22,184 total)
That's about 5% of the table, so it's unlikely that an index will help tons. However, have you looked at the execution plan for the DELETE statement? How is it...
October 23, 2023 at 2:17 pm
I sure don't mean for it to be false praise, or even praise for nothing. I've just seen a few people get... for want of a term, upset when they...
October 21, 2023 at 4:05 pm
Focus on the fact that what you're looking at are databases. Ignore the concept of a server. Yeah, it's still there, but it's radically easier to make the shift if...
October 17, 2023 at 1:37 pm
Starting with the execution plan, you have a lot of issues. This is in no way a simple query. And views that join other views calling other views and functions,...
October 17, 2023 at 1:31 pm
Partitioning is a data management process, not a performance enhancement process. In fact, unless you can with 100% accuracy, guarantee that ALL queries against a partitioned table will be using...
October 17, 2023 at 1:06 pm
I am not sure profiler would be of much use to you even if it did support it, Synapse doesn't work the same way as a traditional SQL server...
October 17, 2023 at 12:52 pm
I'd need to see the execution plan to see how the queries are being resolved in order to make suggestions for improvement.
October 12, 2023 at 1:27 pm
Always? Every time? Hell no.
Frequently? Yeah, probably. If you're doing new or different functionality, then it's probably a good idea to have different structures to appropriately support that functionality. That's...
October 12, 2023 at 12:18 pm
I know you said the environments are essentially the same, but then you list a number of differences. It's likely that the reason you're seeing it one environment and not...
October 12, 2023 at 12:16 pm
What about simplifying this a bit and just use the TOP command. All you need is the ORDER BY. You don't have to go into all that row number...
October 12, 2023 at 12:13 pm
It should look something like this: hamshackserver.database.windows.net
You just have to edit 'hamshackserver' to be whatever you named your server instance where the database lives.
You'll also have to allow your IP...
October 11, 2023 at 12:07 pm
In addition to what Johan has pointed out, you can also use Extended Events to capture log behaviors, including the query that sparked them. Here's another article by Paul...
October 10, 2023 at 12:37 pm
In addition to all the other good advice, look at the logic of the query. Filter data on retrieval instead of loading everything into temporary tables for processing.
September 28, 2023 at 12:34 pm
I'm with Jeff.
Let's just clarify a bit though. Dimensional modeling is a good thing, for certain kinds of queries. It's not a good thing for other kinds of queries. So,...
September 27, 2023 at 12:39 pm
The default value was set in 1998 on SQL Server 7. It's utterly and completely out of date. It bears no relation to the modern world. It should be a...
September 27, 2023 at 12:33 pm
Viewing 15 posts - 331 through 345 (of 22,184 total)