Viewing 15 posts - 8,116 through 8,130 (of 22,219 total)
Yes, you look at the foreign key relationships.
"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 16, 2014 at 5:05 am
Ed Wagner (5/15/2014)
SQLRNNR (5/14/2014)
Luis Cazares (5/14/2014)
I'm afraid, "he-who-shall-not-be-named" is back in the forums.I hope that I can behave well enough.
Who? Tom Marvolo Riddle?
You know, I think that was a...
"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 15, 2014 at 5:30 pm
Oh, sounds like what we used to call the Logical Modeling Team. And **** NO they weren't in charge of us! When I started at the company, the DBAs did...
"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 15, 2014 at 5:29 pm
In general, if you have the name Architect in your role, I would assume you're, at least potentially, a step up over the DBA. I filled that role (didn't have...
"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 15, 2014 at 4:13 pm
You've got a bunch of stuff that's going to lead to scans. Adding columns like this:
(prev_stat.BIZ_YEAR + prev_stat.BIZ_MONTH)
For a comparison will prevent statistics use and lead to scans. Functions on...
"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 15, 2014 at 12:17 pm
Glad you found the answer. I always go back to Microsoft for licensing questions. They're going to be the ones to enforce it, so you might as well find out...
"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 15, 2014 at 12:09 pm
Absolutely. Just go here to sign up for a free trial[/url]. If you have an MSDN license, you have up to $150 in credit you can play with in Azure.
"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 15, 2014 at 12:08 pm
Or upgrade to 2014.
According to MS, that column was added with 2012, so all you can do is left joins to the sys.dm_exec_requests.
Although, you might take a look at Adam...
"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 15, 2014 at 11:46 am
If it's a one time thing, shrink it. One, two or three shrinks over the life of a database is no big deal. It's the people scheduling monthly, weekly, daily...
"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 15, 2014 at 11:26 am
The good news is, you have full optimization, so the optimizer didn't time out leaving you with a junk plan. The bad news is, yikes.
I suspect you may have 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 15, 2014 at 10:18 am
Either google-fu is failing me or I'm delusional about the recording of the discussion (both possible). Sorry.
"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 15, 2014 at 10:03 am
No, i'm sorry Stefan, I don't have a specific resource on that one. It's something that came out of multiple talks with Oracle people to get an understanding of what...
"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 15, 2014 at 10:00 am
To a degree, what people think of as cursors in Oracle (and maybe in other DBMS, I'm not sure) are two things, one of which we have in SQL 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 15, 2014 at 9:34 am
Assuming TableA is the parent to TableB and that's the parent to TableC, then your delete order should be:
TableC
TAbleB
TableA
If you try anything else, you'll get referential constraint errors, 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 15, 2014 at 7:15 am
Data can be cached on the servers outside SQL Server, then the queries against SQL Server won't ever show that data. But that's the only thing I can think of...
"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 15, 2014 at 5:47 am
Viewing 15 posts - 8,116 through 8,130 (of 22,219 total)