Creating tablespaces and user on the Oracle database for TrueSight Smart Reporting
On the Oracle database, you can use the same tablespace as TrueSight Server Automation - Data Warehouse. However, if required, you can create a new tablespace for TrueSight Smart Reporting.
On the Oracle database, you must create a user with appropriate rights for TrueSight Smart Reporting. Ask your database administrator to do the following:
If required, create a tablespace in the Oracle database. Use the following command:
CREATE TABLESPACE TSR_REPOSITORY LOGGING DATAFILE REPOSITORY_01.dbf SIZE 1G REUSE AUTOEXTEND ON NEXT 500M MAXSIZE 30G EXTENT MANAGEMENT LOCAL AUTOALLOCATE SEGMENT SPACE MANAGEMENT AUTOCreate a user in the Oracle database. Use the following command:
Command
CREATE USER <user> PROFILE DEFAULT IDENTIFIED BY <password>;
Example
CREATE USER SMARTREPORTINGUSER PROFILE DEFAULT IDENTIFIED BY SMARTREPORTINGPASSWORD;Run the following commands in the given order to grant privileges to the user:
- GRANT CREATE MATERIALIZED VIEW TO SMARTREPORTINGUSER;
- GRANT CREATE VIEW TO SMARTREPORTINGUSER;
- GRANT QUERY REWRITE TO SMARTREPORTINGUSER;
- GRANT UNLIMITED TABLESPACE TO SMARTREPORTINGUSER;
- GRANT RESOURCE TO SMARTREPORTINGUSER;
- GRANT CREATE TABLE TO SMARTREPORTINGUSER;
- GRANT EXECUTE ON DBMS_LOCK TO SMARTREPORTINGUSER;
- GRANT CONNECT TO SMARTREPORTINGUSER;
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*