Results 1 to 3 of 3

Thread: DBREINDEX:How does it work?

  1. #1
    Join Date
    Aug 2004
    Location
    USA
    Posts
    80

    DBREINDEX:How does it work?

    Can anyone shed some light as to how SQL Server performs DBCC DBREINDEX?
    Does it use PRIMARY data file space and how much extra data space/log space do we need to have to be able to run this command?

  2. #2
    Join Date
    Nov 2002
    Location
    New Jersey, USA
    Posts
    3,932
    It reads index tree and creates a new and balanced one. So you should have atleast the size of existing index free.

  3. #3
    Join Date
    Sep 2002
    Posts
    5,938
    Log space needed depends on how many rows involved, you should let log file auto grow.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •