Viewing 15 posts - 466 through 480 (of 22,189 total)
An index on the columns involved in ordering the data may also be useful. Testing is your buddy.
March 31, 2023 at 1:37 pm
What schedules the monthly change? Whatever that process is, just piggy back on it to then automate the procedure update at the same time.
March 31, 2023 at 1:35 pm
Insert operations can absolutely block one another. If a lock, or a latch, is held on a page by one operation, then other operations will wait for access. Latches are...
March 31, 2023 at 1:34 pm
All the DISTINCT operators... Either, your data structures are very poor, so you can't guarantee unique rows based on standard queries, or, someone thinks this is how all queries must...
March 30, 2023 at 12:32 pm
and speaking of blocking.
whoever did the code does not really understand what "SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;" and "with (nolock)" do.
apart from the fact that it allows you...
March 30, 2023 at 12:20 pm
The DBA's right about the concurrency issue. Also, you should really only create a clustered index on a temp table and it should be created before the table...
March 29, 2023 at 11:58 am
You're on the right track. Break it up into parts. If possible, get the log to simple recovery during the operation and keep it clear between chunks of processing. Otherwise,...
March 28, 2023 at 11:56 am
That's because based on your basic data set, no combination of server and database has a count above one. Put a second instance of Server4 db2 in there and you'll...
March 28, 2023 at 11:54 am
I'm sorry. I guess I completely misread that. I tracked down the DOP_FEEDBACK page, and yeah, it's not in Azure. Interesting.
Looking into it some more, the basic batch &...
March 24, 2023 at 6:13 pm
You can use sys.dm_db_index_usage_stats to see the information on how an index is behaving. I assume you're using that. However, as you find, that info resets for a number of...
March 23, 2023 at 11:40 am
In fact, the Microsoft documentation says just the opposite: "All IQP features are available in Azure SQL Managed Instance and Azure SQL Database." You can read about it here.
So,...
March 23, 2023 at 11:33 am
And get backups of your databases and test them by restoring them somewhere. Don't just take a backup. Test a restore too. It demonstrates that yes, the backup is good,...
March 22, 2023 at 12:40 pm
Yep, looks right to me too.
March 22, 2023 at 12:39 pm
As currently configured, to move an Azure SQL Database to on-premises, unless you're setting up a failover group (which, if you're using Managed Instance can be done), the only choice...
March 21, 2023 at 12:58 pm
Whatever will make the behavior the same. I can't tell from where I sit.
March 20, 2023 at 3:43 pm
Viewing 15 posts - 466 through 480 (of 22,189 total)