Skip to content

SQDR and SQDR Plus 7.0

SQDR 7.0 and SQDR Plus 7.0. Before you upgrade, read Check after upgrading and follow Upgrade on Windows or Upgrade the Docker container. Other releases: Release notes.

Highlights

  • Change an incremental subscription without a new baseline: when you save it, you choose to resume replication, require a baseline, or let the next run alter the destination table.
  • Copy very large tables faster with a parallel baseline, which splits the copy into slices that load into one destination table at the same time.
  • Merge for more destinations: the fast Merge apply method now also works for Oracle, Db2 (for i, z/OS and LUW), MySQL and Informix destinations, and for members that archive their changes.
  • Replicate spatial, hierarchyid and sql_variant columns from SQL Server and PostgreSQL (PostGIS) sources to any destination.
  • See the health of capture at a glance in the redesigned SQDR Control Center, with a server Dashboard, a plain-language Health Check for each Capture Agent, and Send Logs in one ZIP file.
  • Set up groups once: group defaults give new and imported subscriptions their destination options, and snapshot groups can now be exported and imported.
  • Connect more easily and more securely: Verify tests a connection before you save, connection strings can be edited as a form, and passwords, keys and tokens can be kept in secrets, including for Snowflake key-pair and token sign-in.
  • No silent data loss in type mapping: a column the destination's types can't hold exactly is mapped to a type that keeps every digit and character.

New

Replicate

  • Saving an incremental subscription: when a change needs a new baseline, the Baseline Snapshot Required dialog offers Alter Destination on Next Run, Resume Without Baseline or Require Baseline. See Saving an incremental subscription.
  • Parallel baselines: a snapshot or incremental subscription can copy its baseline in slices, set up on its Criteria tab; the group option Allow Parallel (Sliced) Baselines turns it on for a group run. SQL Server bulk copy loads the slices in parallel. See Parallel baselines with slices.
  • Stable key: a new subscription option, with a group default, for tables whose key values never change at the source: updates leave the key columns alone, and the destination primary key is built before the load. See Stable key.
  • Force hidden column: the source's row identifier (RRN or ROWID) is an ordinary, named @RRN column, used as an index or as the primary key, and it keeps working when a subscription is exported from test and imported into production. Snapshot subscriptions can also have a row identifier column from Db2 for LUW, Informix and PostgreSQL sources. See The RRN or ROWID column.
  • Derived phrases: replace a source column's value with an expression, including on key columns, without adding a column. See Replace a column's value: derived phrases.
  • ALTER processing: Copy adds a new source column at the destination and fills in its existing rows; a hammer icon next to a member shows where its schema changes stand. See Settings and DDL status.
  • Group defaults: an incremental group's Subscription Wizard Defaults now include Destination DDL Option, Rows at Baseline, Baseline Type and Stable key. See Subscription Wizard Defaults.
  • Snapshot groups: a new Advanced tab with import defaults (source and destination) and subscription defaults; Export and Import Members, also from an incremental group, whose subscriptions are converted. See Snapshot groups: Advanced and Export and import.
  • Copy, convert, duplicate and import let you choose the new subscriptions' destination options. See Copy or convert.
  • Merge: more destinations, and members with Archive all DML Activity (their changes are appended with multi-row inserts). See Destinations and methods and Under each apply method.
  • Maximum Retries works for snapshot groups: a failed member copy is retried in the same run. See How a group run works.
  • Existing destination tables: the subscription takes the table's column types, and a save says where they differ from what you specified. See Who owns the destination table.
  • PowerShell: New-Subscription creates subscriptions with the group's defaults, so one loop adds a list of tables to a group. See Add many tables to a group.

Sources and destinations

  • Spatial, hierarchyid and sql_variant columns: SQL Server geometry, geography, hierarchyid and sql_variant, and PostGIS geometry and geography. Incremental replication needs a Capture Agent of SQDR Plus 7.0. See Spatial, hierarchyid and sql_variant columns, SQL Server and PostgreSQL.
  • Snapshot subscriptions to streaming destinations (Snowflake, Databricks, BigQuery, Microsoft Fabric, Kafka, S3 Tables), through the source's Capture Agent. See ODBC and Java connectors.
  • Databricks without the notebook (beta): the Zerobus Apply extension streams the rows directly into Databricks, so Databricks needs no connection back to the Stelo VM. See Replicate to Databricks with Zerobus (beta).
  • Connector step for Microsoft Fabric, Kafka and S3 Tables destinations: templates, a form for the parameters, and Verify. See The Connector step.
  • Verify tests a source's or destination's connection without saving it. See Testing the connection.
  • Form and Raw: a connection string described by a template is edited as a form, or as raw text.
  • Connection String (driver-specific) authentication, with templates for Snowflake key pair and access token (PAT) and Databricks OAuth. See Authentication and Snowflake key-pair and token authentication.
  • Secrets in connection strings: refer to a stored secret as $$name$$ instead of writing a password, key or token. See Secrets in connection strings.
  • Snowflake: key-pair and token sign-in for both the JDBC connection and Snowpipe Streaming, with the role passed to both, and a Snowflake login list in the Default Parameter Data dialog. See Role and warehouse.
  • Microsoft Fabric, Kafka and S3 Tables subscriptions use the platform's own type names. See Per-database notes.
  • SQDR Plus PowerShell cmdlets list, publish and unpublish tables, for example in a script. See PowerShell.

