2.2.2 Existence of usage of table partition functionality
While managing process instance execution history, existence of usage and partition configuration of the table partition functionality must be clarified and you must check used database before setting up a system in Service Platform. For details on table partition functionality, see "7.3Managing execution logs linked with HiRDB" in "Service Platform Overview".
- Organization of this subsection
(1) Examining usage method of table partition functionality
The following table describes the relation of table partition functionality and the database to be used:
|
Usage method of table partition functionality |
HiRDB Server |
Other DBMS |
|
|---|---|---|---|
|
HiRDB/Single Server |
HiRDB/Parallel Server |
||
|
Partition by date data (month) |
Y |
Y |
N |
|
Partition by date data (month) and also to manage by distributing in multiple servers |
N |
Y# |
N |
|
When table partition functionality is not used |
Y |
Y |
Y |
- (Legend)
-
Y: Can be executed.
N: Cannot be executed.
- Note #
-
HiRDB Advanced High Availability is required for use.
(2) Examining table partition configuration
While using table partition functionality, examine data volume of 1 month (potential value) on the basis of the following points and decide the partition configuration:
-
How many back-end servers are to be used?
-
Data of which month is to be compiled and handled?
-
How many months are to be used as units for circulation? (Data of how many months is to remain in the database?)
(3) HCSC server setup
When table partition functionality is used, definition as follows is required in HCSC server setup definition file:
db-tbl-split-key=MONTH db-tbl-split-corcheck-use=ON sql-scriptfilename=Path of SQL script file defining table partition#
- Note #
-
This definition is required when the 1st HCSC server in a cluster is setup.
Since creation of the table, index and view table that are the targets of table partition functionality is complete during the 1st HCSC server setup, SQL script file need not be created for HCSC server setup from the 2nd server onwards.
For details on SQL script file, see "Appendix D.2(2) Renaming RD Areas or table areas".
For details on HCSC server setup definition file, see "6.4.3 HCSC server setup definition file" in "Service Platform Reference Guide".