Viewing 15 posts - 31 through 45 (of 112 total)
By setting the DB to readonly no Shared-Lock is requested anymore so there 's a performance benefit in doing that.
and the syntax is so easy
ALTER DATABASE [DB] SET ...
September 18, 2012 at 12:38 pm
SQLSACT (9/17/2012)
pooyan_pdm (9/17/2012)
September 17, 2012 at 9:44 am
You should use the actual counter values from the sys.dm_os_performance counters for the three mentioned counters and for checking wheather the cache is bloating or not you can check...
September 17, 2012 at 12:56 am
Initial Compilation='SQL Compilations/sec'-'SQL ReCompilations/sec'
plan reuse= ( 'Batch Requests/sec' - 'Initial Compilation')/'Batch Requests/sec'
this one is more accurate
September 14, 2012 at 1:05 pm
Thanx for your reply but I it's not the case it's well less than the threshold.
September 14, 2012 at 12:47 pm
I don't know what's inside the proc can you send the actual execution plan ?
try updating the statistics of the tables involved in the query.and also try executing the query...
September 13, 2012 at 6:00 pm
If the Mirror server is dedicated to the mirror db and no other IO intensive process is running on it , then your guess logicaly make scence. But in larger...
September 12, 2012 at 10:24 pm
It depends on several factors.First of all to the Principal database transaction load, if this value is almost the same at the principal server it's totally normal.Then to the disk...
September 12, 2012 at 3:07 pm
You can have user_seeks and range_scans on a non unique index at the same time when you're looking for a column of an index , I guess the reason there's...
September 8, 2012 at 11:47 am
Lynn Pettis (9/6/2012)
pooyan_pdm (9/6/2012)
September 6, 2012 at 8:34 pm
when the index key is non-unique even when you're looking for a single value(a user_seek) sql server performs a range_sacan because there might be more than one records with that...
September 6, 2012 at 5:51 pm
Thanx for your answer anyway. but it's a general question nothing to do with the database details.what I asked is how can we have singleton_lookups on an non-unique index while...
September 6, 2012 at 5:11 pm
this index also has some column included in it's leaf level.
Both col1,col2 are non-unique so even if the engine is looking for a single combination of them it should go...
September 6, 2012 at 4:26 pm
Use the sys.dm_exec_requests DMV to see what process is blocking this session (blocking_session-id) and using the sql_handle column of the blocking session you can see the Body of that session
September 4, 2012 at 6:09 pm
Viewing 15 posts - 31 through 45 (of 112 total)