Entering content frame

Procedure documentation Creating a database instance Locate the document in the library structure

You can create a database instance on a local or remote computer using the Database Manager GUI.

Prerequisites

·        Database instance on a local computer
as an operating system user, you have administrator rights for the computer.

·        Database instance on a remote computer
Microsoft Windows: You need an operating system user for the remote computer that has administrator rights and the right log on as batch job or a comparable right
UNIX: You need an operating system user for the remote computer that is a member of the sdba group (see <sdba_group> (special operating system group)).
For information about administrating operating system users, see your operating system documentation.

Procedure

...

Choose Instance ® Create... .

Choose Next to start each of the required steps.

       1.      Choose the required template:

To use a predefined configuration, choose of one of the templates Demo or DEMODB displayed. In such cases you can create the database instance in the background. To do so, choose Unattended Installation.

       2.      To create a database instance on your local computer, enter the following:

¡        Database Server: <local>: Do not change this entry.

¡        Database Name: Name of the database instance. Note the Conventions for Database Names.

To create a database instance on a remote computer, enter the following in addition:

¡        Database Server: Name of the remote computer

¡        Port: port used to address the X Server; if you do not specify a port, the default port is used (see X Server, Ports and Protocols of the X Server).

¡        Login Name: Operating system user for the remote computer

¡        Password: Password for the operating system user on the remote computer

       3.      A computer can have more than one installation of the database software. Select the appropriate installation.

       4.      If you are using a Microsoft Windows operating system, you can specify further options:

¡        Set the startup type for the database service to automatic: The database instance is started automatically when the computer is started (automatic start).

¡        Use the login information as account for the database service: For remote computers only; the service for the database instance runs on remote computers under the name of the operating system user logged on and not under SYSTEM.

       5.      Specify the Database Manager operator (DBM operator). See Conventions for User Names and Passwords. The default value for both the name and the password is DBM.

Select Use Encryption if you want to encrypt communications between the client and the X Server (data encryption).

Note

The database system converts the name and password of the DBM operator to upper-case letters.

       6.      Decide how you want to assign initial values to the database parameters.

¡        Initialize parameters with default values
Here, the database parameters are assigned the default values of the database software.

¡        Copy parameters from existing database
Here, the initial values of the database parameters are taken from an existing database instance. Choose the database instance from which you want to copy the parameter values.

¡        Restore parameters from a backup medium
Here, the initial values of the database parameters are taken from a complete data backup. Select the complete data backup you want.

       7.      Choose a database instance type.

       8.      Adjust the database parameters (General/Extended) to your requirements. To change a database parameter, select the parameter and choose New Value. Enter and confirm the new value for the database parameter. The database parameters are checked when you exit the input screen. You may be asked to make and confirm changes before you are permitted to exit the input screen.

       9.      Define your data volumes and log volumes.

If you have employed a template, you can adopt the default values or change them.
If you have not used a template, in each case choose New Volume and enter the size as well as the name or absolute path of the volume.

   10.      Define the desired backup medium.

If you have employed a template, you can adopt the default values or change them.
If you have not used a template, in each case choose New Medium or New Parallel Medium and define the desired properties of the backup medium/media (see also Managing the Backup Media).

   11.      Choose from the following options:

¡        Create and start instance
Specify the database system administrator (SYSDBA user). Do not use special characters and do not choose the name SYSDBA. We recommend that you use upper-case letters. The default values for the name and the password are DBADMIN and SECRET, respectively.
Select
Load Tutorial if you want to load the data for the HOTEL demo schema. If you want to load the example data at a later time, proceed as described in Loading Example Data for Tutorial.
The database instance is created and transferred to the ONLINE operational state.

¡        Create instance for recovery
The database instance is created and transferred to the ADMIN operational state. This database instance can only be used for one recovery. The data for the database system administrator (SYSDBA user) is adopted from the backup.

   12.      To save your configuration as a template, choose Save Template as... .

   13.      Choose Start. If errors occur, the procedure is terminated immediately. However, the state reached before the error occurred is preserved.

   14.      Choose Close.

See also:

Concepts of the Database System

·        Creating and Configuring a Database Instance

·        Tips for Creating and Configuring a Database Instance

·        Users, Authentication and Authorizations

SQL-Tutorial, Explanation of the Objects in the HOTEL Schema

 

Leaving content frame