Viewing 15 posts - 44,701 through 44,715 (of 49,571 total)
Task manager's a bad way to see SQL server's memory. Use perfmon rather and look at the total server memory and target server memory (under SQL server:Memory manager) and the...
September 4, 2008 at 9:57 am
parackson (9/4/2008)
Calling out an index has not always been productive but no matter what NOLOCK would always speed up a query...
I've already put in my 2 cents on nolock... I'll...
September 4, 2008 at 9:38 am
The databases are marked suspect and are not accessible? Do you have up-to-date backups?
Just to confirm, you are using SQL 2005?
September 4, 2008 at 9:36 am
Primary key:
SELECT name from sys.tables where objectproperty(object_id,'TableHasPrimaryKey') = 0
Clustered index:
SELECT name from sys.tables where objectproperty(object_id,'TableHasClustIndex') = 0
September 4, 2008 at 2:51 am
parackson (9/3/2008)
Add "WITH (NOLOCK)" to each and every table in your join statments. If you can call out an actual index this can help.
Just bear in mind that NOLOCK...
September 4, 2008 at 2:35 am
Lock pages is ignored by standard edition.
What's your SQL service's max and min memory set to?
Also, check the disk performance. Run perfmon for a while (24 hours or so) preferably...
September 4, 2008 at 2:31 am
http://sqlinthewild.co.za/index.php/2007/11/15/execution-plan-operations-scans-and-seeks/
http://sqlinthewild.co.za/index.php/2008/08/28/an-example-exec-plan/
In essence, it's a single row seek to either the clustered index or the heap to get columns that are needed, but not present in the nonclustered index that was...
September 4, 2008 at 2:24 am
Rather don't run the profiler GUI on the server. That's one of the highest-impact ways to run profiler. If the server is busy, or you're tracing frequent events, rather use...
September 4, 2008 at 2:19 am
OLAP/OLTP isn't a database type distinction. It referes to how the DB is used.
OLTP - Online transaction processing. So if the DB is constantly getting small requests from a time-critical...
September 4, 2008 at 2:08 am
Rather ensure that your web app is using only stored procedures, calls them using parameters and that the web user has no rights to any of the base tables. That...
September 4, 2008 at 2:04 am
Just bear in mind that currently SQL 2005 is not completely supported on any form of virtual machine and that SQL 2008 is only currently completely supported on Hyper-V
September 4, 2008 at 1:30 am
Jeff Moden (9/3/2008)
September 4, 2008 at 1:24 am
First thing is that there's absolutely no need for the temp table. Just do the select straight with the order by included.
Which tables is it scanning and what do the...
September 3, 2008 at 1:23 pm
Then implement some backup jobs. Next time it could be you getting the written warning, or fired. You won't be able to say 'I didn't know there weren't backups'
If the...
September 3, 2008 at 12:46 pm
Viewing 15 posts - 44,701 through 44,715 (of 49,571 total)