Step 4. Upgrading the database - HxGN EAM - Version 11.7.1 - Installation & Upgrade - Hexagon

HxGN EAM Oracle Database Installation Guide

Language
English
Product
HxGN EAM
Search by Category
Installation & Upgrade
HxGN EAM Version
11.7.1

Before beginning the upgrade, ensure that all open invoices are approved or canceled and that all drivers on the Transaction driver control form (BXDCTL) have been stopped. Also disable Flex SQL and email triggers.

Before beginning the upgrade, back up the current database by exporting the existing HxGN EAM production schema.

The 7ISET.SQL script contains a setting to modify the number of rows processed at once by some of the large-scale updates; you may want to increase the number of rows when the rollback segments are sufficiently large enough to improve performance (the default setting of 5000 rows is a conservative estimate). The upgrade does not use the definition of the index tablespace that can be set here.

Hexagon recommends performing a trial upgrade before upgrading a production database.

Execute the following scripts from the \ORACLE\<SCRIPTS>\ directory:

Script

Function

00ck112u.sql

Checks the version, the Oracle RDBMS version, any users still logged in, the available space, and the presence of auxiliary tables remaining from previous upgrades (these must be dropped or renamed before proceeding)

10tb112u.sql

Upgrades the table structure to HxGN EAM version 11.2 using the storage parameters defined in the 7iset.sql file

7icomp.sql

Run this script to recompile any invalid database objects; however, not all objects need to be valid at this point. Run the next scripts from this SQLPlus session or from a new session.

20ip112.dmp

Imports "seed" data for the application

Import the export file with this command—imp DBA/Pass@alias file=20ip112.dmp fromuser=d7idmp touser=<user> log=20ip112.log ignore=y

Where DBA/Pass = an Oracle account with DBA privileges, alias = the database alias for the Oracle instance to be used, and <user> = the HxGN EAM Oracle schema

Ensure that the log file shows a list of imported tables. Do include ignore=y on the command line.

28lc112u.sql

Updates the basic HxGN EAM setup to version 11.2

30dt112u.sql

Data manipulation for version 11.2. Refreshes the electronic archiving mapping metadata, gives new columns to default values, and converts user data whenever necessary.

50cs112u.sql

New version 11.2 database constraints, indexes, and views. Indexes are created in the same tablespace as the primary key index on the R5EVENTS table (R5PRIK_EVT).

60prc112.sql

Replaces all database procedures, functions, packages, and views (in dependency order)

70trg112.sql

Replaces all database triggers

7icomp.sql

To be used to recompile any invalid database objects; however, these invalid database objects should not be present at the end of the version 11.2 database installation. Run the next scripts from this same SQLPlus session or from a new session.

80ed112u.sql

Updates some settings and metadata according to the edition of the product.

90enx112u.sql

Contains statements for ENX

7icomp.sql

To be used to recompile any invalid database objects; however, these invalid database objects should not be present at the end of the version 11.2 database installation. Run the next scripts from this same SQLPlus session or from a new session.