Creating Oracle Users and Tablespaces

Nectari provides SQL scripts to create dedicated Oracle users and tablespaces. You must run the scripts BEFORE installing Nectari. 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:

Step 1: Revoke an existing user's permissions

Step 2: Create the Nectari user and schema

Step 3: Create the BILicense user and schema

Step 4: Create the NectariCube user

Step 5: Install the Nectari packages

Additional scenarios:

You can add space to the Oracle database as needed.

When uninstalling Nectari, 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 Nectari environment, you must revoke this user's permissions before proceeding.

  • Run the 0_RevokePermissions.sql script.

    Set the NECTARI_USER parameter to NECTARI.

Step 2: Create the Nectari user and schema

  • Run the 1_ConfigDB.sql script.

    Configure the parameters as follows:

    1. The NECTARI_USER parameter must be set to NECTARI.

    2. The NECTARI_TABLE_SPACE parameter should be set to NECTARI but you can change it another name.

    3. The NECTARI_TMP_TABLE_SPACE parameter should be set to NECTARI_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 NECTARI_USER parameter must be set to BILicense.

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

    3. The NECTARI_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 NectariCube 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 Nectari packages

After creating the Oracle users, you need to run the Nectari 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 Nectari 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 Nectari executables to uninstall the Nectari 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: