Forum Replies Created

Viewing 15 posts - 16,981 through 16,995 (of 49,552 total)

  • RE: high index fragmentation after deleting many rows

    mlcote (8/23/2012)


    I didn't manually shrink the database but Autoshrink is set to Yes on that database. I'm not sure what can trigger an Autoshrink to execute. Would it do it...

    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: Killed Process still rolling back

    In your specific case.

    If there was a supported command that did what you're asking, it would have to be supported for everyone, from top DBAs that know the risk down...

    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 performance?

    Somewhere to start.

    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/

    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: max memory setting SQL 2008 64 bit?

    iirc it's covered in chapter 4 of this: http://www.simple-talk.com/books/sql-books/troubleshooting-sql-server-a-guide-for-the-accidental-dba/

    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: max memory setting SQL 2008 64 bit?

    No, thread stacks do not use memory in the buffer pool, they use the non-buffer memory.

    CLR disabled does not mean no CLR. The system assemblies can still be used. There's...

    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: Killed Process still rolling back

    No way. MS does that and the next thing CSS/support is getting all sorts of calls "SQL Server corrupted my database!"

    There must never be a documented/supported command or statement 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: subquery

    You can with a TOP statement, but unless you have a row-limiting top SQL may very well just ignore the order by as there's no purpose for it.

    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: Transparent partitioning.

    Just a note, partitioning is not about performance improvements most of the time. It's about maintenance, data loads, archiving and things like 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: max memory setting SQL 2008 64 bit?

    Not an issue, normal behaviour.

    Max server memory sets the size of the buffer pool. There's also the non-buffer memory (CLR, linked server drivers, backup buffers, thread stacks, etc). That's allocated...

    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: Single sql column defined as 2 separate indexes-unique and non unique?

    Yes. As Bol says, the key, the row locator and then any include columns. No include columns, that last section is empty then.

    No. The clustered index key IS the row...

    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?

    Jeff Moden (8/22/2012)


    GilaMonster (8/21/2012)


    <soapbox>

    Cursors are tools. Use them where they work, don't use them where they don't. Statements like 'you should never use a <whatever>' are just shortsighted

    If we count...

    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: Single sql column defined as 2 separate indexes-unique and non unique?

    No. The include columns are what you specify in the INCLUDE section of the index definition

    "Each index row contains the nonclustered key value, a row locator and any included, or...

    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: Does BCP IN Break the log chain

    Evil Kraig F (8/22/2012)


    GilaMonster (8/22/2012)


    Minimal logging and bulk-logged recovery model: http://www.sqlservercentral.com/articles/Recovery+models/89664/

    ERG, BAD CRAIG! Giving out bad information again. :blush:

    Err, you did? Where?

    Now, as long as you're doing backups...

    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: Does BCP IN Break the log chain

    Minimal logging and bulk-logged recovery model: http://www.sqlservercentral.com/articles/Recovery+models/89664/

    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: Optimizing Stored Procedures that utilize only local variables (and lots of them)

    mtassin (8/22/2012)


    GilaMonster (8/22/2012)


    did I miss one that compared EXISTS/NOT EXISTS vs IN/NOT IN?

    How would I compare things that do the complete opposite to each other?

    EXISTS vs IN

    NOT EXISTS vs 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

Viewing 15 posts - 16,981 through 16,995 (of 49,552 total)