Forum Replies Created

Viewing 15 posts - 1,621 through 1,635 (of 7,616 total)

  • Reply To: extended events bulk copy process

    IF you control the connection string, you can use a specific app name, and then a logon trigger can review the app name and decide if it wants to let...

  • Reply To: Does creating memory-optimized tables require a lot of extra DBA support?

    Have you reviewed page compression for the tables?  If not, that's the first thing to look at.  Unless the rows just keep having lots of updates through their entire history.  Generally,...

  • Reply To: Index rebuild

    Jeff Moden wrote:

    ScottPletcher wrote:

    Fairly frequent random deletes lower the space used below the fill factor and thus can cause an issue with reorg.

    First of all, those are NOT random...

  • Reply To: Index rebuild

    Jeff Moden wrote:

    ScottPletcher wrote:

    Presumably that 147GB CI had (nearly) every page out of logical order or (nearly) every page was below the fillfactor. Hmm, veryh odd, interesting.

    Again, I can't...

  • Reply To: Index rebuild

    Jeff Moden wrote:

    ScottPletcher wrote:

    I still have to disagree on REORG if: (1) you can't use online rebuilds AND (2) the table has some serious fragmentation you need to address...

  • Reply To: Index rebuild

    I do need to add one caveat: if you DELETE rows throughout the table, you probably should avoid reorg.  Once our data exists, we don't delete it, it never just...

  • Reply To: Index rebuild

    Presumably that 147GB CI had (nearly) every page out of logical order or (nearly) every page was below the fillfactor. Hmm, veryh odd, interesting.

    Again, I can't imagine needing an unpartitioned...

  • Reply To: Index rebuild

    Jeff Moden wrote:

    ScottPletcher wrote:

    I still have to disagree on REORG if: (1) you can't use online rebuilds AND (2) the table has some serious fragmentation you need to address...

  • Reply To: Index rebuild

    I still have to disagree on REORG if: (1) you can't use online rebuilds AND (2) the table has some serious fragmentation you need to address.  It helps if you've properly...

  • Reply To: Index rebuild

    Jeff Moden wrote:

    and can't afford the time to do offline REBUILDs (which are nasty fast even in the full recovery model), then simply wait until you can.   

    Not necessarily.  You seem...

  • Reply To: Index rebuild

    I don't think you should be repeatedly rebuilding 240GB of data.   Much of that data must be historical, i.e. unchanging, so there's no need to use vast resources to keep...

  • Reply To: Index rebuild

    I've found one other use for REORG.  When I've done massive deletes on a table, I've found that a REORG first is sometimes better than a REBUILD first.  Follow the...

  • Reply To: T-SQL code help

    Ooh, yeah, that is rough.  Sorry, it must be a royal pain (no pun intended).

    When I was a kid, my grandmother used to say, "Never get old."  As I got...

  • Reply To: Finding columns with null values

    The Dixie Flatline wrote:

    Perhaps.    I was just going by his language that says the columns contain nulls.     I don't think he ever used the words "all" or "only".

    I was...

  • Reply To: Deadlocks during concurrent delete operation

    You stated you're using stored procs.  If so, try using a bigint SEQUENCE rather than a guid.

    Also, it sounds like you insert multiple rows with the same guid/SEQUENCE.  If so,...

Viewing 15 posts - 1,621 through 1,635 (of 7,616 total)