10.07.2015 Views

Ingres 9.2 Migration Guide - Actian

Ingres 9.2 Migration Guide - Actian

Ingres 9.2 Migration Guide - Actian

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

How You Upgrade from <strong>Ingres</strong> 6.4 Using Upgradedb (Alternate)Edit the Unloaddb OutputThe unloaddb output must be modified for recreating just the database objectsand storage structures.To edit the unloaddb output, manually edit each cp{user}.in file that unloaddbcreated to extract the following statements:• Create rule statements into a file named {user}_rule.sql• Create procedure related statements into {user}_dbp.sql• Create dbevent related statements into {user}_event.sql• Modify statements into {user}_modify.sql• Modify and create index statements into {user}_modindex.sql• All other non-base-table related statements into {user}_grantview.sql.This file will contain grants, QUEL permits, QUEL integrities, and viewdefinitions.For UNIX, the extract_unloaddb.sh shellscript is available that extracts oneuser's object definitions. The script is available on the <strong>Ingres</strong> Technical Supportweb site.Note: The $ingres user should not own any non-catalog objects, so do notprocess the cp_ingre.in file that unloaddb creates.As a result of this step, SQL scripts are created that can recreate any databaseobject or storage structure owned by any user in any database.110 <strong>Migration</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!