Forum Replies Created

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

  • Reply To: Query Performance Diagnostics with sp_PerfSQ

    Can you explain how is the figure showing in cardinality is worked out?

    Thanks

    Carolyn

    Facts are stubborn things, but statistics are more pliable - Mark Twain
    Carolyn
    SQLServerSpecialists[/url]

  • RE: SSIS cross-domain riddle

    Second link is no longer available.

    Facts are stubborn things, but statistics are more pliable - Mark Twain
    Carolyn
    SQLServerSpecialists[/url]

  • RE: Generate Deadlock Summary Information

    https://www.mssqltips.com/sqlservertip/1476/reading-the-sql-server-log-files-using-tsql/

    Gives a good explanation of the undocumented proc sp_readerrorlog and the parameters:-

    CREATE PROC [sys].[sp_readerrorlog](

    @p1 INT = 0,

    @p2...

    Facts are stubborn things, but statistics are more pliable - Mark Twain
    Carolyn
    SQLServerSpecialists[/url]

  • RE: Generate Deadlock Summary Information

    Lock Partitioning is a feature in SQL Server that is automatically enabled for machines with more than 16 logical processors – aimed at reducing lock contention and cannot be disabled...

    Facts are stubborn things, but statistics are more pliable - Mark Twain
    Carolyn
    SQLServerSpecialists[/url]

  • RE: Generate Deadlock Summary Information

    Just checking you ran the stored procs that populate the table you are querying?

    Facts are stubborn things, but statistics are more pliable - Mark Twain
    Carolyn
    SQLServerSpecialists[/url]

  • RE: Generate Deadlock Summary Information

    I've tried updating the procedure to read

    CREATE PROCEDURE [dbo].[usp_RefreshDeadockVictim]

    AS

    TRUNCATE TABLE [dbo].[DeadlockVictim]

    INSERT INTO [dbo].[DeadlockVictim]

    ([LogDate]

    ...

    Facts are stubborn things, but statistics are more pliable - Mark Twain
    Carolyn
    SQLServerSpecialists[/url]

  • RE: Generate Deadlock Summary Information

    Do you get anything returned when you just query the log ie:-

    EXEC master.dbo.xp_readerrorlog 0, 1, 'deadlock victim=process', NULL, NULL, NULL, N'desc'

    obviously I'm not sure which log it would ...

    Facts are stubborn things, but statistics are more pliable - Mark Twain
    Carolyn
    SQLServerSpecialists[/url]

  • RE: Generate Deadlock Summary Information

    OK Thanks will sort

    Facts are stubborn things, but statistics are more pliable - Mark Twain
    Carolyn
    SQLServerSpecialists[/url]

  • RE: Generate Deadlock Summary Information

    ?There is no BEGIN so therefor no END needed or am I missing something?

    Facts are stubborn things, but statistics are more pliable - Mark Twain
    Carolyn
    SQLServerSpecialists[/url]

  • RE: Generate Deadlock Summary Information

    We are fortunate enough to have a well over-specked server in a non 24/7 operation so I don't have to worry about running jobs like this out of hours but...

    Facts are stubborn things, but statistics are more pliable - Mark Twain
    Carolyn
    SQLServerSpecialists[/url]

  • RE: Sql Restore issue of starting from transaction log.

    I think you already know the answer to this, to restore logs you must first restore the full backup with NORECOVERY you are trying to do something that is incorrect...

    Facts are stubborn things, but statistics are more pliable - Mark Twain
    Carolyn
    SQLServerSpecialists[/url]

  • RE: Restore Gene Version 6 - User Guide

    The fix for mirror backup works as expected, I tested it out on a few servers. Thanks for the great script.

    Facts are stubborn things, but statistics are more pliable - Mark Twain
    Carolyn
    SQLServerSpecialists[/url]

  • RE: Restore Gene Version 6 - User Guide

    Thanks I'll give it a try

    Facts are stubborn things, but statistics are more pliable - Mark Twain
    Carolyn
    SQLServerSpecialists[/url]

  • RE: Restore Gene Version 6 - User Guide

    That would be great thanks.

    Facts are stubborn things, but statistics are more pliable - Mark Twain
    Carolyn
    SQLServerSpecialists[/url]

  • RE: Restore Gene Version 6 - User Guide

    Great script the only change I needed was to put an addition to the where clauses to ensure I did not have a problem with the script when I have...

    Facts are stubborn things, but statistics are more pliable - Mark Twain
    Carolyn
    SQLServerSpecialists[/url]

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