Article ID: 50258 - Last Review: August 25, 2010
INTRODUCTION
This article describes the steps to drop and rebuild the database once SQL Express has reached its size limit of 4 GB
SUMMARY
SQL Express, unlike full SQL, has a database limit of 4GB. Once a database in SQL Express has reached 4GB in size, no further data can be written into it. At this time customers will encounter problems logging into the CCM website and are unable to run reports. Follow the steps below to drop the existing database to create a new one.
INSTRUCTIONS
Create a backup of the .xml database
- Launch Contact Center Client (CCC)
- Click on Management in the top left corner
- Select Configuration
- Select Backup/Restore configuration data
- Select Back up and save .xml file to Desktop
Drop the Existing Database
For a video tutorial see here
- Install SQL Server Management Studio Express
PrairieFyre ships this application with the full install. It is located in the source directory here:
<Install Dir>\CCM\src\Support\SQL Server Management Studio Express - Launch SQL Server Management Studio Express from Start=>All Programs=>Microsoft SQL Server 2005
- Connect to SQLExpress
- Expand Databases to see CCMData
- Right-click CCMData and select Tasks then Detach
- Add check-mark to Drop Database and Close Existing Connections
- Click OK
- Browse to the database storage directory (Defaulted to <Install Dir>\Program Files\PrairieFyre Software inc\CCM\Database\ and move the CCMData.mdf, and CCMData.ldf files into another directory for safe keeping. (If you've dropped the CCMStatisticalData database as well, move the CCMStatisitcalData.mdf and CCMStatisticalData.ldf files as well)
Re-create a New Database
- Re-run Configuration Wizard from Start=>All Programs=>Mitel=>Contact Center Management Configuration Wizard
- Click Next and let the Wizard run though
- The Wizard will re-create a blank new CCMData database
- Re-launch Contact Center Client (CCC)
- Click on Management in the top left corner
- Select Configuration
- Select Back up/Restore configuration data
- Select Restore and browse to .xml file on Desktop
Re-Summarize Recent Historical Data Back Into SQL
- Launch Contact Center Client (CCC)
- Click on Management in the top left corner
- Select Maintenance
- Select Summarize Data
- Under Data Range specify the range for which historical reports are needed
- Click Next
APPLIES TO
CCM/CA version 5.x