Вы находитесь на странице: 1из 1

April 30, 2007 Confidential 1

CSG Techni c al Suppor t Bul l et i n


Dat e: April 30, 2007
From: J im Ridenour - CSG
RE: SQL scripts for ProWatch
Pre-requisit es:
Suggested Pro-Watch Maintenance Tasks Technical Support Bulletin
ProWatch Enterprise Manager or SQL Enterprise Manager
Required media:

Inst allat ion st eps:
The following are scripts used in support of ProWatch, all versions. Stop the ProWatch service and run all
scripts against the PWNT database.
To return the number of rows in the associated table:
Select Count (*) from channel_download
Select Count (*) from ev_log
Select Count (*) from unack_al
Select Count (*) from hi_queue
To permanently delete all data in the associate table:
Truncate Table channel_download
Truncate Table ev_log
Truncate Table unack_al
Truncate Table hi_queue
To shrink the database:
DBCC Shrinkdatabase (PWNT, 10)
Not es:

Вам также может понравиться