Forum Replies Created

Viewing 15 posts - 661 through 675 (of 757 total)

  • RE: Index Fragmentation

    GilaMonster (11/10/2011)


    derekr 43208 (11/9/2011)


    So when a NC index is created, its leaf pages match the order of the data pages

    No, no, no. Nothing whatsoever to do with the data pages....

  • RE: Index Fragmentation

    How do we get forwarding pointers?

    Never with an index. Only possible with a heap.

    Can this happen with a table with just non-clustered indexes on it.

    Thanks

  • RE: Index Fragmentation

    NC Index, if the leaf pages order does not match the table/clustered index pages order - Fragmentation

    No, not at all. An index is fragmented if its pages physical order do...

  • RE: Index Fragmentation

    GilaMonster (11/8/2011)


    Fragmentation is solely and only a measure of how 'out of order' an index's leaf pages are based on the index key. That's all it is.

    So if index X...

  • RE: Index Fragmentation

    Thanks

    I though that because the non-clustered indexes leaf pages have a pointer to the clustered index, if the Clustered index was fragmented, then NC index would also be fragmented.

    Am I...

  • RE: Index Fragmentation

    Thanks

    Would that still apply even if the 2 indexes were covering the same columns?

    Thanks

  • RE: Index Fragmentation

    Thanks

    If I have a table with a clustered index and a non-clustered index on it

    If the Clustered index is fragmented, does that mean that the non-clustered index is also...

  • RE: Log backups Not running

    When using the not exists

    Can my 1st select statement have a "where" clause in it before the "not exists"

    I tried this

    select name from sys.databases where recovery_model_desc <> 'SIMPLE'

    and name...

  • RE: Log backups Not running

    Ninja's_RGR'us (11/2/2011)


    Looks fine but that's untested on my end.

    I would possibly use not exists because it's clearer to me and it can't fail if a name is null. I...

  • RE: Log backups Not running

    Ninja's_RGR'us (11/2/2011)


    Might be better like this =>

    SELECT database_name, MIN(backup_finish_date) AS FirstBackup

    FROM msdb.dbo.backupset

    WHERE [type] = 'D' --Full backup

    GROUP BY database_name

    ORDER BY database_name

    Cool

    Is my original script okay though? - To check which...

  • RE: Log backups Not running

    Ninja's_RGR'us (11/2/2011)


    derekr 43208 (11/2/2011)


    viiki.seth (11/2/2011)


    If there is a job to purge bakup history, the query *might not* give you database names whose log backups have been taken.

    Would a maintenance plan...

  • RE: Log backups Not running

    viiki.seth (11/2/2011)


    If there is a job to purge bakup history, the query *might not* give you database names whose log backups have been taken.

    Would a maintenance plan that deletes old...

  • RE: Over (Partition By)

    Thanks

  • RE: Over (Partition By)

    Evil Kraig F (11/2/2011)


    derekr 43208 (11/2/2011)


    One thing, the total rows returned is 121311 but the last value for SalesOrderDetailID is 121317

    Is that normal?

    Yep. It's the number of attempted inserts,...

Viewing 15 posts - 661 through 675 (of 757 total)