For migrating your Emptoris® applications,
you must upgrade your database to Oracle 11g.
Before you begin
To upgrade your database from Oracle 10g to 11g, refer to
the following Oracle documentation:
Procedure
To migrate to Oracle 11g using Import/Export, complete
the following tasks:
- Stop all application servers that are pointing to the schema
that is running on the Oracle 10g database server to get a consistent
copy.
- Export the schema from the Oracle 10g database using the exp/expdp command.
- Create a table space for the application objects.
Note: For
the table space size, consider a 5% additional space for new objects
that are created during the upgrade process.
If using export/import,
use the same table space name that you were using for the 10g database.
Otherwise, the tables with CLOB columns are not imported
properly.
If using
datapump impdp/expdp, you
can change the table space using one of the following options:
remap_tablespace=old:new
transform=segment_attributes:n
- Create a schema on the Oracle 11g database server.
- Replace the user name, password, and table space using
the following command.
CREATE USER <username> IDENTIFIED BY <password> DEFAULT TABLESPACE <tablespace_name> TEMPORARY TABLESPACE TEMP
PROFILE DEFAULT ACCOUNT UNLOCK;
- Assign unlimited quota to the user on <tablespace_name>.
- Grant the following privileges to the user.
GRANT CONNECT
GRANT CTXAPP
GRANT RESOURCE
GRANT CREATE ANY CONTEXT
GRANT CREATE ANY SYNONYM
GRANT CREATE TABLE
GRANT CREATE VIEW
GRANT DROP ANY CONTEXT
GRANT QUERY REWRITE
EXECUTE ON SYS.DBMS_AQ_BQVIEW
EXECUTE ON SYS.DBMS_LOB
EXECUTE ON SYS.UTL_RAW
- Restore the dump file that is created in step 2 in the
newly created schema on the 11g database server using the imp/impdp command.
- Collect statistics on the imported schema on the 11g database
server using the analyze/dbms_stats command.