Viewing 15 posts - 19,486 through 19,500 (of 22,226 total)
While breaking up the files and filegroups as you've outlined will help, don't forget about the database log. It needs to be on a pretty fast disk (RAID 5 would...
"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
October 9, 2008 at 6:46 am
My experiences with virtualization haven't been terribly great either. To date, the technology I've seen all comes at a performance cost that most users don't want to pay. That said,...
"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
October 9, 2008 at 6:42 am
Based on the query that you've described, I'd say a clustered index on the Registration Number. You should probably experiment with a clustered index on the registration number and 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
October 9, 2008 at 5:53 am
I finally got one reply over in the Microsoft forum. Buck Woody, Microsofts SQL Server Program Manager, thinks it might be a bug. If anyone can replicate it, please go...
"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
October 8, 2008 at 1:29 pm
I still entertain myself counting the number of times people can fire a standard revolver without reloading. It's when you break 10 that things get really irritating.
"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
October 8, 2008 at 9:39 am
In addition to the query itself, you might want to check the statistics on your indexes. I don't know how many rows the query ought to return, but the index...
"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
October 8, 2008 at 9:37 am
When you deploy the stored procedures, they'll use the statistics to compile a new plan. If the statistics are maintained well enough for normal purposes, they'll be fine for this....
"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
October 8, 2008 at 8:08 am
If you're using table variables that are more than a few rows in size, switch them to temp tables. Except for a primary key, table variables have not statistics where...
"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
October 8, 2008 at 7:45 am
If you also get an execution plan, that will allow focus on the parts of the query that are causing the most problem.
First thing that jumped out at me was...
"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
October 8, 2008 at 7:42 am
Seriosly, this is way to big a topic to be answered in a post. Simply saying "customer feedback" is not nearly enough information to begin designing a database. You need...
"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
October 8, 2008 at 7:28 am
That really depends on the system. Most of our systems work just fine with the sampled statistics update, but we have a few tables on a few systems that need...
"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
October 8, 2008 at 7:10 am
Also, make sure you look up the right way to create a user, CREATE USER. A lot of our 2000 scripts were using sp_grantdbaccess, which will create a user, but...
"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
October 8, 2008 at 7:08 am
An index on Registrationno will help more if it's a clustered index. If it's a non-clustered index, the SELECT statement will force a key lookup either against whatever clustered index...
"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
October 7, 2008 at 11:18 am
I don't know. I got it from our server admin guys. They handle all the software versions, etc.
"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
October 7, 2008 at 10:51 am
That's wild, but as you say, at least you got a result. I'd be happy with a result, even a sub-standard one. Actually, I'd be happier with a sub-standard result....
"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
October 7, 2008 at 10:22 am
Viewing 15 posts - 19,486 through 19,500 (of 22,226 total)