Databases¶
The databases SQDR replicates from and to, the ODBC drivers for each, and which sources can be incremental (with Stelo Capture). Each database has a page: what to prepare in the database, and its options when you add its Capture Agent and create its SQDR source or destination. The versions and variants Stelo Capture captures from are in Stelo Capture requirements.
Find your database¶
- Source: Incremental sources serve incremental groups, through a Capture Agent, and snapshot replication; the link opens the source's setup page. Snapshot sources serve snapshot replication only.
- Destination: ODBC destinations are written through their ODBC driver; Java connector destinations through a Apply extension (see ODBC and Java connectors).
- Drivers: where a database has several, Stelo recommends the first (see Which driver to choose).
| Database | DBMS Type | Source | Destination | Drivers |
|---|---|---|---|---|
| Actian PSQL (Pervasive) | Pervasive |
Snapshot | ODBC | Pervasive PSQL ODBC driver |
| Amazon Redshift | Redshift |
Snapshot | ODBC | SQDR bundled Redshift driver |
| Amazon S3 Tables | S3tables |
โ | Java connector | None: set up on the wizard's Connector step |
| Databricks, Apache Spark | Databricks |
Snapshot | Java connector | Databricks ODBC driver; Simba Spark ODBC driver |
| Db2 for i | iSeries |
Incremental | ODBC | StarSQL (installed and licensed with SQDR); IBM i Access ODBC Driver; IBM Db2 ODBC driver (Db2 Connect) |
| Db2 for LUW | UDB |
Incremental | ODBC | StarSQL; IBM Db2 ODBC driver |
| Db2 for z/OS | DB2 |
Snapshot | ODBC | StarSQL; IBM Db2 ODBC driver |
| Exasol | Exasol |
Snapshot | ODBC | Exasol ODBC driver |
| Google BigQuery | BigQuery |
Snapshot | Java connector | Simba ODBC Driver for Google BigQuery |
| Informix | Informix |
Incremental | ODBC | SQDR bundled Informix driver; IBM Informix ODBC driver (Informix Client SDK); IBM Db2 ODBC driver |
| Kafka | Kafka |
โ | Java connector | None: set up on the wizard's Connector step |
| Microsoft Fabric | Fabric |
โ | Java connector | None: set up on the wizard's Connector step |
| MySQL, MariaDB, Aurora MySQL | MySQL |
Incremental | ODBC | MySQL Connector/ODBC or MariaDB ODBC driver; SQDR bundled MySQL driver (MySQL Enterprise only) |
| Oracle | Oracle |
Incremental | ODBC | Oracle ODBC driver (Oracle Instant Client) for sources, SQDR bundled Oracle driver for destinations; either works for both |
| PostgreSQL, AlloyDB, EDB | PostgreSQL |
Incremental | ODBC | psqlODBC; SQDR bundled PostgreSQL driver |
| Salesforce | SalesForce |
Snapshot (see its page) | ODBC | SQDR bundled Salesforce driver |
| SAP HANA | SAPHANA |
Snapshot | ODBC | SAP HANA ODBC driver (HDBODBC) |
| SingleStore | MySQL |
Snapshot | ODBC | SingleStore ODBC driver |
| Snowflake | Snowflake |
Snapshot | Java connector | Snowflake ODBC driver |
| SQL Server, Azure SQL | SQLServer |
Incremental | ODBC | Microsoft ODBC Driver 17 or 18 for SQL Server; SQDR bundled SQL Server driver |
| Text and CSV files | Text |
Snapshot | ODBC | SQDR Text driver (bundled) |
| Tibero | Oracle |
Snapshot | ODBC | Tibero ODBC driver |
- SQDR bundled drivers (Oracle, SQL Server, MySQL, PostgreSQL, Informix, Redshift, Salesforce and Text) and StarSQL are licensed and installed with SQDR, except the Salesforce driver on Windows, which is in the optional SQDR_ODBC_XE package (see Salesforce). Install the other drivers on the SQDR server yourself; see ODBC drivers. The SQDR container already includes most of them (see ODBC drivers in the container).
- Another database with an ODBC driver can be a snapshot source or a destination: see Other databases.
Which driver to choose¶
Use the first driver in the table unless you have a reason to use another, for example a driver your organization already standardizes on. In general, use the latest version of a driver that the release notes don't advise against.
- IBM Db2 ODBC driver: needs a Db2 Connect license where IBM requires one. With Informix it works with limited functionality.
- Amazon Redshift: Amazon's own Redshift ODBC driver isn't supported.
How SQDR recognizes a database¶
The Replicator Service reaches every database through an ODBC driver (see Connection strings). When it first connects, it asks the driver for the database's name and sets the source's or destination's DBMS Type from it. The DBMS type decides how SQDR writes SQL, maps data types and creates tables.
- Compatible databases are handled as the database they're compatible with: MariaDB and SingleStore as
MySQL, AlloyDB and EDB (EnterpriseDB) asPostgreSQL, and Tibero asOracle. - Drivers: the ODBC Driver and ODBC DSN lists show only supported drivers, and the service adjusts some connection options for them (see How the connection string is used). For another driver, see Other databases.
Other databases¶
A database that isn't listed may still work through its ODBC driver: a 64-bit ODBC driver that supports ODBC 3.51 Level 2. The Replicator Service handles it as DBMS type Other, with generic SQL.
- Install the driver on the Stelo VM.
- Set the service property
addUnsupportedDriversso that the driver's data sources are listed (see Service properties). - Create the source or destination, and test a snapshot subscription before you rely on it. For advice on a particular database, contact Stelo Support.