If you can, it is best to run with the database in single user
mode, but if you can't put the db in single user mode, it is
still better to run dbccs than not run them.
-bret
So do I just enter the command: dbcc tablealloc
(z_audit_header, full, fix) ? Will it take very long, or
affect users? Thanks again, I'm obviously new to this.
yes, the command is dbcc tablealloc(<table>, full, fix), if
you need to run it for a system table, you'll have to put
the database in single user mode. the running time will
depend on the table size, obviously, the larger table is,
the longer it will take to check it. as for the users, they
will be affected since dbcc will put a shared intent lock on
the table preventing users from changing it.
misha
Thanks for the help. I was hoping to run this with minimal
impact on users. We are up 24x7. Is it correct then that
since I run dbcc regularly not in single user mode these
"false alarm" errors will always be found?
denise, we get over 100 spurios errors every night due to
users' processing when we run dbcc. the only thing done for
these errors is to check if they occur on the same table and
page 2-3 nights in a row.
misha
http://www.whitesands.com/Products/drt_white.pdf
<denise> wrote in message news:405f6c4e.7e...@sybase.com...