Forum Replies Created

Viewing 15 posts - 1 through 15 (of 35 total)

  • RE: wait_type : CXPACKET - suspended

    It's the base ID and I won't risk try killing it. Not sure if it can be killed except bouncing SQL engine.

    If the process is there then there should not...

  • RE: wait_type : CXPACKET - suspended

    select distinct req_transactionUOW from sys.syslockinfo where req_spid = 53

    kill 'UOW' <-- The distinct UOW's except all 0's.

  • RE: wait_type : CXPACKET - suspended

    CXPACKET waits are mostly due to parallelism. What is the max degree of parallelism for the server? Is there any hint (MAXDOP) for the queries which are causing the waits?

    Check...

  • RE: kindly give some solution

    Definitely agree with you. I think you have misinterpreted my message. What I was trying to point is that if you have a char(20) field and uniformly storing much shorter...

  • RE: Union All - gets slow performance and timeout expired

    You can see in the plan that it's clearly stating that statistics are missing on columns.

    First thing first please do a update stats with full scan on the whole database...

  • RE: Union All - gets slow performance and timeout expired

    Please post the ACTUAL EXECUTION PLANS of the queries. In addition, please send the output of the following have a better picture of the server.

    sp_configure (With show advanced options on)

    xp_msver

    Also...

  • RE: Convert with Case in SP Failure

    Are you sure that your evaluating expression is returning NULL?

    I tried out the following and yes, I got numeric (13,0) as output.. Please have a look and let know if...

  • RE: kindly give some solution

    If you have a fixed length then you should go for char if variable length then varchar. The name of the data types itself is self explanatory.

    When comes to performance,...

  • RE: Memory

    Hello

    Yes, I understand that it's the top CPU queries but it's just 700ms cpu time max. It can very well be only 10% of the total CPU usage.. Unless CPU...

  • RE: how or what tools can I use to return a list of SQL servers in our network

    Approach:

    It seems you have already got the list of SQL Servers in your network using Discovery.

    Get the server names in a table.

    Loop through the servers and run queries on using...

  • RE: Memory

    Why do you think this is high CPU? Can you find it in %?

    Run this query and it will give you the picture since you last restarted SQL services....

  • RE: Memory

    The buffer cache hit ratio looks pretty healthy (above 99% avg) but page life expectancy is way too low. This is indicating there must be very high physical reads for...

  • RE: DataFile used for restore

    I think you are looking for this?

    use msdb

    go

    select backupmediafamily.physical_device_name,restorehistory.restore_date from restorehistory

    inner join backupset

    on restorehistory.backup_set_id = backupset.backup_set_id

    inner join backupmediaset

    on backupset.media_set_id = backupmediaset.media_set_id

    inner join backupmediafamily

    on backupmediaset.media_set_id = backupmediafamily.media_set_id...

  • RE: Why does SQL Server switch parallell processing into single threaded execution

    Can you please post the actual execution plan?

    If you want to capture all the details including the performance counters then use SQLDiag with perfstats script. A little bit of googling...

Viewing 15 posts - 1 through 15 (of 35 total)