About 517,000 results
Open links in new tab
  1. sql - what does DBCC DBREINDEX ('?', ' ', 80) do? - Stack Overflow

    Aug 13, 2013 · In reply to your second question from the comments, yes - according to the documentation on DBCC DBREINDEX about the second argument: If index_name is …

  2. sql server - difference between DBREINDEX and INDEXDEFRAG

    Nov 11, 2011 · I would like to know difference between DBCC DBREINDEX and DBCC INDEXDEFRAG and when we will go with reindex , when we will go with defradmentation of …

  3. Rebuild index with "Alter Index Rebuild" or "DBCC DBREINDEX"

    Jun 4, 2002 · You can rebuild all index for a table with "Alter Index Rebuild" and "DBCC DBREINDEX" . First, in BOL, for "DBCC...

  4. sql - Best Approach for Reindexing - Stack Overflow

    Apr 5, 2013 · I am trying to reduce fragmentation in all of the indexes for a database running on SQL Server 2005. Currently I am trying to use ALTER INDEX in conjunction with …

  5. sql - Rebuild all indexes in a Database - Stack Overflow

    Sep 10, 2015 · I have a very large SQL Server 2008 R2 database (1.5TB) and will be copying some data from column to column within the same table. I've been told that the schema has a …

  6. indexing - If DBCC printed error messages, contact your system ...

    Jul 30, 2021 · 0 You can rebuild a clustered index online or offline. Here, we will discuss the steps to rebuild an index online using the SQL Server Management Studio. The detailed steps are …

  7. sql server - When do we specify fill factor for DBCC DBREINDEX?

    Jun 2, 2016 · THe default fillfactor is 100 out of the box (if it hasn't been changed). When fillfactor is 0, DBCC DBREINDEX uses the last value specified for the index. Fillfactor is designed for …

  8. DBCC REINDEX for each table – SQLServerCentral Forums

    Feb 1, 2011 · Hi, I am using the following to reindex each index on each table in the database: USE DBName; EXEC SP_MSFOREACHTABLE 'DBCC DBReindex (''?'', '''', 90)' GO My …

  9. How can I quickly detect and resolve SQL Server Index …

    Apr 28, 2017 · Here is a SQL query solution that works in SQL Server 2005 and up, that will let you 1) first find all the indexes that need to be rebuilt or reorganized to reduce fragmentation, …

  10. SQL Server index rebuild consumes all disk space

    Jan 2, 2023 · ALTER INDEX ALL ON MyTable REBUILD SQL Server 2014 Total disk space is 465 GB The database size is ~320GB During index rebuild the disc is filled entirely. And when …