Viewing 15 posts - 406 through 420 (of 22,189 total)
Because of the row size limitation in SQL Server, I had to split the columns of a data warehouse table. The combined size of the rows exceeded the permitted...
July 18, 2023 at 10:27 pm
What performance problem are you trying to solve by splitting the table? Reads are likely to go up, not down (depending on quite a few details). Writes may go down,...
July 18, 2023 at 3:59 pm
Nothing jumps out as problematic, so it is going to be down to knowing the structures and execution plan. Without that, we can't even guess.
July 3, 2023 at 1:00 pm
Strong suggestion.
Restore the database as everyone has suggested. Then, before you change the compatibility level, turn on Query Store. Run the database for some time with Query Store enabled. A...
July 3, 2023 at 12:57 pm
What goes around comes around. The person you help today may remember you when they get their next position. There is a pleasure to be had when you hear...
July 3, 2023 at 12:46 pm
In general, T-SQL just doesn't lend itself to code reuse. I've seen lots of attempts at using functions as a way to turn T-SQL into more of a development language....
June 23, 2023 at 1:32 pm
I'd use CHARINDEX. You can search for an expression, as simple as looking for the space, within the string and return the value where that space is.
June 23, 2023 at 1:28 pm
If you're just talking VMs on Azure, yeah. Same behaviors as VMs anywhere else. If you're talking Managed Instance or Azure SQL Database, different rules. Very.
June 8, 2023 at 12:44 pm
Aggregation versus sorting. A lot less work to sort than aggregate. Also, a join operation versus none.
Also, you can get much more accurate measures if you use Extended Events.
June 8, 2023 at 12:43 pm
Yeah, I'm a little surprised they don't have either Query Store or Extended Events working on it. Seems like a necessity. The DMVs are nice, but cache dependent, so it's...
June 7, 2023 at 7:01 pm
3rd party solution (my employer), Redgate Software makes a tool, SQL Compare, that can actually look directly at the backup file and compare that to a database to find differences....
June 6, 2023 at 5:35 pm
If you can't guarantee, 100%, that most (read that as 98% or more) of the queries will be able to filter on the partitioning column(s), then whatever you do, don't...
June 6, 2023 at 11:57 am
You want to look up the WITH MOVE syntax. You can restore to a new database name, but only if you also move the storage location for the database.
June 6, 2023 at 11:52 am
First things first, just so you know, despite the name, Profiler in Azure Data Studio isn't Profiler. It's a wrapper around Extended Events. You can expand and extend what gets...
June 6, 2023 at 11:50 am
Viewing 15 posts - 406 through 420 (of 22,189 total)