{" partition p2 values less than ('01-APR-2001') tablespace ts2, "}
{" partition p3 values less than (maxvalue) tablespace ts4) "}
The only storage clause possible is:
Imposed volume | {" On volume1 "} |
From version 6.4 on, it is also possible to define the first index (only this one) as "clustered", which means that the table data are physically ordered following the order of this key. This can be used for optimization purposes, to do this the following section must be added (XXXX being the name of the specific index):
$CLUSTERED
{ "XXXX" }
End
It is primordial, so that this can be properly taken into account, to revalidate the table in forced mode after modification of the configuration file.
Warning: this syntax used to define the "clustered" index is temporary. Indeed, in the next major version, this type of index definition will be performed in a more natural way in the dictionary.
You will find below an example of a configuration file. Please note that only part of the rules apply (only those that apply to the database actually used are applied).
Additionally, please note that no configuration file is provided by default, but that any update will preserve the existing configuration files. Configuration files are considered to be implementation elements and are therefore linked to a given installation, and therefore are not standard as such.
| #--- Rule for Oracle: Invoice file #--- Rule for Sql Server: #--- First index under Oracle (No rules for the other indexes) |
The Adonix engine uses ASCII files of the UNIX type, that is to say that the line separator is the Line Feed (code 10 character) and not by Carriage Return, Line Feed (characters 13, then 10) such as for the Windows™ text files. It is therefore fundamental that these texts are not edited using the notepad (or at least to not re-write with notepad), in order that the Adonix engine will be able to use them. On the other hand, under UNIX, the vi editor can be used. The Adonix editor correctly manages these files.
In addition, it should be noted that the format used by these files is in reality the UTF8 format (this format allows the processing of UNICODE characters - Chinese for example - in a totally transparent fashion). It is in reality a coding over 1 to 4 bytes for a single character. The UTF8 format corresponds to ASCII for all non-accented characters, but once bit weight is greater than 1, the character is coded over more than a byte. This means that French accented characters are not viewed correctly in "classic" editors (but the Adonix editors process this format correctly).
In the absence of the configuration file, the sizing algorithm used to size the Oracle tables is the following: