Viewing 15 posts - 13,756 through 13,770 (of 22,219 total)
Sounds like you got past the issue. I strongly recommend the approach you took, rewriting the query to use better mechanisms as a tuning method. I really, really, hate 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
December 29, 2010 at 6:32 am
GSquared (12/28/2010)
What I recommend, however, is if the data is the same in each database, move it to one database and have 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
December 29, 2010 at 6:28 am
Steve Jones - SSC Editor (12/28/2010)
WayneS (12/28/2010)
(From a higher...
"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
December 29, 2010 at 6:22 am
WayneS (12/28/2010)
(From a higher level) How to set up...
"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
December 29, 2010 at 6:19 am
Henry Treftz (12/28/2010)
"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
December 28, 2010 at 12:33 pm
wendy elizabeth (12/28/2010)
"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
December 28, 2010 at 12:03 pm
It's running then. No other way to be sure what it's doing. You can use the offset to understand which statement is currently being run, assuming that's useful. Otherwise, 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
December 28, 2010 at 11:19 am
I'd take a look at sys.dm_exec_requests and see what that process is doing. What's it waiting on? Is it blocked? All that stuff.
In general, yes, I'd break this down into...
"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
December 28, 2010 at 9:38 am
You can use the Dynamic Management Object sys.dm_sql_referenced_entities to gather the tables & views referenced by a procedure. That assumes that the procedure is not dynamic SQL 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
December 28, 2010 at 9:32 am
sawantpl@gmail.com (12/28/2010)
Thanks Grant Fritchey.Can you please complete my example & give solution for 3NF.
Honestly? I don't think so. I don't have enough understanding what that data represents to give 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
December 28, 2010 at 9:09 am
Short answer, right at the beginning.
Just be careful with the nomenclature. Schema can mean the database design and it can mean the owners of the objects within the database....
"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
December 28, 2010 at 8:45 am
We did this 18 months ago. We were able to schedule downtime, so we went with the simple process of a backup, copy & restore to move the databases to...
"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
December 28, 2010 at 8:31 am
Only as you implement more and more functionality, Reporting Services, Analysis Services, otherwise, by and large, running the SQL Server service is about the same. However, we have hundreds 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
December 28, 2010 at 8:17 am
I've seen errors like this and they've always been a security issue. I'd double check that the job is running under the account you think it is and that 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
December 28, 2010 at 8:13 am
Export the stored procedures out to a script or set of alter scripts. Make the changes in the scripts. Run the scripts against the server.
For a mechanism to automate...
"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
December 28, 2010 at 8:04 am
Viewing 15 posts - 13,756 through 13,770 (of 22,219 total)