Download Now

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Entity–attribute–value model wikipedia , lookup

Microsoft Access wikipedia , lookup

Microsoft SQL Server wikipedia , lookup

Serializability wikipedia , lookup

Extensible Storage Engine wikipedia , lookup

Open Database Connectivity wikipedia , lookup

Btrieve wikipedia , lookup

IMDb wikipedia , lookup

PL/SQL wikipedia , lookup

Functional Database Model wikipedia , lookup

Oracle Database wikipedia , lookup

Ingres (database) wikipedia , lookup

Database wikipedia , lookup

Microsoft Jet Database Engine wikipedia , lookup

Relational model wikipedia , lookup

Concurrency control wikipedia , lookup

Database model wikipedia , lookup

Clusterpoint wikipedia , lookup

Versant Object Database wikipedia , lookup

ContactPoint wikipedia , lookup

Transcript
CCAR v10671 Database Upgrade Procedures
The CCAR v10671 upgrade requires changes to both CCaR and Looking Glass:
1. Looking Glass Database
a. LG Schema
2. CCaR Database
a. CCAR Schema
Migration File Download Instructions
1. Create a local folder labeled c:\ccar10671
2. Download the migration files from ftp://ftp.getintegrated.com/public/CCAR/ccar_10671/db_migration into this folder
Or
Download the 10670.zip file from http://www.getintegrated.com/ccar/downloads/ccar10671/10671.htm
, and extract the db_migration
folder from the zip file.
Looking Glass Database Migration Instructions
NOTE: The Looking Glass database must be at v10670 with EBFs BEFORE
performing the v10671 upgrade, Looking Glass migration scripts are under
C:\ccar10671\lg subfolder!!
1. Backup the LG Schemas and save the export for 1 month
2. Shutdown the database and startup in restricted mode to ensure no users are
connected to the database. Also ensure there are no Oracle jobs schedule to start
during the migration.
3. If necessary, upgrade the database from the current version to v10670.
a. You must upgrade each version in sequential order (i.e. if on v10670 you
must run all applicable v10670 EBFs, then v10671)
2. LG From a command prompt run the following:
Sqlplus lg/xxx@yyy @lg10671_lg.sql > lg10671_lg.log
i. replace xxx with the lg user password
ii. replace yyy with the tnsname for LG database
b. Review the spooled files and check for errors
c. Check for invalid objects:
Select object_name,object_type from user_objects where
status = ‘INVALID’;
3.
4.
Make sure you have reviewed the log files to check for errors. Save the log
files for 1 month.
Shutdown the database and startup in regular mode so users can login
CCaR Database Migration Instructions
NOTE: The CCaR database must be at v10670
With all EBFs BEFORE performing the v10671 upgrade!!
1. Backup the CCAR Schema and save the export for 1 month
2. Shutdown the database and startup in restricted mode to ensure no users are
connected to the database. Also ensure there are no Oracle jobs schedule to
start during the migration.
3. If necessary, upgrade the database from the current version to v10670
a. You must upgrade each version in sequential order (i.e. if on v10670 you
must run the v10670 migration all applicable v10670 EBFs then v10671
database migration)
5. CCAR From a command prompt run the following:
a. cd c:\ccar10671
b. Run the following:
sqlplus ccar/xxx@yyy @ccar10671_ccar.sql >
ccar10671_ccar.log
i. replace xxx with the ccar user password
ii. replace yyy with the tnsname
c. Review the spooled files and check for errors
d. Check for invalid objects:
Select object_name,object_type from user_objects where
status = ‘INVALID’ and object_type <> 'JAVA_CLASS';
e. Import excel_export_templates.dmp into
excel_export_templatestable:
sqlplus ccar/xxx@yyy @c:\ccar10671\truncate_excel_table
imp userid=ccar/xxx@yyy file=c:\ccar10671\excel_export_templates.dmp
ignore=y full=y
Make sure you have reviewed the log files to check for errors. Save the log files for
1 month.
Shutdown the database and startup in regular mode so users can login