The Argus Insight Schema Creation Tool lets you create the Argus Insight data mart structure. It creates a link between source Argus database and new Argus Insight data mart. The Extract Transform and Load (ETL) process uses this link to transfer data from Argus Safety database to the Argus Insight data mart for reporting purposes.
During the schema creation process, you are required to create database users:
To login in to the Argus Insight application.
As schema owners.
To support private database links (DB Links).
This chapter includes the following topics:
Creating a Database Link from Argus Safety to Insight Database
Upgrading Database from Argus Insight 7.0.4 to Argus Insight 8.0
Note: The Argus Insight database must be created with the same character set as the Argus Safety database. Make sure you have installed the requisite software as explained in Section 1.2, "Software and Hardware Requirements". |
The GLOBAL_NAME and NLS_LENGTH_SEMANTICS database parameters must be configured properly in order for the Argus Insight Schema Creation Tool to run. You must check those settings before you run the Argus Insight Schema Creation Tool. If the parameters are not set properly, the Schema Creation Tool will fail.
To review and modify these database settings:
Contact your database administrator (DBA).
Verify that the database configuration file for the Argus Insight database defines the following database parameter values:
GLOBAL_NAME = FALSE
(This parameter must be set to FALSE for Argus Insight to be able to create the database links.)
NLS_LENGTH_SEMANTICS = CHAR
Restart the database instance to reflect the changes.
To create a DBA user:
If you want to use a different user than SYSTEM user to execute the Schema Creation Tool, then create a DBA user by executing the following .bat file:
ARGUS_INSIGHT_INSTALL_PATH/Database/Utils/ai_create_dba_user.bat
Besides creating the DBA user, this .bat file also provides minimum necessary privileges required for executing the Schema Creation Tool.
This section lists the required and recommended values for:
Database parameters
Database I/O configuration
RAM and CPU
Table 3-1 lists the database parameters and the values that must be set for Argus Insight.
For those parameters that require a numeric value, Table 3-1 lists the minimum value recommended. You may need to increase the value depending on your system configuration and the number of cases. It is the responsibility of the database administrator to monitor the system and adjust the database parameters as necessary.
Table 3-1 Database Parameters for Argus Insight
Database Parameter | Required Value |
---|---|
COMPATIBLE (for Oracle 11g R2) |
11.2.0.0.0 or later |
CURSOR_SHARING |
EXACT |
GLOBAL_NAME |
FALSE |
JOB_QUEUE_PROCESSES |
10 (Minimum value recommended) |
NLS_LENGTH_SEMANTICS |
CHAR |
OPTIMIZER_MODE |
ALL_ROWS |
OPTIMIZER_SECURE_VIEW_MERGING |
TRUE |
PARALLEL_MAX_SERVERS |
Minimum value recommended based on the total number of cases:
|
PGA_AGGREGATE_TARGET |
Minimum value recommended based on the total number of cases:
|
QUERY_REWRITE_ENABLED |
TRUE (if computing statistics regularly) FALSE (if not computing statistics regularly) |
SGA_MAX_SIZE |
Greater than or equal to the value of the SGA_TARGET parameter. |
SGA_TARGET |
Minimum value recommended based on the total number of cases:
The 32-bit architecture allows for 4 GB of physical memory to be addressed. DBAs should verify the maximum addressable RAM for their respective architectures. |
UNDO_MANAGEMENT |
AUTO |
WORKAREA_SIZE_POLICY |
AUTO |
DB_BLOCK_BUFFERS (in MB) / DB_CACHE_SIZE |
Leave set to the Oracle default value |
DB_BLOCK_SIZE (in bytes) |
Leave set to the Oracle default value |
QUERY_REWRITE_INTEGRITY |
Leave set to the Oracle default value |
SHARED_POOL_SIZE |
Leave set to the Oracle default value |
Table 3-2 lists the minimum amount of disk space to allocate for the redo log files, TEMP tablespace, and UNDO tablespace.
Table 3-2 Recommended Database I/O Configuration for Argus Insight
Total Number of Cases | ||||
---|---|---|---|---|
Database I/O Configuration | Small (< 30,000) | Medium (30,000 to 200,000) | Large (200,000 to 1,000,000) | Extra Large (> 1,000,000) |
Number and Size of Redo Log Files |
Default |
3 X 500 MB |
5 X 500 MB |
5 X 500 MB |
The value depends on the characteristics of the I/O subsystem such as the I/O bandwidth, storage disks type, and RAID level. (Oracle recommends RAID 1+0 or similar.) |
||||
TEMP Tablespace Size |
32 GB |
32 GB |
64 GB |
128 GB |
UNDO Tablespace Size |
16 GB |
32 GB |
64 GB |
128 GB |
The recommended UNDO tablespace size is based on the projections with the following two parameter values: RETENTION=NOGUARANTEE UNDO_RETENTION=900 (seconds) |
Table 3-3 lists the recommended configuration (RAM and CPU) for the Argus Insight Database Server.
Table 3-3 Recommended Configuration for the Argus Insight Database Server
Total Number of Cases | ||||
---|---|---|---|---|
Database Server Configuration | Small (< 30,000) | Medium (30,000 to 200,000) | Large (200,000 to 1,000,000) | Extra Large (> 1,000,000) |
RAM |
4–8 GB |
8–16 GB |
16–32 GB |
16–32 GB |
CPU |
Equivalent to 2–4 Dual Core, 3 GHz |
Equivalent to 4–8 Dual Core, 3 GHz |
Equivalent to 8–12 Dual Core, 3 GHz |
Equivalent to 8–12 Dual Core, 3 GHz |
Note: The Argus Insight Database and Argus Safety Database TNS names entry must be available in both Argus Insight Database Server and Argus Safety Database Server. Argus Safety Database TNS should also be present in the Argus Insight Web Server. |
Table 3-4 lists the tablespaces for the Argus Insight data mart. Argus Insight creates these tablespaces when you create a database schema.
Note that the tablespace names begin with APR. The Argus Power Reports (APR) product was renamed to Argus Insight.
Table 3-4 Tablespaces Created for the Argus Insight Data Mart
APR_CFG_DATA_01 |
APR_MEDM_DATA_01 |
APR_MRPT_INDEX_01 |
APR_MCAS_DATA_01 |
APR_MEDM_INDEX_01 |
APR_MRPT_INDEX_02 |
APR_MCAS_DATA_02 |
APR_MEDM_LOB_01 |
APR_MRPT_INDEX_03 |
APR_MCAS_HIST_DATA_01 |
APR_MFACT_DATA_01 |
APR_MWHOC_DATA_01 |
APR_MCAS_HIST_DATA_02 |
APR_MFACT_HIST_DATA_01 |
APR_MWHOC_INDEX_01 |
APR_MCAS_HIST_INDEX_01 |
APR_MFACT_HIST_INDEX_01 |
APR_SESM_DATA_01 |
APR_MCAS_HIST_LOB_01 |
APR_MFACT_INDEX_01 |
APR_SESM_INDEX_01 |
APR_MCAS_INDEX_01 |
APR_MRPT_DATA_01 |
APR_SESM_LOB_01 |
APR_MCAS_INDEX_02 |
APR_MRPT_DATA_02 |
APR_STAGE_DATA_01 |
APR_MCAS_LOB_01 |
APR_MRPT_DATA_03 |
APR_STAGE_DATA_02 |
APR_MCFG_DATA_01 |
APR_MRPT_HIST_DATA_01 |
APR_STAGE_DATA_03 |
APR_MCFG_HIST_INDEX_01 |
APR_MRPT_HIST_DATA_02 |
APR_STAGE_INDEX_01 |
APR_MCFG_HIST_LOB_01 |
APR_MRPT_HIST_DATA_03 |
APR_STAGE_INDEX_02 |
APR_MCFG_INDEX_01 |
APR_MRPT_HIST_INDEX_01 |
APR_STAGE_INDEX_03 |
APR_MCFG_LOB_01 |
APR_MRPT_HIST_INDEX_02 |
APR_STAGE_LOB_01 |
APR_MCFG_LOG_01 |
APR_MRPT_HIST_INDEX_03 |
APR_SWHOC_DATA_01 |
To start the Argus Insight Schema Creation Tool:
Log in to the Argus Insight Web Server.
Click Start.
Navigate to Programs > Oracle > Argus Insight, and select Schema Creation Tool.
The Schema Creation Tool appears.
Table 3-5 Summary of the Schema Creation Tool options
Option | Description | Reference |
---|---|---|
Create Schema |
Creates a new database schema for Argus Insight. |
Section 3.5, "Creating the Database Schema" |
Schema Validation |
Validates a newly-created database schema. |
Section 3.6, "Validating the Schema" |
Factory Data |
Loads the factory data into the database. |
Section 3.5.4, "Loading Factory Data" |
Initial ETL |
Runs the initial process of extracting, transforming, and loading data. |
Chapter 5, "Extracting, Transforming, and Loading Data" |
DB Upgrade |
Upgrades an existing Argus Insight 7.0.4 database to an Argus Insight 8.0 database. |
Section 3.8, "Upgrading Database from Argus Insight 7.0.4 to Argus Insight 8.0" |
Export Data |
Exports data. |
Section 4.7.1, "Exporting Data" |
Import Data |
Imports data. |
Section 4.7.2, "Importing Data" |
Argus DBLink |
Creates a link between Argus Insight and Argus Safety. |
Section 3.7, "Creating a Database Link from Argus Safety to Insight Database" |
Argus User Creation |
Lets you create Argus Insight users and roles. |
Section 3.5.1, "Creating Users and Roles in the Argus Safety Database" |
Exit |
Exits from the Schema Creation Tool. |
NA |
This section describes the tasks associated with creating the database schema:
To create users and roles:
Start the Argus Insight Schema Creation Tool.
Click Argus User Creation.
The Oracle Database Connect dialog box appears.
Connect to the Oracle Database:
In the User field, enter the name of Argus Safety SYSTEM or DBA user.
In the Password field, enter the password for Argus Safety SYSTEM or DBA user.
In the Argus Safety Database field, enter the name of your Argus Safety database instance.
Click OK.
The Argus Safety Read Only User Creation dialog box appears.
Click New User.
The New User dialog box appears.
Complete the New User dialog box as follows:
Enter a name for the new user.
Specify and confirm the password for the user.
Select the default and temporary tablespaces required by your corporate standards, or leave the default values.
Click OK.
You return to the Argus Safety Read Only User Creation dialog box.
Note: You must create the INSIGHT_RO_USER and INSIGHT_RO_ROLE, if they do not exist in the Argus Safety schema. Make the appropriate selection in Step 8 below for New User Name and New Role drop-downs and proceed. |
Click New Role.
The New Role dialog box appears:
Enter the name of the new role to create, and then click OK.
You return to the Argus Safety Read Only User Creation dialog box.
Note: In case you have upgraded the database from Argus Insight 7.0.4 to 8.0, you can also select the existing user, which you have already created earlier, from the New User Name drop-down list. |
Complete the Argus Safety Read Only User Creation dialog box as follows:
In the New User Name field, select INSIGHT_RO_USER.
In the New Role field, select INSIGHT_RO_ROLE.
In the Log File Name field, enter the complete path for the location and name of the log file.
Alternatively, you can click Browse to select the location for the log file, enter the file name, and then click Save.
Click OK when you are ready to create the specified user with the specified role.
The command prompt screen appears.
Enter the password for the Argus Insight SYSTEM or SAFETY_DBA_USER user, and press Enter.
Verify that the script is successfully connected as <SYSTEM/DBA User Name>@<Argus Safety Database Name>.
Press Enter.
The information about the Argus Safety database name, the name of the user to create, the role to assign to the user, and the name of the log file appears.
Verify that the information is correct, and then press Enter to continue.
The additional information about creating the user and granting privileges appears.
Press Enter to complete the installation.
A message stating that the user account has been created successfully appears along with the folder location of the log files.
Click OK to close the message box.
You return to the Argus Safety Read Only User Creation dialog box.
Click View Log File.
Review the information in the log file and check for any errors.
After reviewing, close the log file.
Click Close to close the Argus Safety Read Only User Creation dialog box.
If you are using the same Database Installer used to create an earlier schema, you must clear its cache.
To clear the cache:
Press and hold the CTRL key, and right-click the mouse.
The Reset Cache? dialog box appears.
Click Yes.
The cache is cleared and actions are logged in the createlog.rtf file.
Note: Before executing the steps for creating a new schema for Argus Insight, ensure that you have remote access to the SYS user.If you do not have remote access to SYS user, execute the ai_sys{grant}.sql script through SYS user. This SQL script is located in the following folder: drive:\Program Files\Oracle\ArgusInsight\Database\DBInstaller\DDL Folder |
To create a new schema for Argus Insight:
Start the Argus Insight Schema Creation Tool.
Click Create Schema.
The Oracle Database Connect dialog box appears.
Connect to the Oracle Database:
In the User field, enter the name of Argus Insight SYSTEM or DBA user.
In the Password field, enter the password for Argus Insight SYSTEM or DBA user.
In the Database field, enter the TNS entry for the Argus Insight database.
Click OK.
Note that:
If the NLS_LENGTH_SEMANTICS database parameter is not set to CHAR, an error message appears. You cannot proceed with the process of creating a new schema. You must set the NLS_LENGTH_SEMANTICS parameter to CHAR in the Argus Insight data mart and then restart the database instance.
See Section 3.1, "Before You Run the Argus Insight Schema Creation Tool" for details.
If the NLS_LENGTH_SEMANTICS database parameter is set to CHAR, the New User dialog box for the APR_MART user appears.
Enter a password for the APR_MART user (which is the schema owner), and then re-enter to confirm the password.
Click OK.
The New User dialog box for the APR_APP user appears.
Enter a password for the APR_APP user, and then re-enter to confirm the password.
Note: Argus Insight uses the APR_APP user account for all application access and reporting. The password for this user is stored in encrypted form in the CMN_PROFILE_GLOBAL table. If you need to change this password in the future or if you forget the password, you must contact Oracle Support for assistance in resetting the APR_APP password in the CMN_PROFILE_GLOBAL table. If the password for this user is not in synchronization with the value in the CMN_PROFILE_GLOBAL table, the Argus Insight application will not work. |
Click OK.
The Argus Insight Schema Creation Options dialog box appears.
Click New User.
The New User dialog box appears.
In the New User Name field, enter one of the following names:
APR_STAGE
APR_LOGIN
APR_LINK_USER
APR_HIST
RLS_USER
In the New User Password field, enter the password for the specified user.
In the Re-enter Password field, enter the user password again for verification.
Click OK.
You return to the Argus Insight Schema Creation Options screen.
Repeat this step until you have created all the above users.
Click New Role.
The New Role dialog box appears.
Enter one of the following names in the New Role field:
APR_ROLE
APR_LINK_ROLE
APR_APP_ROLE
Click OK.
You return to the Argus Insight Schema Creation Options screen.
Repeat this step until you have created all the above roles.
Define the following users and roles in the Argus Insight Schema Creation Options screen:
From the Staging Schema Owner drop-down list, select APR_STAGE.
From the History Schema Owner drop-down list, select APR_HIST.
From the VPD Admin Schema Owner field, select RLS_USER.
In the Schema Options section, select the Database Size and the Time Zone.
From the Mart Role drop-down list, select APR_ROLE.
In Mart Grantee section, select the APR_LOGIN check box.
From the Application Role drop-down list, select APR_APP_ROLE.
Under the MART Database Link Information section:
i. In the Database Link Schema Owner drop-down list, select APR_LINK_USER.
ii. In the Database Link Role drop-down list, select APR_LINK_ROLE.
In the Argus Database Link Information section:
Note: The value you enter in the Database Link Schema Owner field should be the name of the Argus Insight read-only user that you created earlier in the installation process. See Section 3.5.1, "Creating Users and Roles in the Argus Safety Database" for details. |
i. In the Database Name field, enter the name of the Argus Safety database.
ii. In the Database Link Schema Owner field, enter INSIGHT_RO_USER.
iii. In the Password field, enter the password for the INSIGHT_RO_USER.
iv. In the Verify Password field, re-enter the password.
Optionally, in the Credentials for APR_USER section, enter and verify a new password only if you want to change the password for APR_USER.
All these inputs have been depicted in the following figure:
Note: You must update the APR_USER password using the instructions in the Section 2.2.1, "Changing the APR_USER Password" section, if you change the default APR_USER password. This is to update the password on the database level and the Argus Insight Web Server/Cognos Server. |
Click Generate.
A dialog box to enter the password of the staging user (APR_STAGE user) appears.
Enter the password, and click OK.
The system checks that Argus Insight and Argus Safety use the same character set. How the system continues depends on the result:
Different Character Set — If the character set for the Argus Insight database (that is, the MART character set) is different from the character set for the Argus Safety database, the system displays a warning message and prompts for confirmation that you want to proceed.
Determine whether you want to continue with the schema creation.
If the Argus Safety database uses the UTF character set and the Argus Insight database uses the ISO character set, the ETL process may fail due to the different character sets. In this case, Oracle recommends that you click No, fix the character set issue, and restart the create schema process.
If the Argus Safety database uses the ISO character set and the Argus Insight database uses the UTF character set, then the system can proceed by ignoring the character set difference. In this case, you can click Yes.
Same Character Set — If the character set for the Argus Insight database is the same as the character set for the Argus Safety database, the following command prompt screen appears:
If you have remote access to the SYS user, enter the password for the SYS user, and press Enter.
The command prompt screen appears.
OR
If you do not have remote access to SYS user, then execute ai_sys{grant}.sql script through SYS user. This SQL script is located in the following folder
drive:\Program Files\Oracle\ArgusInsight\Database\DBInstaller\DDL Folder
Open the ai_sys{grant}.sql file from the above mentioned location.
Execute all the GRANT statements after replacing the names of the variables with their corresponding Schema Owner name. For example:
&mart_user. = APR_MART schema owner (APR_MART)
&mart_app_user. = APR_APP schema owner (APR_APP)
&rls_user. = VPD schema owner (RLS_USER)
If you have already executed the ai_sys{grant}.sql script through SYS user, then go to Step17 of this procedure.
Verify that the script is successfully connected as <SYS User Name >@<Argus Insight Database Name>, and press Enter.
The command prompt screen with the Grant succeeded message appears multiple times along with the location of the log file.
Verify the location of the log file, and press Enter.
Wait until the Tablespace Creation dialog box appears.
Complete the Tablespace Creation screen as follows:
In the Enter Database Server Directory where all Data Files will be Created field, enter the complete path to the directory for the tablespace data files that will be used by Argus Insight.
For example, /u01/app/oracle/SMTEST.
Note that the directory you specify must already exist.
Click Generate DataFile Path and Name.
The Complete Path and Datafile column for all tablespaces are automatically filled.
Note that the system automatically selected the delimiter character to use for the directory path based on the Database Server operating system.
Click Create Tablespace to create all tablespaces.
Wait until the system creates the tablespaces and opens the Argus Insight Database Installation dialog box with the Application Type and the name of the default enterprise.
Click Continue to start the schema creation.
The system executes the scripts, displays status information during the schema creation process, and reports when the update is completed.
Click the Book icon to view the log file and check for errors.
Alternatively, you can view the log file at any time at the following location:
drive:\Argus_Insight_Working\AI80\Database\DBInstaller\CreateLog.rtf
Click Finish to close the dialog box.
To load the factory data:
Start the Argus Insight Schema Creation Tool.
Click Factory Data to load the factory data.
The command prompt screen appears.
Enter the password for the APR_MART User, and press Enter.
The command prompt screen appears.
Verify that the script is successfully connected as <APR_MART User Name>@<Argus Insight Database Name>, and press Enter.
The row creation messages appears multiple times along with the name (insight_factory_data_log.txt) and location of the log file.
Press Enter.
A message appears when the process to loading factory data is complete along with the location of the log file.
Click OK to return to the Schema Creation Tool screen.
To validate the database schema:
Start the Argus Insight Schema Creation Tool.
Click Schema Validation.
The Oracle Database Connect dialog box appears.
Connect to the Oracle Database:
In the User field, enter the name of the Argus Insight SYSTEM or DBA user.
In the Password field, enter the password for the Argus Insight SYSTEM or DBA user.
In the Database field, enter the name of the Argus Insight Data Mart instance.
Click OK.
The Schema Validation Utility dialog box appears.
Complete the Schema Validation Utility dialog box as follows:
For the Validation CTL Folder and File field, click Browse next to the field to navigate to the location of the CTL file that you want to verify. Select the CTL file, and then click Open.
You return to the Schema Validation Utility dialog box.
For the Select Log Files Folder field, click Browse next to the field to navigate to and select the log files folder. Click OK to close the Select Folder dialog box and return to the Schema Validation Utility dialog box.
Note that the default file names are automatically populated in the Validation LOG File Name (Record Diff) and Validation LOG File Name (Record Output) fields. You may change the log file names.
Click Validate Schema.
The command prompt screen appears:
Enter the password for the Argus Insight SYSTEM or DBA user, and press Enter.
Verify that the script is successfully connected as <SYSTEM/DBA User Name>@<Argus Insight Database Name>, and press Enter.
The command prompt screen appears with the Database Name, Database Administrator User Name, Validation File Name, and the Folder Name for Log Files.
Review the information on the command prompt screen, and press Enter.
The next command prompt screen appears.
Enter the password for the Argus Insight SYSTEM or DBA user, and press Enter.
Press Enter again on the next screen.
A message appears stating that the validation of the Argus Insight Database is completed.
Click OK.
When the system returns to the Schema Validation Utility dialog box:
To check for any schema discrepancies, such as missing objects, click View Difference Log File.
To see the list of errors, if any, which occurred during schema validation, click View Output Log File.
To close the dialog box, click Close.
If Argus Insight read-only user is created, then ignore the schema validation differences, where:
Objects are R_% views/columns
GRANTEE is Argus Insight Read-only user
This link allows real-time updates of some of the values from Argus Console to Argus Insight data mart.
To create the database link from the Argus Safety database to the Argus Insight database:
Start the Argus Insight Schema Creation Tool.
Click Argus DBLink.
Connect to the Oracle Database:
In the Password field, enter the password for the Argus Safety SYSTEM or DBA user.
In the Argus Safety Database field, enter the name of your Argus Safety database.
Click OK.
The Argus To Insight Database Link Creation dialog box appears.
Complete the fields in the Argus Safety Information section as follows:
In the Schema Owner field, select the user account that owns the Argus Safety schema.
In the Safety Role field, select the Argus Safety role.
In the Read Only Role field, select the INSIGHT_RO_ROLE, which was created in Argus Safety.
Complete the fields in the Argus Insight Information section as follows:
In the Database field, enter the name of the Argus Insight database.
In the RO User field, enter the name of the read-only user.
See step 8 (a) of the Section 3.5, "Creating the Database Schema" section (APR_LINK_USER).
In the RO User Password field, enter the password for the read-only user.
Click the Log File Name field to specify the name of the log file that will store the DBLink creation information.
You may click Browse to navigate to the file location, select the file, and Save your selection.
Click OK to create the database link.
A dialog box appears to enter the information required to connect to the database as the ARGUS_APP user.
Enter the ARGUS_APP password and the Argus Safety database information. Click OK.
A dialog box appears to enter the information to connect to the database as the Argus Safety SYSTEM or DBA user.
Enter the password for the Argus Safety SYSTEM or DBA user, and click OK.
The command prompt screen appears.
Enter the password for the ARGUS_APP user, and press Enter.
Verify that the script is successfully connected as <ARGUS_APP User Name>@<Argus Safety Database Name>, and press Enter.
Press Enter again.
Wait until a message appears stating that the Argus Safety to Argus Insight database link is created successfully along with location of the log file.
Click OK.
Check the log files located in the following folder for status information:
drive:\Program Files\Oracle\ArgusInsight\Database\DBInstaller
Click Close to close the Argus To Insight Database Link Creation dialog box.
Note: The Argus Insight upgrade process will delete the CIOMS, CIOMS II Line listing and MedWatch reports entirely from the Argus Insight database. If you intend to retain this information, you must ensure that before starting the upgrade process, you have taken a back-up of this information. |
To upgrade the database from Argus Insight 7.0.4 to Argus Insight 8.0:
Start the Argus Insight Schema Creation Tool.
Click DB Upgrade.
The Oracle Database Connect dialog box appears.
Connect to the Oracle Database:
In the User field, enter the name of the Argus Insight SYSTEM or DBA user.
In the Password field, enter the password for the Argus Insight SYSTEM or DBA user.
In the Database field, enter the name of your Argus Insight database.
Click OK.
The Upgrade Parameters dialog box appears.
Complete the Upgrade Parameters dialog box as follows:
In the top section, verify that the database and upgrade information is correct. If the information is incorrect, click Cancel.
In the Upgrade Parameters section, enter the correct password for each owner and user.
In the Mart Login User field, select the user defined as mart login user (APR_LOGIN user).
Click Next.
The Tablespace Management dialog box appears.
Verify that all tablespaces have enough free space.
The green check mark indicates that the tablespace has enough free space.
If the tablespace does not have enough free space, increase the size of the tablespace by below mentioned methods:
To add a new datafile to the existing tablespace, click Add.
A dialog box appears to add a name for the new datafile, containing the required additional space.
Note: In case no datafile exists for any tablespace, click Create.A dialog box appears to create a new datafile containing the tablespace information. |
Alternatively, if you do not wish to add a new data file, the database administrator can resize the tablespace from the back-end.
After resizing, click the Recalculate button to re-evaluate the tablespace size and refresh the tablespace grid, as per the updated tablespace size.
Once updated, the Add or Create button will not be displayed and the green check mark will be displayed, indicating that the tablespace has enough free space.
Click Next.
The Argus Insight Database Upgrade dialog box appears.
Click Continue to start the upgrade process.
During the upgrade process, the system loads the factory data, and then displays a message reminding you to check the Factory_Data folder for any .BAD files.
Click OK to continue.
The system executes the upgrade scripts, displays status information during the update, and reports when the update is completed.
Click the Book icon to view the log file and check for errors.
Alternatively, you can view the log file at any time at the following location:
drive:\Program Files\Oracle\ArgusInsight\Database\Upgrades\UpgradeLog.rtf
Click Finish to close the dialog box.
Once you have upgraded the database from Argus Insight 7.0.4 to Argus Insight 8.0, you must create the Read-only user in the Argus Safety database using the steps given in Section 3.5.1, "Creating Users and Roles in the Argus Safety Database".
If Argus Insight and Argus Mart are running on the same database, execute the following:
Database\Utils\am_grants.bat
Note:
|
You can create a read-only schema in Argus Insight. This schema will have read-only (SELECT) access on all the tables and views of the APR_MART and APR_HIST schema. Besides, this read-only schema can also be used for customized reporting purpose.
To create Argus Insight Read-only user:
From the Utils folder, double click the AI_RO_USER.bat file.
Enter the following inputs:
Name of the Log file
Name of Argus Insight database
Password of the SYS user
Name of Argus Insight Mart schema user (for example, APR_MART)
Name of the History schema user (for example, APR_HIST)
Name of Argus Insight Read-only user that you want to create
Password of Argus Insight Read-only user
On successful connection to the SYS user, the script provides read-only access on objects of Argus Insight schema to the read-only user.