Forum Replies Created

Viewing 15 posts - 12,931 through 12,945 (of 49,552 total)

  • RE: How DBCC Checkdb works internally?

    Get yourself a copy of SQL Server 2008 Internals by Kalen Delaney, there's an entire chapter on how CheckDB works.

    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 the posted questions getting worse?

    Jack Corbett (5/31/2013)


    So once we get a good amount of data in that table I'm pretty sure any index that doesn't have columnA as the leading column will...

    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: Patching runs DBCC checkdb

    The only time when CheckDB is run on a database is when a user, application or job explicitly runs CheckDB.

    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: table type argument as OUTPUT in PROC

    No, table-type parameters have to be read only.

    Declare a table variable inside the proc, insert the contents of the parameter into that and manipulate as you like. Or create a...

    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 file continues to grow after backup (full recovery mode)

    Lynn Pettis (5/31/2013)


    Your log file won't shrink(when using SHRINK_FILE) until you start getting the VLFs at the front of the file to an inactive status.

    End of the file.

    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 file continues to grow after backup (full recovery mode)

    And there's your problem right there...

    Kingfish (5/31/2013)


    backup log mydatabase

    to disk = '\\someserver\backups\logbackup_timestamp.bak'

    with no_truncate, init

    You've explicitly told SQL to not truncate the transaction log on backup, not to mark portions of...

    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 file continues to grow after backup (full recovery mode)

    Could you post the exact log backup command that you're running?

    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: table type argument as OUTPUT in PROC

    What are you trying to do?

    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 file continues to grow after backup (full recovery mode)

    GilaMonster (5/31/2013)


    If you see that the log is not being reused after a log backup and the log file keeps on growing, then please take a read through this: http://www.sqlservercentral.com/articles/Transaction+Logs/72488/

    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 file continues to grow after backup (full recovery mode)

    Log backups don't shrink the log file, hence you shouldn't expect to see the log file get smaller. Log backups just mark portions of the log reusable.

    If you see 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: Different actual execution plan for same query

    Not being nasty, but could you edit that and take out the font tags? Use the [ code ] tags (shortcut on the left)

    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: Different actual execution plan for same query

    Query text?

    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: Database Mirroring licence query

    Yes, it's not exempt from licensing as a passive standby server would be, hence it needs to be licensed. There's nothing in the licensing docs that say anything about number...

    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: Alert for out of workers

    SELECT * FROM master.sys.messages WHERE text LIKE 'New queries assigned to process on%'

    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: Will the database snapshot work if we truncate the source database after the snapshot is created in sql server 2005.

    rajeev.training (5/31/2013)


    Well, when we truncate all the tables in the source database after the snapshot, then all the pages in the source are modified from the time of the...

    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 - 12,931 through 12,945 (of 49,552 total)