Monitor

  • Monitoring page: Connections, Service Logs, Audit, WebDRM App Log and Scheduled Tasks on one page. See The Monitoring page.
  • Groups page: a tree of groups and their members. See The Groups page.
  • Live progress: a running group shows the rows and bytes copied so far, and a member run on its own shows as its group running. See Progress of a running group.
  • Run history always keeps the last run of each group and subscription, newest first; the history limits apply to each subscription and each group, and in total. See How long history is kept.
  • Tracing records the runs of a group or subscription in full, to diagnose a failure. See Tracing.
  • Service Logs: the crash and error logs show the stack of a crash or of a handled error, with clearer messages. See Logs.
  • Connections: a connection's description names the group or subscription and what it's doing, so locks and slow applies are easier to trace. See Connections.
  • Send Test Email shows the mail server's answer, and says which settings are missing. See Email properties.
  • SQDR Control Center: a server Dashboard; a Health Check for each Capture Agent; an Agents tab with a toolbar and tiles (see The SQDR Plus server); a Custom... time range on the Statistics tab; time ranges, Group repeats and Search all history on the Diagnostics tab.
  • Send Logs in the SQDR Control Center collects the logs of the selected agents, or of the whole server, into one ZIP file, sent to Stelo Support or downloaded. See Send logs.
  • Incremental group events have a timestamp on every line. See Incremental history.

Administer

  • Control database upgrades: the Replicator Service upgrades the control database itself when it starts, in one step from any SQDR 6 release, and records each upgrade. See Control database upgrades.
  • Capture Agent email: an agent that uses the Replicator Service's email settings picks up their changes within a minute, without a restart, and sends to a list of recipients separated by , or ;. See Email notifications: Capture Agents.

Installation and upgrade

Changed

Behaviour that differs from 6.x. Pages that describe a changed behaviour keep the earlier one in a Before 7.0 note. For the upgrade itself, see Upgrade on Windows or Upgrade the Docker container.

Check after upgrading

  • A run-history limit of 0 changed meaning: it now keeps no history. The upgrade rewrites saved limits to keep about what they kept before; check Service Settings › Logging. See How long history is kept.
  • Existing subscriptions aren't remapped. The new type mapping applies to new subscriptions, Rebuild Column List and columns an ALTER adds or changes. See Data type mapping.
  • The control database upgrade can't be undone. Back up the control database before upgrading; to go back, restore it. See Control database upgrades.
  • Shipped files are replaced at every install: keep a copy of your changes to connector-templates.json, type-config.json and builtin-macros.json, and apply them again. See Before you upgrade.
  • Criteria take only a WHERE condition. A subscription saved with GROUP BY, HAVING or ORDER BY keeps running but can't be saved until you change its criteria; to replicate grouped rows, subscribe to a source view. See Criteria.
  • Microsoft Fabric, Kafka and S3 Tables destinations connect with the control database's login, without the "proxy" connection string, and keep no table of their own in the control database. See ODBC and Java connectors.
  • Kafka is no longer installed with SQDR Plus: Kafka replication uses the Kafka client built into SQDR Plus. The old Stelo distribution of Kafka stays installed but unused; uninstall it in Settings › Apps. See What the SQDR Plus upgrade changes.
  • Email through Microsoft Graph or Gmail: Authorize needs the Data Replicator Manager opened over HTTPS (or on localhost) at the Redirect URI's address; with Microsoft Entra ID, register the Redirect URI under the platform Web. See Email properties.

