Creating Oracle Users and Tablespaces

SEI provides SQL scripts to create dedicated Oracle users and tablespaces. You must run the scripts BEFORE installing SEI. This step is required as of version 2022 R1.3.

Note

These scripts must be run with a user with administrative permissions on the server.

Follow these general steps:

Additional scenarios:

  • You can add space to the Oracle database as needed.

  • When uninstalling SEI, you can remove the Oracle users.

  • Click here to view additional information about Oracle.

Step 1: Revoke an existing user's permissions

If an Oracle user is already used in your SEI environment, you must revoke this user's permissions before proceeding.

  • Run the 0_RevokePermissions.sql script.

    Set the SEI_USER parameter to SEI.

Step 2: Create the SEI user and schema

  • Run the 1_ConfigDB.sql script.

    Configure the parameters as follows:

    1. The SEI_USER parameter must be set to SEI.

    2. The SEI_TABLE_SPACE parameter should be set to SEI but you can change it another name.

    3. The SEI_TMP_TABLE_SPACE parameter should be set to SEI_TMP but you can change it another name.

    4. Set the other parameters as needed.

Step 3: Create the BILicense user and schema

  • Run the 1_ConfigDB.sql script again.

    Configure the parameters as follows:

    1. The SEI_USER parameter must be set to BILicense.

    2. The SEI_TABLE_SPACE parameter should be set to BILicense but you can change it another name.

    3. The SEI_TMP_TABLE_SPACE parameter should be set to BILicense_TMP but you can change it another name.

    4. Set the other parameters as needed.

Step 4: Create the SEICube user

This user will have access to the cube data; this includes access to all schemas (users). You can exclude access for specific tables.

  • Run the 2_DataDB.sql script.

    Configure the parameters as needed, as described in the script instructions. Make sure to provide the access permissions using these parameters:

    • SCHEMA_LIST

    • EXCLUSION_TB_LIST

    • EXCLUSION_VW_LIST

Step 5: Install the SEI packages

After creating the Oracle users, you need to run the SEI executables to create the Oracle tables.

  1. Perform the steps to install the License Server.

  2. Perform the steps to install the Central Point.

  3. Perform the steps to install the SEI application (basic or advanced installation).

Additional Scenarios

Adding space to the Oracle database

If you need to add additional space to a table, you can run the script below to add 32 GB of space.

  1. Run the 3_AddNewDataFile.sql script.

    Set these parameters as described in the script instructions:

    • TABLE_SPACE

    • DATA_FILE_NAME

    • ENABLE_LOGING

Removing the Oracle users and tablespaces

  1. Use the SEI executables to uninstall the SEI components.

  2. Run the 9_UninstallDB.sql script as many times as needed to remove each user.

Additional Oracle Information

Please see the sections below for additional information about Oracle: