Forum Replies Created

Viewing 15 posts - 2,131 through 2,145 (of 49,552 total)

  • RE: Transaction Log Free Space and Commit

    Log Reservation.

    A transaction MUST always be able to roll back, even if the transaction log is full and can't grow. Since a rollback involves creating and then logging compensating operations,...

    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: estimate the t-log grow

    As I said in the thread where you asked that (http://www.sqlservercentral.com/Forums/Topic1833167-3739-1.aspx), don't use the largest index to judge log size. Assuming this is an active system, measure the % used...

    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 size

    Don't resize the log based on index size. Size it based on how large it needs to be for your regular operations. Track the used % of the log 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: Two Select statements without UNION

    As was mentioned in the other thread on this same topic, your options here are limited. You want to do a UNION, without using UNION and there isn't an obvious...

    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: Two Select statements without UNION

    There's no join between the two tables, so you are getting a cartesian product, which will indeed result in more rows than you want.

    If there's no relation between the two,...

    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: File Group Backups and Restore

    alex.sqldba (11/8/2016)


    What if I were to create a snapshot of the database, lets call it SS_MyDatabase, within that SS can I truncate the table that I do not want 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: How to get date value from a number ( ex: 20161108) ?

    It's not that simple.

    Casting the float to datetime directly gets you 20161108 days after the 1st of January 1900, which, since 20161108/365.25 leaves us with 55 thousand years, exceeds...

    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: Migrating Data from SQL server 2012 to Data Warehouse

    xsevensinzx (11/8/2016)


    Oh, I was referring to the Redgate Data Platform Studio.

    Sorry, misunderstood. I'll ping Grant and ask him to give you more details

    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: Baffled by syntax on EXECUTE dbo.IndexOptimize

    richlion2 (11/8/2016)


    Can someone please give me a sensible explanation? Is this a master procedure or within My SQL Server version is 2008 Epxress and also SQL Serv. 11 Enterprise.

    IndexOptimize 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: Migrating Data from SQL server 2012 to Data Warehouse

    xsevensinzx (11/8/2016)


    At just DW300, it only supports 12 Max concurrent queries. The highest at the maximum DW power is only 32.

    When one of these thresholds is met, new queries are...

    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: Trigger Questions

    I would recommend, instead of creating one trigger FOR INSERT, UPDATE, DELETE, you create three different triggers. One FOR INSERT (which will be fired only for the inserted rows via...

    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: Migrating Data from SQL server 2012 to Data Warehouse

    xsevensinzx (11/8/2016)


    Is there actual pricing and licensing information about this product?

    Yes. It's Azure so it's cloud 'pay as you use' model. You don't buy licenses, you just pay 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: File Group Backups and Restore

    alex.sqldba (11/8/2016)


    Is there a way to backup the file groups excluding the document one, and replace the missing documents one with an empty/trimmed/static version I keep for this purpose?

    No.

    You can...

    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: Query returning incorrect results randomly

    Formatted for easier readability:

    Edit: why removed?

    Can you try a few things?

    The same query with the CASTs removed. (you said that works fine)

    The same query with the constants replaced with BIGINT...

    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: Migrating Data from SQL server 2012 to Data Warehouse

    Then you have a hell of a lot of work to do first, and a lot of reading, and I can almost guarantee you that putting the production DB into...

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