StarTeam Server comes with some SQL scripts written specifically for use with your database. These scripts help you maintain and tune StarTeam Server databases. You run some SQL scripts after installation, some on a weekly basis for database performance maintenance, and some scripts are run for you automatically by StarTeam Server.
The SQL scripts for Microsoft SQL Server and Microsoft SQL Server Express databases that you may run are located in the Micro Focus\Hub\DBScripts\Sqlserver_Scripts folder.
The following table lists the SQL scripts that you are most likely to need. Some should be run manually on a regular basis. The table recommends the frequency for running these scripts. You may adjust the frequency depending on the StarTeam Server usage at your facility. Run scripts at times when the server is least used, such as overnight or on weekends.
In addition to running these scripts, you should also run a Purge option from the Server Administration tool to remove deleted views from the database. We recommend purging the database after you have deleted one or more views from a project. See the Server Administration Tool Help for information on the Purge option.
StarTeam Server Script Name | Run Frequency |
---|---|
starteam_sqlserver_dbcc.sql | Weekly |
starteam_sqlserver_dbcc_reindex.sql | Twice a week (minimum) |
starteam_sqlserver_dbcc_showcontig.sql | Twice a week (minimum) |
starteam_sqlserver_dropall.sql | Only if necessary |
To run a script for a Microsoft SQL Server or Microsoft SQL Server Express database: