16.01.2013 Views

Microsoft Sharepoint Products and Technologies Resource Kit eBook

Microsoft Sharepoint Products and Technologies Resource Kit eBook

Microsoft Sharepoint Products and Technologies Resource Kit eBook

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 10: Performance Monitoring in <strong>Microsoft</strong> Office SharePoint Portal Server 2003 263<br />

■ SQLServer:Databases Application Database: Log Growths<br />

■ SQLServer:Databases Application Database: Percent Log Used<br />

■ SQLServer:Databases Application Database: Transactions/sec<br />

■ SQLServer:General Statistics: User Connections<br />

■ SQLServer:Locks: Lock Waits/sec<br />

■ SQLServer:Locks: Number of Deadlocks/sec<br />

■ SQLServer:Memory Manager: Memory Grants Pending<br />

Monitoring these elements helps to ensure that the SQL Server databases running<br />

within the portal architecture perform optimally <strong>and</strong> that any issues are dealt<br />

with promptly. It also allows for capacity planning <strong>and</strong> performance tuning of the<br />

environment, which enables you to provide continuous effective service.<br />

Re-indexing Site Databases<br />

It is critical that you re-index the site database tables after doing lots of updates, such<br />

as updating statistics or bulk loading of profiles, documents, or lists. By re-indexing<br />

the tables in the site database using a simple SQL script, you can improve database<br />

performance by 5 to 25 percent.<br />

To re-index, run the following scripts against the site databases:<br />

■ UPDATE STATISTICS Personalization<br />

■ UPDATE STATISTICS UserInfo<br />

■ UPDATE STATISTICS WebMembers<br />

■ UPDATE STATISTICS Sites<br />

■ UPDATE STATISTICS Webs<br />

■ UPDATE STATISTICS Lists<br />

■ UPDATE STATISTICS WebParts<br />

■ UPDATE STATISTICS Docs<br />

■ DBCC DBREINDEX (Personalization, “, 0)<br />

■ DBCC DBREINDEX (UserInfo, “, 0)<br />

■ DBCC DBREINDEX (WebMembers, “, 0)<br />

■ DBCC DBREINDEX (Sites, “, 0)<br />

■ DBCC DBREINDEX (Webs, “, 0)<br />

■ DBCC DBREINDEX (Lists, “, 0)<br />

■ DBCC DBREINDEX (WebParts, “, 0)<br />

■ DBCC DBREINDEX (Docs, “, 0)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!