Viewing 15 posts - 466 through 480 (of 22,219 total)
Let's be clear up front, there is no such thing as an "estimated" or "actual" plan. There is an execution plan. And then, there's an execution plan with the...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
May 10, 2023 at 12:38 pm
On top of all this, remember that the execution plan for a MERGE operation is made based on the values initially passed. So, you may have a merge that's all...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
May 10, 2023 at 12:27 pm
I agree with Johan, DBATools is the better approach. You can just script out the logins using SSMS or ADS and then run the scripts on the second server.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
May 10, 2023 at 12:23 pm
Someone has to set the recovery model of the database. They don't change randomly. Now, if the full backup of a database was in a different recovery model than the...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
May 8, 2023 at 1:25 pm
Well, I hope you both get a little refresh going. I'm feeling a bit more on it today after playing radio all day Saturday (Tour De Tulsa, bike rides and...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
May 8, 2023 at 12:14 pm
Through SQL? No. It's a command line driven process. Powershell is how I would do it. Check out DBATools.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
May 5, 2023 at 1:52 pm
Were both these generated by ChatGPT?
The first question ranges all over the place. The first paragraph is all about performance, then the second is data analysis. Which are you really...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
May 5, 2023 at 1:03 pm
Why not take a backup, transfer that, restore it? I'm lazy too.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
May 4, 2023 at 1:19 pm
Just remember, Managed Instance is a SQL Server instance. The server aspects are gone, so no worries about that. However, all the internals are still there. So, database consistency, that's...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
May 4, 2023 at 1:15 pm
I don't have an answer or even a guess. Hang on though. I'll see if I can get some help.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
May 4, 2023 at 12:31 pm
What you're seeing there is the internal server name. It's not actually a database, but the VM on which your databases are running. I don't have all the internals access...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
May 3, 2023 at 12:41 pm
Instead of quoting the column names - I would recommend changing the names to something else. For example:
plan_name instead of [Plan]
total_count instead of [Count]
total_amount_dollars instead of [Amount ($)]
Makes it...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
May 2, 2023 at 12:07 pm
Are there constraints on the tables you're inserting to? I'm with everyone else, not enough information to make a single suggestion, not even a guess.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
May 2, 2023 at 12:05 pm
So, I did a little experiment with ChatGPT. I'd strongly exercise caution using it.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
April 10, 2023 at 2:57 pm
Also, all previous recordings from all previous Summits are on Youtube. Well, all Summits that had recordings available. I think it only goes back a few years to 2017.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
April 10, 2023 at 1:05 pm
Viewing 15 posts - 466 through 480 (of 22,219 total)