Renamed and moved

  • Monitoring replaces the Connections, Logs and Scheduler pages; a bookmark to the Logs page no longer works. See The Monitoring page.
  • Force use of RRN (group) and Create target unique index using source table RRN (subscription) are now Force hidden column. See The RRN or ROWID column.
  • Subscription Wizard Apply Defaults is now Subscription Wizard Defaults. See Subscription Wizard Defaults.
  • An incremental group's Parameters moved from Change Data Logging to Source/Destination on its Advanced tab. See Source/Destination.
  • A destination's Properties tab is now two tabs, Basic and Advanced; Refresh of the Default Parameters is now Reset to Defaults in the Default Parameter Data dialog. See Destination properties.
  • The run-history settings are Maximum history records (total) and Maximum records per object. See How long history is kept.
  • In the Subscription Wizard and the subscription's tabs, Columns comes before Criteria. See Wizard steps.
  • In the SQDR Control Center, Send Logs replaces Send or Save Diagnostics Logs, and the Agents tab's toolbar replaces the Database menu for starting, stopping and disabling agents. See Send logs and The SQDR Plus server.
  • The Data Replicator Manager is listed as Stelo Data Replicator Manager in Settings › Apps. See What gets installed.

Behaviour

  • Next and Save no longer test a connection: use Verify. See Testing the connection.
  • A source's or destination's DBMS type is the one its connection reports, and a wrong type is corrected. See Create a destination and What happens when you save.
  • Changing a destination's connection keeps its Default Parameters unless the DBMS type changes. See Saving changes.
  • The copy, convert, duplicate and import dialogs start on Same: each subscription keeps its own destination options (before, they were reset to truncate and the native loader). See Copy or convert.
  • Merge is offered only for destinations that support it. In a Merge group, a member without key columns gets inserts only; an update or delete asks for a baseline. See Tables without a usable key.
  • A Db2 for i ALTER renumbers a table's rows, as a reorganization does: members that hold the RRN need a new baseline. See The RRN or ROWID column.
  • Checkpoint/Restart: a view on a Db2 for i or Db2 for LUW source isn't resumed by its row identifier (without a key, it starts over); an incremental member run on its own uses its group's setting; an interrupted member that appends rows can't start over. See Limits.
  • A snapshot or baseline to a streaming destination runs through the source's Capture Agent, so the source needs one. See ODBC and Java connectors.
  • Allow disable/enable indexes keeps a clustered index enabled. See Group Replication Settings.
  • A new snapshot group needs its defaults (source, destination, destination DDL option and baseline type). See Snapshot groups: Advanced.
  • Import leaves out subscriptions whose source or destination database type doesn't match the group's. See Export and import.
  • A recurring schedule's end must be after its start. See Recurring schedule.
  • A member's start time in a group run is when it starts to work, not when the group run starts. See Member start times.
  • PowerShell: a save stopped by validation ends with an error, never silently. See Use the cmdlets.

Fixed

Replication and apply

  • A snapshot whose source connection was lost during the copy could end as successful with rows missing, or insert rows twice.
  • Checkpoint/Restart over a Db2 for i view could skip rows.
  • A group run with Checkpoint/Restart failed for a Db2 for i subscription saved with a source catalog.
  • The control table that Checkpoint/Restart needs wasn't created for new control databases, or on upgrades from releases before 6.60.
  • Maximum Subscriptions of 1 was ignored in a snapshot group.
  • A snapshot copy disabled a non-unique clustered index on a SQL Server destination, so the copy failed.
  • Merge with a derived key column: single-row apply put the before-image key value in the wrong place.
  • The Merge work table is unique to each subscription and works with the SQL Server tempdb collation.
  • Apply didn't pick up a subscription's changed options when it was saved.
  • An incremental baseline could stay in its open window when the service stopped, or post-processing failed, as the window was closing.
  • In Sequence mode, a staging error on a member's change stopped the service, again at every restart.
  • Deleting a group could hold up the start, stop and completion of every replication.
  • The service stopped when incremental polling was turned on for a group it hadn't loaded.
  • Row counts overflowed for tables of more than about 2.1 billion rows.
  • The ODBC and MySQL loaders always check character length again (a regression in 6.38), and the ODBC loader reports a number too long for its character column instead of cutting it.
  • Errors are clearer: a bulk-copy snapshot reports the source's error (for example a Db2 for i row lock) instead of a fetch timeout, a peer thread's failure is no longer reported as "Multithread timeout", and the incremental polling error names the subscription or table.

