Forum Replies Created

Viewing 15 posts - 421 through 435 (of 496 total)

  • RE: waitresource field in master..sysprocesses table

    Found another one:

    DB: 17 [BULK-OP-LOG]

    Happens quite often. Is it critical?

  • RE: Cant write a query...

    Just found how to symplify this:

    I will create a single table, named all_dbs_sysobjects with dbname column and all other columns that are present in sysobjects table, copy all database objects...

  • RE: Cant write a query...

    Fields who_waitresource and block_waitresource are both nchar(256):

    [who_waitresource] [nchar] (256) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,

    [block_waitresource] [nchar] (256) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,

    The data look like:

    TAB: 11:1687077892 [[COMPILE]]

    TAB: 11:1364668405 []

    KEY: 12:651253475:1 (0e00bcea919b)

    PAG: 7:1:39846

    11:1:935464

    sysobjects.id is...

  • RE: waitresource field in master..sysprocesses table

    quote:


    64247 is the page number that is locked in some way.


    Is it possible somehow,...

  • RE: Must declare the variable ...

    Greate!!!

    Thanks.

  • RE: Must declare the variable ...

    Like this:

    insert #t exec('dbcc inputbuffer(' + '@who_spid' + ')')

    ?

  • RE: Must declare the variable ...

    No "GO" statement... Also, if I remove this code:

    ---------------------------------------------

    insert #t exec('dbcc inputbuffer(@who_spid)')

    SELECT top 1 @who_EventType = EventType

    FROM #t

    SELECT top 1 @who_Parameters = Parameters

    FROM #t

    SELECT top 1 @who_EventInfo = EventInfo

    FROM #t

    delete...

  • RE: Server died

    " I would recommend using only TCP/IP if at all possible."

    - Not possible at this time, too many apps to rewrite or change.

  • RE: Who is doing that?

    Another reason not to trust it, is that this trace shows that most CPU was eaten by replications, but I did not change any replications before this and replications...

  • RE: Who is doing that?

    I did run Profiler for 2 hours, when high CPU usage was seen.

    I am not sure if this gives the complete picture, since I used only these events for my...

  • RE: Who is doing that?

    "Do you have any performance log for last 10 minutes?"

    - Like counter logs, in Performance snap in? I wonder how can this help...

    This time I just seen it in...

  • RE: Restoring a databse with replication

    What about setting Category field for this database to 0 in master..sysdatabases table?

    This will fool the server, so it will think, that database is not for replication.

    /* did this, when...

  • RE: Failed restore

    2Allen_Cui:

    "The problem comes from last restore log statement. You have to add "FILE = file_number"... "

    - This worked, but raised a few other questions:

    since all log backups...

  • RE: Inserting text data

    Worked!!!

    Thanks!

  • RE: A calculated field in a view

    Just created a table to hold the locks snapshots, used:

    EXEC sp_tableoption 'BLOCKS_HISTORY', 'text in row', 'on',

    to be able to insert text data into this table, but got an error for...

Viewing 15 posts - 421 through 435 (of 496 total)