Viewing 15 posts - 151 through 165 (of 232 total)
/*Thank for the head-up. But will this explain the reason why my SQL server
over-consumed hardware resources and ended up not responding? */
I guess I...
February 2, 2010 at 6:32 pm
Plan looks okay to me and the query also looks like to have completed in 5 seconds. Looks like ur server as a whole isn't healthy..If you want optimize this...
February 2, 2010 at 2:32 am
@s-2 t e f
He has Rebuild the index which implies stats are updated.
Also, the Original poster claims that people cant login or access the server which implies the problem is...
February 1, 2010 at 7:48 pm
hmm..I kind of guessed this when you said users cudnt connect..
Please check the following..(some of the stuff u wud have already checked..but anyways..)
> on System task manager check how...
February 1, 2010 at 5:07 am
/* SELECT query with a basic WHERE clause, the SQL Server basically slowed down to a snails pace. Resulting in some users unable to connect to SQL Server. */
Are u...
February 1, 2010 at 3:07 am
Yes..The table may be heavily fragmented. Perhaps you can Rebuild the clustered index offline, if you have nobody else using it.
There are quite a few threads in this forum which...
February 1, 2010 at 2:55 am
@rithesh,
Thanks. If i mananger to find smthng on CPU, i will post it. 🙂
@Omprakash K Deshpande,
SQL Alert helps monitoring fatal errors and SQL counters. CPU % falls under
windows counter and...
January 28, 2010 at 6:49 pm
That's not smthng i was looking at as it goes away from sql..and involves lot of manual configuring alert on each server. Also, when one monitors lot of servers, you...
January 28, 2010 at 2:58 am
Any idea on how to capture CPU % used by sql server?.
I mean CPU % shown in task manager or process - Processor%time-> perfmon counter and not the CPU cycles...
January 28, 2010 at 1:38 am
or simply
declare @overallavailablity decimal (18,4)
select @overallavailablity = 676.0000/10080.0000
print @overallavailablity
January 21, 2010 at 12:29 am
try this!!!
declare @overallavailablity decimal (18,4)
declare @numerator decimal (18,4)
declare @denominator decimal (18,4)
sET @numerator = 676
SET @denominator = 10080
select @overallavailablity = @numerator/@denominator
print @overallavailablity
January 21, 2010 at 12:28 am
His sample result has 19,20 and after that 8,9. So I guessed he felt he needs it in the order in which Database stores ( or unordered scan resultorder ).
January 20, 2010 at 10:23 pm
If u want it in the order in which its stored in the database then its not possible. You may need to create a column with auto increment. Database can...
January 20, 2010 at 9:38 pm
If u have gaps then u can try this
Select current_seq.*,next_seq.* from
(
Select *,row_number() Over (order by id asc ) as seq
from tablea ) as current_seq, ( Select *,row_number() Over...
January 20, 2010 at 9:28 pm
Viewing 15 posts - 151 through 165 (of 232 total)