Forum Replies Created

Viewing 15 posts - 376 through 390 (of 49,552 total)

  • RE: Index rebuild - fail scenario

    subramaniam.chandrasekar - Thursday, February 1, 2018 11:31 PM

     If rebuild index job fails, that means your DB specified tables or Reporting tables...

    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: I need a opinion

    msimone - Thursday, February 1, 2018 8:59 AM

    The idea is that procedures return one row or all, simple idea for a simple...

    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 management after one off Query

    If it's a once-off operation, then shrinking the log (and only the log) once at the end is fine.

    The accepted wisdom is not to schedule shrink operations to...

    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: When adding new column to table, where is that data stored ?

    There's no such thing as 'row chaining'. A row must fit onto a single page, the only exceptions being that data in varchar, nvarchar & varbinary columns can be partially...

    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: restore to multiple datafiles

    A restore recreates the DB exactly as it was at the time of backup. If you want multiple files, restore, then split.

    Please rather start a new thread for...

    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: I need a opinion

    2

    Simpler. Easier to read. Less prone to mistakes. Doesn't require permissions granted directly on the tables.

    Though the two aren't equivalent. The WHERE clauses are different. Did...

    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: datetime

    It's defaulting to the American format, month/day/year, hence you're trying to convert the 3rd day of the 24th month, which doesn't exist.

    Use unambiguous formats (preferred), or use CONVERT...

    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: When adding new column to table, where is that data stored ?

    The new column has to fit on the original page.
    If it's also varchar/nvarchar/varbinary, then  it  too can have portions of its data  sent out to row_overflow pages

    And...

    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: Index rebuild - fail scenario

    nanonerd - Tuesday, January 30, 2018 1:23 PM

    Evgeny Garaev - Tuesday, January 30, 2018 12:42 PM

    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: sql 2008 to sql 2016

    Availability Groups is a HA solution. The secondaries are up to date with the primary, but either inaccessible or read only

    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: Correlation between suspect_pages and DBCC checkdb

    Those suspect page entries are from several months ago. They could have been fixed, or regular maintenance such as index rebuilds could have made them disappear (an unallocated page cannot...

    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: My database can't be opened

    You're going to have to give us a lot more information before anyone can begin to help.

    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: AlwaysOn Availability Groups Failover - uncommitted transactions

    goher2000 - Monday, January 29, 2018 7:52 AM

    you can issue checkpoint command to ensure all the dirty pages are  written before performing...

    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: Page Life Expectancy plummets daily

    zoggling - Monday, January 22, 2018 2:39 AM

    Is there a reason for page life expectancy to be affected by database processes such...

    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: sql server job has been modified by some DBA/user, I want to know which user modified/change job.

    John gave you a suggestion

    John Mitchell-245523 - Friday, January 26, 2018 5:35 AM

    You'll need to have set something up in advance. ...

    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 - 376 through 390 (of 49,552 total)