This guide includes the individual steps for setting up an Oracle databaseA database is an organized collection of data including relevant data structures. for AE usage.
Important: Refer to the relevant documents about optimizing the AE database performance before you set up the database. See:Configuration & Performance of the Database and the list of supported database versions.
Do not limit resource consumption. Aborting transactions due to limitations specified in the database can impede processing in the AE system. Additionally, inconsistent database contents can result, which can cause subsequent errors or endless loops.
It is important to remember that modifying database content result s in an inconsistent database.
A Automation Engine crash under Oracle is only reliably recognized if the Dead Connection Detection is activated. This is set with the entry SQLNET.EXPIRE_TIME in the SQLNET.ORA file to a maximum of 60 seconds.
Visit the Automic website where we provide whitepapers about Oracle usage for download.
One effective way to maintain the AE database is to use partitioning with ILMStands for Information Lifecycle Management, which refers to a wide-ranging set of strategies for administering storage systems on computing devices. (Information Lifecycle Management). Automic recommends reading the document Maintaining the data records before you start setting up the database.
Size required for the initial installation of an AE database |
|
---|---|
Test systems: |
1 GB |
Production systems: |
|
Small systems |
5 - 20 GB |
Medium systems |
20 - 50 GB |
Large system |
more than 50 GB |
Code-Page setting
The code-page setting of the DB client must comply with the settings made in the database.
You can choose from either of the following three code pages, whichever best fits your needs:
WE8ISO8859P1, WE8ISO8859P15 and WE8MSWIN1252.
The choice depends on the characters you need to store in the database.
As WE8ISO8859P1 doesn't support the euro sign (€), WE8ISO8859P15 seems the better choice.
WE8MSWIN1252 supports not only the euro sign, but additional characters as well. So if you set your database up from scratch, this would be the recommended code page.
Please also refer to ORACLE's own support document no. 264294.1 dealing with the choice of code pages.
If you have your database already set up using WE8ISO8859P1 and you don't need the additional characters, there is no need to convert the database to a new character set.
Database settings can be queried as follows:
SELECT * FROM NLS_DATABASE_PARAMETERS
Specifying code-page setting:
Windows: Set HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\...\NLS_LANG in the registry according to the database setting.
UNIX: The environment variable NLS_LANG can be set as shown below:
NLS_LANG =<NLS_LANGUAGE>_<NLS_TERRITORY>.<CHARACTER SET>;export NLS_LANG
For example:
NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P15;export NLS_LANG
Code-page settings can also be specified in the INI files of components (section [ODBC]).
1. | Requirements |
---|
Oracle client with UTf-8: Note that a code conversion is required for each SQL statement.
2. | Definition of tablespaces |
---|
CREATE TABLESPACE UC4_DATA
DATAFILE 'Path to uc4_data.ora'
SIZE 1024M
AUTOEXTEND ON NEXT ???M MAXSIZE ????M
DEFAULT STORAGE (INITIAL 512K NEXT 2048K MAXEXTENTS UNLIMITED);
CREATE TABLESPACE UC4_INDEX
DATAFILE 'Path to uc4_index.ora'
SIZE 512M
AUTOEXTEND ON NEXT ??M MAXSIZE ???M
DEFAULT STORAGE (INITIAL 512K NEXT 512K MAXEXTENTS UNLIMITED);
3. | Creating a database user |
---|
|
4. |
Amending storage parameters for large tables |
---|
CREATE TABLE MELD (
MELD_Idnr INTEGER NOT NULL,
MELD_USR_Idnr INTEGER NOT NULL,
MELD_Seen SMALLINT NULL,
MELD_TimeStamp DATE NULL,
MELD_MsgNr INTEGER NULL,
MELD_MsgInsert VARCHAR2 (255) NULL,
MELD_DeleteFlag SMALLINT NULL,
MELD_Client SMALLINT NULL,
MELD_Source INTEGER NULL,
MELD_Category INTEGER NULL,
MELD_Type INTEGER NULL,
MELD_Host VARCHAR2 (200) NULL,
MELD_ArchiveFlag SMALLINT NULL,
CONSTRAINT PK_MELD PRIMARY KEY
(
MELD_Idnr
) USING INDEX TABLESPACE UC4_INDEX
) TABLESPACE UC4_DATA
STORAGE (INITIAL 51200K NEXT 7168K MAXEXTENTS UNLIMITED);
Automic recommends facilitating unlimited extensions (MAXEXTENTS) instead of limiting them.
5. | Defining the roll-back segment |
---|