Forum Replies Created

Viewing 15 posts - 25,741 through 25,755 (of 49,552 total)

  • RE: Log Shipping - Secondary Database state

    george sibbald (6/4/2011)


    its perfectly reasonable to start with the full restore in norecovery and have the log restores in standby mode.

    I'm just wondering if the wizard does something stupid...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: What covering index can i create for this query?

    A covering index won't make that seekable. There's no predicate (other than join predicates) for the Cov table, it's probably faster to scan than to seek for each value in...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Log Shipping - Secondary Database state

    You said you restored the full backup NORECOVERY. Try restoring it in STANDBY instead.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: are tables cached in the same location as procedure cache?

    Books Online?

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: tempdb full because of row versioning

    Ninja's_RGR'us (6/4/2011)


    GilaMonster (6/4/2011)


    With normal row versions the version can't be removed until all queries that could possibly need it have finished. May be similar with triggers, I'm not sure.

    I don't...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Newbie issue with Transactions

    Please post new questions in a new thread. Thanks

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Declare statement

    15 minutes in what context?

    Table definitions please. Hard to tell what's going on here.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: tempdb full because of row versioning

    With normal row versions the version can't be removed until all queries that could possibly need it have finished. May be similar with triggers, I'm not sure.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: are tables cached in the same location as procedure cache?

    The data cache just caches pages from tables, it doesn't care what query ran to get those pages into cache, it just cares that the page is there. Anything that...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: (Nolock) created blocking?

    Er, no. A schema stability lock is compatible with every other lock, other than schema modification. All queries must take a schema stability lock to ensure the table isn't changing...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: (Nolock) created blocking?

    Is there anything else running in that transaction (don't care about other processes)

    Trace everything coming from the SSIS is you don't know.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: (Nolock) created blocking?

    What's the blocking session ID? Are there any other operations in the transaction?

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Why does this query cause index scan when the index is covering?

    The one that's seeking is not seeking for the join. It's just seeking for the where clause predicates

    timestamp BETWEEN @FromDate AND @ToDate

    AND (Table1.ClientID = @ClientID)

    The join is done later as...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Why does this query cause index scan when the index is covering?

    Execution plan?

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Newbie issue with Transactions

    I think you might want to do some reading on locks and transactional consistency. What you're describing there is desired behaviour. You don't want users to see transactionally consistent (dirty)...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 15 posts - 25,741 through 25,755 (of 49,552 total)