Forum Replies Created

Viewing 15 posts - 5,866 through 5,880 (of 49,552 total)

  • RE: Log File Growth

    Almighty (5/20/2015)


    as said earlier .. check the reason of log not shrinking

    in log _reuse_wait column

    Log_reuse_wait has nothing to do with the log not shrinking. It tells you...

    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: Case Sensitive Collation Causing Cardinality Warning

    Jason A. Long (5/19/2015)


    Unfortunately, it appears that the conversion does cause a performance hit. Executing Dave's test code with and without the CONVERT(CHAR(10)...), showed the non converted version consistently executing...

    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 Growth

    ramana3327 (5/19/2015)


    To reduce the VLFs. I saw when the log file is large it has more no of vlfs

    Well, yes, of course it will. VLFs have a certain max size...

    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 - High Memory Usage

    Please, please, please get and read that book.

    Most of the waits in the picture are ones we don't care about (sleep is supposed to be high). There's a script in...

    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 Growth

    ramana3327 (5/19/2015)


    so if the log file initial size is 50MB and we started reorg indexes job, then it grows 160GB. So we can't get that initial physical log size (50...

    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 Growth

    No, and rebuild doesn't use TempDB instead of the log either. Rebuild uses TempDB for sort space, space that would otherwise come from the user database's data file. Reorganise doesn't...

    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: Here are some SQL Server Interview Questions

    SQLRNNR (5/19/2015)


    Continue to mark the answers from applicants as correct for questions you just discovered were wrong (well because it is a common myth so why punish them)?

    Or do you...

    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 - High Memory Usage

    Don't fixate on one thing, you need a lot of stats and a lot of information to start diagnosing.

    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: DROP and CREATE vs ALTER

    You lose any permissions that were on the object, if that can be called an advantage.

    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 between SQL Server 2012 and 2014 possible?

    https://msdn.microsoft.com/en-us/library/ff878487.aspx -- the 2014 BoL

    Each server instance must be running the Enterprise Edition of SQL Server 2014.

    https://msdn.microsoft.com/en-us/library/ff878487(v=sql.110).aspx -- the 2012 BoL

    Each server instance must be running the Enterprise Edition...

    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: Unused,duplicate indexes

    mandirkumar 18293 (5/19/2015)


    1.Why indexes and statistics are considered as duplicate .

    means statistics on tbl1(col1) and index on tbl1(col1) are considered as duplicate

    A stats set and an index aren't duplicates 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: Log File Growth

    Almighty (5/19/2015)


    Gail Is there something called Non-destructive shrinking ??

    Well shrinking's never destructive.... I said it's bad practice, not that it's going to destroy something.

    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 between SQL Server 2012 and 2014 possible?

    christian_t (5/19/2015)


    Am I waisting my time?

    Yes.

    Cross-version is only for rolling upgrades, not as a permanent scenario.

    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 Growth

    ramana3327 (5/18/2015)


    2) I shrink the log file only 2 times. If I want to shrink the log file everyday after the maintenance job it will impact any performance?

    Yes. Do not...

    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 2008] Problem with ConvertDate

    Pretty much. By adding one day to the end of the range, you're getting all the date-times on that day, right up to just before midnight at the end 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

Viewing 15 posts - 5,866 through 5,880 (of 49,552 total)