Exasol¶
| DBMS Type | Exasol |
| Driver | Exasol ODBC driver. Install it on the Stelo VM. |
| Connection string | The Exasol template: EXAHOST=demodb.exasol.com. EXAHOST takes a host name, an IP address or a range of addresses, optionally followed by :port. |
| Apply methods | Batch, Merge, Sequence |
| Indexes | None: the Replicator Service creates no indexes on Exasol tables (see Keys, RRN/ROWID and indexes). |
Docker
The SQDR container includes the Exasol ODBC driver (Exasol Driver).
Prepare the database. Create a user that can log in and create tables, and a schema it owns, for example:
CREATE USER sqdruser IDENTIFIED BY "MyPassword1";
GRANT CREATE SESSION, CREATE TABLE TO sqdruser;
CREATE SCHEMA myschema;
ALTER SCHEMA myschema CHANGE OWNER sqdruser;
Replace sqdruser, the password and myschema, and enter the schema as the destination's default Object Schema.
CREATE SESSION lets the user connect. In Exasol, CREATE TABLE lets a user create tables in a schema it owns, and a
schema's owner owns the objects in it, so the user can also alter, drop, empty and write to its tables. For a schema
the user doesn't own, see Exasol's documentation for the privileges each statement needs (for example
CREATE ANY TABLE).
Merge. For Exasol, each member's merge table is always a permanent table, named from the destination table and the group's Decoration, even without Merge In Place. The user must be able to create and drop tables wherever the Decoration puts them (by default next to the destination table). See The merge table.
Data types. Timestamps are created with the source column's fractional seconds, as TIMESTAMP(n).
Emptying tables. Truncate table before replication is available for Exasol.