Anda di halaman 1dari 1

Weve run the DROP_NC script in an attempt to resolve scheduled reports staying in

executing status even though theyve completed and to resolve the email issues. (R
an 11/22/07 4:28 4:31)
Run Database Cleanup Scripts
In some troubleshooting situations, you may be advised to start with new configu
ration data.
You can run an SQL script to delete all the tables in any of the following datab
ases that Cognos 8 components use:
content store for data that Cognos 8 needs to operate
delivery database for report notifications
log database for log messages
metric store for metric package content and Metric Studio user preferenc
es
When you delete a table, its structural definition and data are deleted permanen
tly from the database. For the metric store, database objects may also be delete
d.
When you restart the Cognos 8 ser vice, a new set of required database tables ar
e created automatically in the location specified by your configuration settings
.
Steps
1. On each computer where Content Manager is located, stop the Cognos 8 ser
vice.
2. Go to the appropriate directory:
o To delete tables from the log database, go to c8_location\configuration\
schemas\logging.
o To delete tables from the content store, go to c8_location\configuration
\schemas\content.
o To delete tables from the notification database, go to c8_location\confi
guration\schemas\delivery.
o To delete tables from the metric store, go to c8_location\configuration\
schemas\cmm.
3. Go to the appropriate database directory.
4. Depending on the database and database type, run one of the following sc
ripts in the appropriate database tool to delete the tables.
Database Database Type Script Name
Content store DB2 dbClean_db2.sql
Microsoft SQL Server dbClean_mssqlserver.sql
Oracle dbClean_oracle.sql
Sybase dbClean_sybase.sql
Notification DB2 NC_DROP_DB2.sql
Microsoft SQL Server NC_DROP_MS.sql
Oracle NC_DROP_ORA.sql
Sybase NC_DROP_SYBASE.sql
Log DB2 LS_dbClean_db2.sql
Microsoft SQL Server LS_dbClean_mssql.sql
Oracle LS_dbClean_oracle.sql
Sybase LS_dbClean_sybase.sql
Metric store DB2 cmm_purge_deleted_data dbalias username password
Specify the dbalias only if a database with the same name is already cataloged.
Microsoft SQL cmm_purge_deleted_data metric_store_name database_name A
dmin_user_name password
Oracle cmm_purge_deleted_data database_name database_user_name password
Replace database_name with the name in the tnsnames.ora file that refers to the
database SID for Metric Studio
5. Start the Cognos 8 service.

Anda mungkin juga menyukai