Creating an Oracle 9i Release 2 database
To create an Oracle database for use with Perception, you need to:
- Create a Tablespace for the database
- Create a database user
- Configure the Local Service Name
- Create an ODBC data source
How you perform these steps will depend on which version of Oracle you are using. The instructions given below assume that you are using Oracle 9i Release 2. If you are using 10g or 11g , please refer to Creating an Oracle 10g or 11g database.
We assume that your Oracle installation is already in place and that you are familiar with administering Oracle databases. We also assume that you are able to log on to Oracle under an account with Oracle DBA privileges and that you have created a table space using the correct Character Sets. For further information on the correct Character Sets to use in a table space please refer to Supported databases in the System Requirements section.
|If you will be using Japanese characters with an Oracle database on an English operating system, you will need to set the NLS_Characterset to WE8MSWIN1252 when you install your Oracle server. Otherwise you will need to set the NLS_Characterset to AL32UTF8. Refer to Oracle Help for more information.|
To create a Tablespace for your database:
- Open Enterprise Manager Console
- Log in to the database server you will be creating the new database on
- Expand the database server folder and expand the Storage sub-folder
- Right-click Tablespaces and click Create
- Enter a name and double-click the entry in the Size field to open the Create Datafile dialog
- Set the File Size to 50 megabytes. You should set this to a larger number for high-use systems
- Open the Storage tab and tick Automatically extend datafile when full (AUTOEXTEND)
- Click OK
To create a database user:
- Open the Enterprise Manager Console.
- Log in to the database server you will be creating the new database on.
- Expand the Security folder.
- Right-click Users and click Create... The Create User dialog is displayed.
- Enter a name for the new database user and under Tablespaces, select the Tablespace you just created from the Default drop-down list.
- Open the Role tab and assign the user the following roles:
- CTXAPP (this will only be available if OracleText is installed)
- Open the System Privileges tab and assign the user the following System Privileges. While these system privileges are part of the Roles set previously (CONNECT and RESOURCE) they need to be added independently due to the way that Perception is configured to use Oracle
- CREATE SESSION
- CREATE ANY TABLE
- CREATE TABLE
- DROP ANY TABLE
- UNLIMITED TABLESPACE
- Click Create. A blank database is created
|To be able to change security settings for administrators using Authoring Manager, you will also need to assign the CREATE TABLE system privilege to the individual user who will be changing the security settings|
Next, you will need to configure the Local Service Name and then create an ODBC data source. This process is the same for Oracle 10g or 11g databases as it is for Oracle 9i Release 2 databases. Therefore, please refer to the following sections in the Creating an Oracle 10g or 11g database section for instructions: