Home > Archive > MS SQL Server Tools > March 2006 > Checking and Indexing









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Checking and Indexing
Amir Marathonian

2006-03-30, 8:27 pm

Hi,

Does running the SQL maintenance tools such as indexing and checking while
users are using the database cause problems?

Thanks
Andrew J. Kelly

2006-03-31, 9:31 am

Any maintenance activity such as DBCC CHECKDB and DBREINDEX will have some
effect due to their resource intensive nature. But DBCC CHECKDB can be run
while users are accessing the system without stopping normal access to the
tables. The system may be slower due to the CPU usage of the command but it
will not prevent them altogether. DBCC DBREINDEX on the other hand will
stop any access to the table it is currently working on. From the time it
starts to reindex anything in that table it takes an exclusive table lock
and holds it until it finish's with that table.

--
Andrew J. Kelly SQL MVP


"Amir Marathonian" < AmirMarathonian@disc
ussions.microsoft.com> wrote in
message news:193BC0D7-1BF7-415B-8B74- 1FBCBC4C649F@microso
ft.com...
> Hi,
>
> Does running the SQL maintenance tools such as indexing and checking while
> users are using the database cause problems?
>
> Thanks



Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com