Scalable Database Server, HiRDB Version 8 Command Reference
This section explains the operands of the create rdarea statement. In the following table, each number corresponds to the number assigned to each operand.
| No. | Operand |
|---|---|
| 1 | create rdarea RDAREA-name |
| 2 | [globalbuffer global-buffer-name] |
| 3 | for {registry|LOB used by HiRDB (SQL REGISTRY)} |
| 4 | [page page-length characters] |
| 5 | [storage control segment segment-size pages] |
| 6 | [extension {use extension-segments-count segments|nouse}] |
| 7 | file name "HiRDB file-system-area-name\HiRDB-file-name" |
| 8 | initial HiRDB-file-segments-count segments |
| [file name "HiRDB file-system-area-name\HiRDB-file-name" | |
| initial HiRDB-file-segments-count segments]... | |
| ; |
<identifier> ((1-30))
Specify the name of the RDAREA to be used in the HiRDB system. ALL cannot be specified in an RDAREA name. When enclosed in double quotation marks ("), an RDAREA name is case sensitive; otherwise, it is not treated as being all in uppercase.
<identifier> ((1-16))
Specifies the name of a global buffer in the HiRDB system (or in the dictionary server for a HiRDB/Parallel Server) to temporarily allocate it to the RDAREA to be added. You cannot specify an index global buffer. To check the global buffer, use the pdbufls command.
Specifies the type of RDAREA to be added.
<unsigned integer> ((4096-30720)) <<4096 or 8192>>
Specifies the page length of the HiRDB file comprising the RDAREA in bytes, in an integral multiple of 2048.
The page length specified in this operand is used as the smallest unit of data that is input/output by the HiRDB system to or from the RDAREA.
<unsigned integer> ((1-16000)) <<1 or 50>>
Specifies the size of a segment in terms of pages.
Specifies whether or not to apply automatic extension of RDAREA.
In the event of a space shortage in an RDAREA, the RDAREA automatic extension facility expands the RDAREA automatically if there is enough space in the HiRDB file system area. If you apply this facility to an RDAREA and a shortage of unused segments occurs, the system allocates new unused segments to the RDAREA. These new unused segments are added at the end of the HiRDB file constituting the RDAREA.
The maximum number of HiRDB file extensions is 24. If this value is exceeded, an error occurs. The maximum number of extensions per HiRDB file system area is determined by the value specified when the HiRDB file system area is created. Therefore, you need to define the maximum number of extensions, taking into account the number of files in the HiRDB file system area and the frequency of extension.
((up to 167 characters))
Specifies the name of the HiRDB file system area and the name of the HiRDB file to be allocated to the RDAREA.
<unsigned integer>
Specifies the number of segments for the HiRDB file, such that the size of the HiRDB file will not exceed 2 GB.
All Rights Reserved. Copyright (C) 2007, Hitachi, Ltd.