Hitachi

uCosminexus Application Server Expansion Guide


5.8.3 Estimating disk space of a database

With the database session failover functionality, create three types of tables (application information table, session information table, and blank record information table). Estimate the size of disk space to be allocated by referring to the of each database on the basis of table and index information. Note that this information might change in version upgrade or modification patch of Component Container.

Organization of this subsection

(1) Table information

This subsection describes the elements of column for each table and number of rows.

The following table describes the elements of a column.

Table 5‒10: Elements of a column in application information table

No.

Column name

HiRDB type

ORACLE type

Index existence status

1

APP_INFO_KEY

CHAR(128) PRIMARY KEY

VARCHAR2(128) PRIMARY KEY

None

2

APP_INFO_VALUE

CHAR(512)

VARCHAR2(512)

None

The number of rows is as follows:

13 + Number of definitions of refer-only requests

The number of rows is as follows:

The following table describes the elements of a column.

Table 5‒12: Elements of a column in blank record information table

No.

Column name

HiRDB type

ORACLE type

Index existence status

1

BLOCK_NO

INTEGER PRIMARY KEY

NUMBER(10,0) PRIMARY KEY

None

2

FREE_RECORD_NO

INTEGER

NUMBER(10,0)

None

The number of rows is fixed to 10.

(2) Index information

The following table describes the index of session information storage table.

No.

Index name

UNIQUE attribute

Column name

1

Application-identifier_SESSIONS_IDX

None

SESSIONID

Reference note

If you use HiRDB, performance might be improved if you satisfy the following conditions:

  • The tables and indexes used in the database session failover functionality are placed in RD area#.

  • Global buffer is set for each table and index placed in RD area.

For details on design of RD area and global buffer, see the HiRDB Installation and Design Guide.

#

If you place tables and indexes in RD area, you must edit the SQL file.