Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. Re-indexing

Re-indexing

Scheduled Pinned Locked Moved Database
questioncareer
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vanikanc
    wrote on last edited by
    #1

    Hello, we have created a job to automatically run re-indexing on some of the indexes, on a weekly basis. The outcome, is that some of the indexes are taking a longer time the second time around. We have collected data for 2 weeks now and running some analysis. Is there something like re-indexing too often not a good idea? They indexes are used quite often, so the plan for once a week re-indexing worked out. thanks!

    D 1 Reply Last reply
    0
    • V vanikanc

      Hello, we have created a job to automatically run re-indexing on some of the indexes, on a weekly basis. The outcome, is that some of the indexes are taking a longer time the second time around. We have collected data for 2 weeks now and running some analysis. Is there something like re-indexing too often not a good idea? They indexes are used quite often, so the plan for once a week re-indexing worked out. thanks!

      D Offline
      D Offline
      David Mujica
      wrote on last edited by
      #2

      Let's take a step back and see what is motivating you to re-index ? Re-indexing a table which does not change much (insert,update,delete) is a waste of time. Maybe you should consider using a threshold, like "fragmentation" to determine when you should re-index. Something similar to disk defragmenter; it analyzes your disk, then recommends you to either defrag or not defrag. Look at this article ... http://www.sql-server-performance.com/articles/per/index_fragmentation_p1.aspx[^]

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups