I would assume everyone does it, but when I talk to people about it, they generally dont.
This is how to defrag the DB:
Log in to Microsoft SQL Server Management Studio as an administrator.
Right-click on the database that VirtualCenter is using.
Click New Query.
In the New Query window type:
Use
go
dbcc showcontig (VPX_HIST_STAT,VPXII_HIST_STAT)
go
where
Click Execute.
Look at the amount of fragmentation
To defragment
Log in to Microsoft SQL Server Management Studio as an administrator.
Right-click on the database that VirtualCenter is using.
Click New Query.
In the New Query window type:
dbcc indexdefrag ('
go
where
Click Execute.
No comments:
Post a Comment