Data type mapping
This table describes the data type mapping between Oracle and Exasol.
| Oracle | Exasol | Comment |
|---|---|---|
| Numeric data types | ||
|
|
|
Maximum precision in Oracle is 38, while in Exasol it is 36 |
|
|
||
|
|
||
|
|
|
|
|
|
||
|
|
||
|
|
|
Possible loss in precision and scale |
|
|
||
|
|
||
|
|
||
|
|
||
| Character data types | ||
|
|
|
By default Exasol stores strings in UTF-8 and the length is always defined by characters, not bytes. Note that a single character can consume up to 4 bytes in Oracle. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
If the maximum length of the For large data fields, we recommend storing the data outside of Exasol. |
|
|
||
|
|
JSON data can be stored in |
|
| DATETIME data types | ||
|
|
|
|
|
|
|
Timestamp accuracy is limited to milliseconds. Precisions beyond that will be truncated. |
|
|
|
We recommend normalizing the timestamps to
UTC in Exasol. Exasol also offers a Be aware that this is different from Oracle’s behavior, where each value stored may have a different time zone. |
|
|
|
|
|
|
|
|
|
|
|
The accuracy is limited to milliseconds, precisions beyond that will be truncated |
| LONG and RAW data types | ||
|
|
|
Oracle recommends not to create tables with
For large data fields, we recommend that you store the data outside of Exasol. |
|
|
|
Binary data types are not supported in
Exasol. However, there is a data type in Exasol introduced specifically to
store hexadecimal hash values up to 1024 byte, the HASHTYPE data type. If the
size of the |
| Unsupported data types | ||
|
|
Not supported |
Binary data types are not supported. |
|
|
||
|
|
||
|
|
Not supported |
Migration not needed. Exasol also has the pseudo column |
|
|
||