Solution
Tuning the ProjectDox database using SQL Profiler, and Tuning Adviser
NOTE: The interface of the tools may vary with the version of SQL Server you use. Please consult Microsoft’s web site or other documentation for additional information.
IMPORTANT! Running the SQL Profiler and Tuning Adviser should be undertaken only by persons sufficiently familiar with SQL Server. The tools create temp files, and care must be taken not to fill up the system drive. Use this guide at your own risk. Avolve Software is not responsible for any damages.
- Confirm you have ProjectDox standard users, Project Admin, and System admin logins and passwords, and the URL for the site
- Open SQL Server Profiler (in SQL Management Studio)
- Select File, New Trace
- Login as an SA on the SQL Server
- Select the Events Selection tab
- Check Show all Columns checkbox
- Click the Column Filters button
- Choose Database Name
- Expand Like on the right side of the window, type the name of your ProjectDox database (in the example ProjectDoxLu,) and then click OK.
NOTE: The actions describe in the next step are for general tuning. Your purpose for tuning may vary, and you may select specific activities to trace and tune (for example: logging in as a user with membership in many projects, waiting for the project list to display)
- Click Run when you are all ready to start.
- Login as a low permissioned user. Use PD – view projects, files, folders, Eforms, etc. (Better if multiple active users are doing it live)
- Login as PA, SA. Use ProjectDox – view projects, files, folders, Eforms, etc.
- Stop trace
- Open database tuning advisor
- Choose Workload, File radio button
- Navigate to the Trace file
- Choose the Database for workload analysis
- Place a checkmark next to the name of the database
- Click the Start Analysis button at the top of the Advisor
- When complete, Choose the Actions menu, Save Recommendations
- Save the Recommendations as a SQL file, this is for audit trail
- Apply recommended indexes and statistics.
- Test your site again with the same actions to verify improvement.
Resources
For screenshots to clarify steps further, see attached file.
Revised 02-26-2015
Comments
0 comments
Please sign in to leave a comment.