Forum Replies Created

Viewing 15 posts - 3,301 through 3,315 (of 49,552 total)

  • RE: Transaction Log Truncation - in Full or Incremental backup

    So that full backups don't mess with the log chain.

    And the full backup doesn't back up the entire transaction log. Just what it need to restore consistent. So if 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
  • RE: monitoring deadlocks in sql server 2014

    You don't need any traceflags for deadlocks to show up in system health.

    1204 was the old SQL 2000 traceflag for deadlock graphs, it shouldn't be used on any version since...

    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: Get distinct records for paging when joining tables

    John Jensen-439690 (4/7/2016)


    but all of them gives bad performance

    Yes, they will, for reasons explained in the article I referenced earlier

    https://www.simple-talk.com/content/article.aspx?article=2280

    It's not the split that's the problem, it's the form 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: sql server 2016 certification

    2016's not even released yet. Certification info won't be released before the product is.

    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: ATTACH Rebuild Log

    https://msdn.microsoft.com/en-us/library/ms176061.aspx

    FOR ATTACH [ WITH < attach_database_option > ]

    Specifies that the database is created by attaching an existing set of operating system files. There must be a <filespec> entry that specifies...

    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: Help required in query.

    What sequence number? There's no 'sequence' column in any of those tables, no indication where it comes from, how it's calculated.

    We can't read your mind, we can't see your screen....

    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

    Short of replacing your IO subsystem with something faster, there's nothing you can really 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: Tempdb files

    Why do you want to create more files?

    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: Script Generate Indexes

    shaneoneillis (4/6/2016)


    If you want to include them when you script a table go to the following on SSMS:

    Tools --> Options --> SQL Server Object Explorer --> Scripting --> under "Table...

    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?

    TomThomson (4/6/2016)


    Brandie Tarvin (4/6/2016)


    Good morning, peeps.

    What are we having for breakfast today?

    Mine was oatmeal with purple honey (from North Carolina) and assorted fruit. But for some reason I have pancakes...

    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: hash match

    It's the join operator. It's what SQL uses to match the rows from one table to the other.

    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?

    Brandie Tarvin (4/6/2016)


    What are we having for breakfast today?

    Well it's lunch time, so

    Lentil, chicken, bacon and feta salad(also contains cucumber, spring onion and pepperdew)

    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: Transaction Log Truncation - in Full or Incremental backup

    szejiekoh (4/6/2016)


    a) is transaction log (eligible for or/& being truncated) after full backup ?

    Full backups do not ever truncate the transaction log

    b) incremental backup does not include transaction log, 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: Recommendations for building DR using SQL Server 2014 Standard Edition

    szejiekoh (4/6/2016)


    It is because I do not have the answer myself as well

    You need to get it, because those are numbers you'll be held to when/if a disaster happens.

    If...

    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: Script Generate Indexes

    Script them separately (right click index, script), or use the Generate Scripts wizard, specify just the table and use the Advanced button (on the 'set scripting options') page to include...

    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 - 3,301 through 3,315 (of 49,552 total)