Forum Replies Created

Viewing 15 posts - 23,041 through 23,055 (of 49,552 total)

  • RE: Good SQL Server hardware ?

    jared-709193 (10/5/2011)


    Umm... Why not? 🙂

    Because it's not really necessary on a dedicated SQL box. I usually create one of a couple GB, no more. Just enough for a kernel dump...

    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?

    Something interesting I noticed about the Rugby WC quarter finals.

    On Saturday Ireland is playing Wales and England playing France

    On Sunday SA plays Australia and New Zealand plays Argentina.

    In the semis,...

    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?

    SQLRNNR (10/5/2011)


    How are things going for the All Blacks and SpringBok?

    Springboks (one word, one capital), winners of Group D, playing Australia (ouch) on Sunday.

    All Blacks, winners of Group A,...

    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: New Stored Procedure Issues SS2k5

    JimS-Indy (10/4/2011)


    I'll set a default to avoid null.

    If the column mustn't be null, define the column as NOT NULL, otherwise default or no default, nulls can go 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: Find all sql statements in a xaction which deadlocked from memory dump

    Have you tried traceflag 1222? If so, what doesn't it give you in terms of information?

    Jonathan's right, a memory dump (even a mini-dump) isn't what I'd call a low-impact event.

    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?

    You get a difference because the query adds the milliseconds since the computer started to the time that SQL started. So if SQL Server started 27 seconds after the computer...

    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: Find all sql statements in a xaction which deadlocked from memory dump

    Why a memory dump? That seems to be a very inefficient alternative to the usual traceflags, profiler events or extended events for diagnosing deadlocks.

    p.s. I apologise for the brief answer,...

    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: Use of FileStream considering SQL Server backups

    I'm not sure what the problem is here. Filestream data is backed up with the database, that's one of the key advantages of it over regular files in the filesystem.

    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: Procedure Cache

    Yes and yes. Restoring a database clears the plan cache.

    p.s. It's called the plan cache, not the procedure cache because it caches a lot more than just stored procedures.

    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: Procedure Cache

    The plan cache is shared between all databases, but procedures in different databases are considered different objects and will have separate plans.

    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: inserting data into views

    You can't see the row because you're not inserting the ID columns hence there's no way the new rows will join to each other. Since they don't join, they won'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: Transaction Log Full in Simple Recovery mode

    99zardoz (10/5/2011)


    Do you like your database consistent and durable or corrupt with missing data? If the latter, sure, they're of little practical use. The point of the log is 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: analyzing SQL memory

    http://www.simple-talk.com/sql/performance/finding-the-causes-of-poor-performance-in-sql-server,-part-1/

    http://www.simple-talk.com/sql/performance/finding-the-causes-of-poor-performance-in-sql-server,-part-2/

    And maybe also monitor compiles

    http://sqlinthewild.co.za/index.php/2010/07/27/hit-and-miss/

    http://sqlinthewild.co.za/index.php/2010/08/31/come-and-gone/

    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: Database logs won't shrink

    Since you shrunk the database, you now need to rebuild all your indexes to fix the fragmentation.

    As for the log, these may be useful.

    Managing Transaction Logs[/url]

    http://www.sqlservercentral.com/articles/Transaction+Log/72488/

    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 SCAN vs INDEX SEEK

    http://sqlinthewild.co.za/index.php/2007/11/15/execution-plan-operations-scans-and-seeks/

    http://www.sqlservercentral.com/articles/Indexing/68439/

    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 - 23,041 through 23,055 (of 49,552 total)