Viewing 15 posts - 8,176 through 8,190 (of 22,219 total)
The ANSI connection settings can be changed by the connecting application. That's where I'd focus.
"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 13, 2014 at 6:01 am
And if that index is needed by the queries, while it's gone you'll see table scans instead of index access, so that impact could be substantial.
"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 13, 2014 at 6:00 am
It depends. A common practice for large data loads is to drop the indexes because they're not used during inserts and then recreate them after the inserts are complete. In...
"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 13, 2014 at 5:59 am
Well, a lot of the information is right there in the SQL Server documentation. A GUID is 16 bytes while a bigint is 8 bytes. That alone affects the distribution...
"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 13, 2014 at 5:56 am
In theory, the estimated values are a measure of the resources needed to execute a query. But they're just mathematical constructs with no actual relation to reality. Further, those constructs...
"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 13, 2014 at 5:42 am
OK. I think I somewhat understand now. The thing is, you're going to NULL values, you have to. You have a mismatched set of rows across the tables, so 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
May 13, 2014 at 4:35 am
Never tried that. I'd just uninstall and reinstall. Safer that way.
"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 12, 2014 at 4:09 pm
So, I'm unclear how your tables map together. What are the primary and foreign keys that define the relationships. That ought to drive us towards a meaningful query. As 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 12, 2014 at 4:08 pm
Stefan Krzywicki (5/12/2014)
Ed Wagner (5/12/2014)
Stefan Krzywicki (5/12/2014)
TomThomson (5/12/2014)
Ed Wagner (5/12/2014)
Sean Lange (5/12/2014)
Lynn Pettis (5/12/2014)
Sean Lange (5/12/2014)
Ed Wagner (5/12/2014)
"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 12, 2014 at 3:04 pm
Didn't the query show you what was in the memory? It came from somewhere on the system within your SQL server instance. Maybe it's just all index maintenance scripts that...
"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 12, 2014 at 10:15 am
John Mitchell-245523 (5/12/2014)
Indeed. Hence the warning about performance.John
I do occasionally have reading problems. And this was one of them. Apologies.
"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 12, 2014 at 10:00 am
Of course, the function on that column will preclude index seeks.
"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 12, 2014 at 9:54 am
I'm with Gail. I'm just guessing without an execution plan.
And joining millions of rows is more costly than simply selecting millions of rows. That's just how it works. Joining 2...
"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 12, 2014 at 9:48 am
Without seeing the execution plan we're just guessing, but this index:
pk_ss_pLevelID clustered, unique, primary keylocated on PRIMARY pLevel, pLevelID
Strikes me as potentially problematic. What does the data in pLevel look...
"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 12, 2014 at 8:58 am
You can just go and look at it. Here's a blog post from Microsoft that shows how.
Even if the database hasn't been touched for weeks, if it was in use,...
"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 12, 2014 at 8:11 am
Viewing 15 posts - 8,176 through 8,190 (of 22,219 total)