Process

  • friends one of my production server one database process is in suspend mode.could u plz let me know how can i solve this issue

  • Just find out what query is running and what resource it is waiting for. Its OK for a process to go suspended unless it does not wait for too long

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

    Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • suspend or suspect?

  • A database can become suspect for several reasons. Possible causes include denial of access to a database resource by the operating system, and the unavailability or corruption of one or more database files.

    set ur database to emergency .will only be available to members of SYSADMIN role

    then make it into single user

    run dbcc checkdb repair (check dbcc checkdb command)

    http://msdn.microsoft.com/en-us/library/aa258278(SQL.80).aspx

  • hi roshan,

    thanks for response

    DECLARE @OlapEvent BIGINT;SELECT @OlapEvent = ObjIdUpdate(3);

    SELECT (@OlapEvent & convert(bigint, 0xffff000000000000)) / 0x0001000000000000

    AS Status, (@OlapEvent & convert(bigint, 0x0000ffff00000000)) / 0x0000000100000000

    AS DbId, @OlapEvent & convert(bigint, 0xffffffff) AS ObjId;

    this is query wait time is 1546

    plz tell me the solution what can i do thanks in advance

  • what is the lastwaitype in sysprocesses also take a not of hostname and program which is executing this query.

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

    Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • wAITTYPE IS TRACE

  • R u running trace? .

    Then stop it

    Select * from fn_trace_getinfo(null)

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

    Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • Roshan trace files have been already stopped.can i kill processid.please

    tell me.

Viewing 9 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic. Login to reply