-
Open the Oracle Database Configuration Assistant and run as administrator.
-
Choose Create a database and click Next.
-
Enter a Global database name, for example: SMAT.
-
Enter and confirm the Administrative password.
-
Clear Create as Container database.
-
Click Next.
When selecting the Advanced configuration, detailed customization can be made of the installation path, init.ora parameter and tablespace. Here you can also integrate the pre-steps (9, 11) for the database configuration.
-
Click Finish.
-
Click Close.
-
To create the Smart Materials specific tablespaces (MARIAN, M_INDEX, M_TEMP) and to change the size of SYSTEM and USERS tablespaces up to 250MB, use this sample script that is provided with the software:
%SMAT_DB_InstallFolder%\samples\SMat\create_tablespace_sample.sql
Proceed as follows:
-
In the sample script, replace the place holder
‘{ORACLE_BASE}\oradata\{DB_UNIQUE_NAME}’
with your datapath, for example
‘C:\oracle\18c_Sta\base\oradata\SMAT\DATAFILE’
-
Open a Command Prompt as administrator.
-
Set oracle_home=C:\oracle\18c_Sta\db
-
Set oracle_sid=SMAT
-
Navigate to the directory where the modifed sample script is stored.
-
sqlplus /nolog
-
conn sys/<sys_password> as sysdba
-
@create_tablespace_sample.sql
-
Check the logfile create-smat-tablespace.log.
-
-
Import DTD – File as follows:
-
Open a Command Prompt as administrator.
-
Set oracle_home=C:\oracle\18c_Sta\db
-
Set oracle_sid=SMAT
-
Navigate to the directory %SMAT_DB_InstallFolder%\samples\SMat.
-
sqlplus /nolog
-
conn sys/<sys_password> as sysdba
-
@import-dtd.sql
-
Check the logfile import-dtd.log.
-
-
Modify init.ora as follows:
-
Open a Command Prompt as administrator.
-
Set oracle_home=C:\oracle\18c_Sta\db
-
Set oracle_sid=SMAT
-
sqlplus /nolog
-
conn sys/<sys_password> as sysdba
-
create pfile from spfile;
-
edit <oracle_home>\database\init<SID>.ora
Change these parameters:
Processes = 600
Open_cursors = 1300
Compatible = 18.6.0
Add this parameter:
*.Sessions = 1000
-
Save the file.
-
Shutdown immediate.
-
conn sys/<sys_password> as sysdba.
-
create spfile from pfile;
-
startup
-