Data types

  • MySQL sources: unsigned integers map to a type that holds every value, and unsigned SMALLINT and INT values are no longer read as signed; BIT(n) and TIME(p) get their right sizes, and TIME(6) text is no longer cut. See Data type mapping.
  • A DECIMAL wider than the destination allows maps to a character column of its digits instead of a floating-point type, so no digits are lost.
  • Negative DECIMAL(p,p) values lost their last digit or were refused.
  • A REAL value to a DOUBLE column was refused by Db2 for LUW for some values.
  • The Bulk Loader stored the wrong value for a number going to a character column; the default mapping of a number to a character column leaves room for the sign and exponent.
  • A date or time going to a character column was cut, or written with wrong separators by the ODBC loader.
  • Db2 for i TIMESTAMP(12) to SQL Server datetime2(7): incremental apply failed.
  • Empty long values to Db2 for i were stored as NULL; NULL long values to MySQL were stored as empty values.
  • MySQL to PostgreSQL: binary values failed and LONGTEXT was cut; the default mapping no longer depends on the driver.
  • MySQL and MariaDB destinations: created tables dropped the fraction of TIME(6) and the NULL of TIMESTAMP columns, and a BIT(8) column was created as bit(1).
  • MySQL to BigQuery: VARCHAR(10) was mapped to TIMESTAMP_PICOS.
  • The ODBC loader stored PostgreSQL float and real values with fewer digits, and stopped at the float maximum.
  • The default mapping matched destination types by name across different kinds of database.
  • Query output and run message times dropped the leading zeros of fractional seconds (.015 shown as .15).

Subscriptions, saving and import

  • A changed data type on a subscription with an existing destination table was discarded when saved.
  • Saving against a shorter existing destination column gave no message, and the baseline truncated the data.
  • Save checks reported a data type mismatch that didn't exist.
  • A failed save check kept its destination connection, with an uncommitted table creation, until the service restarted.
  • Copy, Convert to Snapshot and Import-Subscription with Create if does not exist, else use existing didn't create the destination table, so the first baseline failed.
  • Copying an incremental subscription with Create if does not exist, else use existing failed with "Invalid Subscription".
  • Foreign keys were missing when several subscriptions were created at once, and the primary key settings of several snapshot subscriptions created at once differed from those of one.
  • A non-key column was marked as a primary key when its name contained the key column's name.
  • Export and import: a non-unique index came back as unique, and constraints changed order.
  • Criteria that the source rejects are reported as invalid criteria, not as a missing source table.
  • An incremental subscription on a Db2 for i view or logical file is refused when saved, with a clear message.

PowerShell

  • New-Subscription: a validation note silently stopped the save.
  • Import-Subscription accepted a second subscription on a source table already in the incremental group.
  • Set-GroupSchedule accepted a recurring schedule whose end isn't after its start; Set-Group accepted an empty group name; Set-Subscription into a missing group failed with an assertion instead of "group not found".

Data Replicator Manager

  • Every request timed out for an hour after the change to or from daylight saving time.
  • Snapshot group Member Subscriptions listed no members, and a save could remove them all.
  • A subscription added from a group's member list didn't take the group's default qualifier and schema.
  • Copy Member failed with "Assertion failed" for a subscription created with PowerShell, or warned that an existing source table didn't exist.
  • Destination Advanced: Refresh replaced the saved Default Parameters.
  • A recurring schedule ending at 12:00 AM ran only once; monthly schedules on day 29, 30 or 31, weeks of a relative month and a start time of 23:59:59 are fixed too.
  • The Subscription tab was empty with many incremental subscriptions; long logs weren't shown in full.
  • The Subscription Wizard reset the Object Schema of a Db2 for LUW destination.
  • The criteria gave a syntax error when it used a lowercase where.
  • Connect To Service accepted the reserved Friendly Name "Default", and the page stopped responding when the name had a leading or trailing space.
  • Several fixes to email notifications sent through the Microsoft Graph API.

Capture Agents (SQDR Plus)

  • The Oracle XStream reader leaked Oracle connections on restart, after a failed attach, and with TIMESTAMP WITH TIME ZONE columns.
  • Db2 for i: undoing a large transaction took hours.
  • Oracle (LogMiner): undoing an update left the before image in the staging table.
  • Db2 for LUW: undo processing didn't write the staged inserts first, and deleted rows one at a time.
  • MySQL SET and ENUM values were replicated incorrectly.
  • Agents started by the Launch Agent didn't receive the environment variables.
  • The Java stored procedures weren't updated after an upgrade on Db2 11.5: the Launch Agent now replaces them itself (see What the SQDR Plus upgrade changes).
  • Publishing tables from an imported list did nothing in the SQDR Control Center.

Streaming destinations (SQDR Plus)

  • Snowflake streaming failed ("Could not initialize class FFIClient") when the installation path had a space or the temp folder was missing.
  • Snowpipe Streaming: rows could go to the wrong table when a group applied changes to several tables, and NULL in INT and BIGINT columns was applied as 0.
  • Snowflake baselines trim CHAR values as changes do.
  • Microsoft Fabric: duplicate rows when the primary key was a CHAR or NCHAR (GRAPHIC) column, and an empty _metadata.json when the Fabric capacity was unavailable.
  • An apply error at a streaming destination could be ignored.