Oracle8i interMedia Text Migration Release 2 (8.1.6) Part Number A77061-01 |
|
Index Preferences, 4 of 4
The migration scripts are the following:
The migrations scripts drminst
and drmrun
are obtained from your 8.1 installation. They are located in the $ORACLE_HOME/ctx/migrate
directory.
You must copy these scripts into your production environment (pre-8.1). Run these scripts to generate migrate.sql
.
The migrate.sql
script attempts to recreate the pre-8.1 index as closely as possible. It does so by creating corresponding preferences and attributes and finally the index using interMedia Text 8.1 code.
You then copy migrate.sql
to your test environment, edit it appropriately, and run the edited migrate.sql
to transform your index.
The migration script attempts to replace all preferences defined with pre-8.1 objects with preferences defined with the renamed 8.1 objects.
For example, if you have a pre-8.1 policy that uses a preference named mydatapref
set to the OSFILE object, the migration script creates an 8.1 preference called mydatapref
and sets it to use the FILE_DATASTORE object. The 8.1 index is created with the mydatapref
storage preference.
When an pre-8.1 object or attribute has been made obsolete in 8.1, the migration script issues a warning in the form of a REM statement and creates no corresponding preference. In such cases, you must edit the migration script to reflect the correct replacement preference, if any, for your system.
The migration script replaces pre-8.1 system-defined preferences with 8.1 system-defined preferences.
When a system-defined preference name has not changed from pre-8.1 to 8.1, the migration script uses the same preference name and attribute. For example, if your pre-8.1 policy used the DEFAULT_LEXER system-defined preference, your 8.1 index will be created with the DEFAULT_LEXER system-defined lexer preference.
When system-defined preference names or attributes have been renamed for 8.1, the migration script replaces the old name with the new name.
When an pre-8.1 system-defined preference or attribute has been made obsolete in 8.1, the migration script issues a warning in the form of a REM statement and creates no corresponding preference. In such cases, you must edit the migration script to reflect the correct replacement preference, if any, for your system.
The migration script replaces system-defined 2.X preferences with the new 8.1 preferences. The following table lists these replacements:
After attributes and preferences have been created, the migration script attempts to recreate the pre-8.1 indexes from the pre-8.1 policy information.
Policies do not exist in interMedia Text 8.1. In 8.1, you create a Text index as an extensible type of Oracle index. In addition, you can create only a single index per column.
Therefore, the migration script issues a warning as a REM statement if your pre-8.1 environment includes any of the following non-migratable structures:
|
![]() Copyright © 1996-2000, Oracle Corporation. All Rights Reserved. |
|