Forum Replies Created

Viewing 15 posts - 2,731 through 2,745 (of 49,552 total)

  • RE: Are the posted questions getting worse?

    Can someone who speaks Spanish please check the translations? http://www.sqlservercentral.com/Forums/Topic1804719-2799-1.aspx

    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 2012 NDF, delete

    Via google translate:

    Hello dear, I tell them the problem I have, I have a database in which they separated in mdf, NDF and LDF files. The NDF which different filegroup...

    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: Compatibility Level and Performance

    It'll be the new cardinality estimator. Most queries improve in performance or stay the same, a small number typically experience performance regressions.

    I've seen 3 clients upgrade to 2014. One 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: Are the posted questions getting worse?

    BLOB_EATER (7/26/2016)


    Then I would enable TDE and do the same as above but this time showing all sort of random characters - Im guessing this is the encryption taking...

    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: Syntax issue

    http://sqlinthewild.co.za/index.php/2011/05/17/on-transactions-errors-and-rollbacks/

    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: Is this a normal page life expectancy pattern?

    Just to give you a benchmark, my new laptop has as much memory as your production server... 🙂

    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: Best method for Update then insert with single transaction

    Lynn Pettis (7/25/2016)


    GilaMonster (7/25/2016)


    fergfamster (7/25/2016)


    You dont think using the @@rowcount is useful? Better to just do both statements?

    No, because what if there's 6 rows that need inserting and 4 updating?...

    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: Best method for Update then insert with single transaction

    fergfamster (7/25/2016)


    You dont think using the @@rowcount is useful? Better to just do both statements?

    No, because what if there's 6 rows that need inserting and 4 updating? To use rowcount,...

    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: Best method for Update then insert with single transaction

    http://source.entelect.co.za/why-is-this-upsert-code-broken

    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 with Always Availability option ON causing truncate and load packages FAIL

    Siddarth V (7/25/2016)


    Possibility of duplicate incoming data is zero.

    I've heard that before. Often followed later by finding out that something had changed somewhere upstream and there now were duplicates

    If you're...

    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 with Always Availability option ON causing truncate and load packages FAIL

    Assuming you're referring to Always On Availability Groups, that can't cause primary key violations. It's a high availability feature that provides secondary servers to take over if the primary fails....

    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: Syntax issue

    And missing any form of error handling.

    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 Rollback on tables with referential integrity

    Doesn't mean the transaction has to be committed, you can get the IDs within the transaction. You can get them from the insert using the OUTPUT clause, then use 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: Transaction Rollback on tables with referential integrity

    stricknyn (7/22/2016)


    But unfortunately TableA has to be committed first.

    Why?

    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: 21GB DB creating 60GB log file after backup

    What you can also do, to narrow down the cause, is schedule a job to write the following into a table, during the backup process.

    SELECT name, log_reuse_wait_desc FROM sys.databases

    WHERE name...

    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 - 2,731 through 2,745 (of 49,552 total)