Viewing 15 posts - 9,976 through 9,990 (of 22,219 total)
Default ANSI connection settings maybe?
Take a look at the SELECT operator in both plans. Compare every value. What's different?
"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
March 13, 2013 at 5:01 am
A million individual insert statements is a horrible approach. Period. Doing it within a single transaction will be painful because you're going to have to have a huge transaction log...
"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
March 13, 2013 at 4:59 am
Without the execution plan to look at details, it's hard to know. Recommended indexes are just suggestions. First, I'd take a look at the SELECT operator to see if you're...
"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
March 13, 2013 at 4:56 am
You're getting type conversions on a couple of the columns. I'd look to see if that might be causing issues. Also, a Nested Loops join for millions of rows with...
"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
March 13, 2013 at 4:50 am
PhilM99 (3/8/2013)
So why don't I write: My experiences constantly teach me: YOU KNOW NOTHING!
I agree. Constantly learning. I write anyway because someone has to do it. And yeah, the old...
"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
March 8, 2013 at 9:32 am
Bhuvnesh (3/8/2013)
Grant Fritchey (1/31/2013)
Get a copy of SQL Server 2008 Internals by Kalen Delaney. Then read it 100 times. You'll still be confused (as I am) but less so.
Grant,...
"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
March 8, 2013 at 4:23 am
karthik M (3/8/2013)
is this a secret maintened by microsoft ? 🙂
Short answer, yes.
Longer answer, Microsoft publishes some of the internals because it helps people understand how or why things are...
"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
March 8, 2013 at 4:21 am
GilaMonster (3/7/2013)
Unless the data's small enough it can manage entirely within the memory grant. Not much chance of that except with trivial data.
Not arguing, just clarifying, won't it allocate some...
"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
March 7, 2013 at 9:34 am
I sure wouldn't turn on both. In fact, I'd suggest just using 1222, not 1204.
How about taking a look at the system_health extended event session. It automatically captures full deadlock...
"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
March 7, 2013 at 9:11 am
I don't have a document I can share with you. Sorry. Maybe something I need to write up.
The maintenance that is available to you with Azure SQL Databases is limited...
"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
March 7, 2013 at 6:41 am
In general, if I'm going to have to fix it, I want control over it. It's that simple. They're trying to give you the responsibility without giving you the authority....
"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
March 7, 2013 at 6:24 am
That's an extremely open-ended question. The problem is, the daily duties vary from one organization to the next. Further, they vary from one group within the organization to the next....
"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
March 7, 2013 at 6:19 am
I'll be perfectly honest, I don't understand most of what you're trying to describe.
From the description, you've wondered extremely far afield of traditional relational storage. As soon as you...
"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
March 7, 2013 at 6:15 am
The query engine will do what it does. That's in the internals. No way to know without a debugger or insider knowledge. It will use tempdb though.
"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
March 7, 2013 at 5:55 am
And you really can't use those costs to compare one query to another because of what everyone else has said. Within a given query, you have to use the costs...
"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
March 1, 2013 at 6:54 am
Viewing 15 posts - 9,976 through 9,990 (of 22,219 total)