Forum Replies Created

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

  • 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,...

  • Reply To: Would this be a join?

    You're welcome!  Thanks for the feedback.

  • Reply To: Finding columns with null values

    I think the OP does want to find only columns that are all NULL.  Perhaps to remove the column?

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