DLH Logo

SQL Server · Oracle · Self-hosted

Move on-prem SQL data, to a lakehouse.

Our free community edition runs without a DLH.io account and keeps up to 10,000 rows per table in a local folder so you can try it; with a DLH.io trial or plan, we sync every row to your own S3 or Azure storage.

Change Tracking and CDC from on-prem SQL Server and Oracle, landed as Delta Lake or Apache Iceberg in storage you own. Or, use the DLH managed control plane. Ready data for your lakehouse, warehouse, reports, and AI chat efforts.

  • Free community edition
  • CDC + Change Tracking
  • Outbound-only TLS
  • No per-row billing
DLH SQL Server Agent data flowSQL Server and Oracle changes are captured inside your network by the self-hosted DLH Agent, sent outbound over TLS through the firewall with no inbound ports, written as Delta, Iceberg, or Parquet tables in your own S3 or Azure storage, and queried by Snowflake, Databricks, Athena, or MotherDuck.YOUR NETWORKon-prem · private cloudYOUR CLOUD STORAGEQUERY WITHFIREWALLoutbound TLSno inbound portsSQL Serversync_mode: autoordersCTcustomersCDCgl_ledgerfullOracleinvoicesincr.IUDUDLH Agentself-hostedencrypted vaultDuckDB stateS3Azure Bloblake/raw/ordersDeltacustomersDeltagl_ledgerIceberginvoicesParquetschema + discount_pctSnowflakeDatabricksAthenaMotherDuckRows go from your database to your bucket. Never through ours.

Swipe to see the full flow →

See it in action

Watch us take a production SQL Server from install to Delta Lake tables you can query, report on, and chat with.

Video coming soon

Self-Hosted AgentCDC + Change TrackingDelta & IcebergAI Chat Ready

DLH SQL Server Data Loader Agent

Secure, self-hosted CDC from on-premise SQL Server and Oracle to your cloud lakehouse.

Most enterprise data still lives in operational SQL Server and Oracle databases running on-premise or in a private cloud: behind firewalls, governed by strict change management, and often too large or too regulated to hand over to a SaaS change data capture vendor.

The DLH SQL Server Data Loader Agent is the bridge. It runs inside your network boundary, uses native SQL Server Change Data Capture and Change Tracking (and Oracle incremental extraction), and keeps Delta Lake or Apache Iceberg tables current in your own S3 or Azure storage. No inbound ports. No proprietary storage layer. No per-row billing meter ticking every time a commit lands.

How it works

  1. 1

    Install the agent on a Windows server next to SQL Server.

    Run the signed installer once. It registers a Windows Scheduled Task under a dedicated service account and only opens outbound connections.

  2. 2

    Your SQL Server changes sync automatically, history first.

    The first run loads every table you choose. After that, Change Tracking or CDC moves only the rows that changed, including deletes, as often as every few minutes.

  3. 3

    Query it anywhere or chat with it through the DbDeux MCP server.

    Delta Lake or Iceberg tables in your own storage, ready for Snowflake, Databricks, DLH.io, your reports, and questions in AI chat.

    About the DbDeux MCP server

Install in 3 steps

Run these on the Windows server that will host the agent. The Getting Started guide covers preparing SQL Server and your first configuration.

Download free
  1. 1

    Run the installer as an administrator

    Accept the defaults. It installs to C:\Program Files\DLH.io Agent for SQL Server, creates a dedicated service account, and registers a Windows Scheduled Task.

    dlh-agent-for-sql-server-installer-v<YYYYMMDD>.exe
  2. 2

    Install the ODBC driver and create your config

    From an elevated terminal in the install folder. Skip the driver step if ODBC Driver 17 or 18 is already installed.

    cd "C:\Program Files\DLH.io Agent for SQL Server"
    .\dlh_agent_sql_server.exe --install-driver --auto
    copy dlh_agent_config.template.yaml dlh_agent_config.yaml
  3. 3

    Check the host, then run your first sync

    --diagnose is a read-only health check that never moves data. Fix any FAIL lines, then run the agent once from the terminal.

    .\dlh_agent_sql_server.exe --config-check
    .\dlh_agent_sql_server.exe --diagnose
    .\dlh_agent_sql_server.exe

Purpose-Built for Hybrid Data Architectures

The SQL Data Loader Agent ships every capability a modern CDC pipeline needs (log-based replication, open table formats, encrypted credentials, schema evolution) in a single self-hosted agent you run on your own hardware.

Native CDC & Change Tracking

Uses SQL Server's built-in Change Data Capture and Change Tracking, plus Oracle incremental extraction, to capture inserts, updates, and deletes. No triggers, no log readers, and no extra load from polling queries on your OLTP systems.

Delta Lake & Apache Iceberg

Writes open table formats with ACID transactions, schema evolution, time travel, and hidden partitioning. No proprietary storage layer and no vendor lock-in: your data lives in your lakehouse.

Direct-to-Cloud Storage

Lands data straight in Amazon S3 or Azure Blob Storage using short-lived credentials or SAS tokens. An optional local-first mode stages files for inspection before upload in audited environments.

Firewall-Friendly by Design

Runs inside your network boundary with outbound-only TLS. No inbound ports, no VPN tunnels, no SaaS proxy seeing your data. Credentials stay in an encrypted vault next to the agent.

Encrypted Credentials & State

Database passwords are encrypted on first run with a local master key. Sync state, run history, and caches live in an embedded DuckDB file you back up by copying one file.

Auto-Detect Sync Mode

Set sync_mode to auto and the agent chooses Change Tracking, CDC, or full load per table based on what's enabled in SQL Server. Override per table or per database when you need fine-grained control.

Many Databases, One Config

One YAML configuration covers many databases on a SQL Server instance. Mix historical back-fills, incremental CDC, and full reloads across hundreds of tables, with wildcards like dbo.* and per-table overrides.

Schema Evolution Built-In

New source columns are added to the downstream Delta or Iceberg table without breaking existing queries, and type changes are caught and handled by the rule you choose. No manual DDL, no pipeline redeploys.

Deploy as a Windows Scheduled Task

Ships as a signed Windows installer that registers a Scheduled Task under a dedicated service account. Unattended and RMM friendly, or run it from the command line for ad-hoc loads.

Reference Architecture

A single lightweight process with three responsibilities: read changes from the source database, write open-format tables to cloud object storage, and track sync state locally.

1. Capture

The agent connects to SQL Server through ODBC Driver 18 (or to Oracle) and enumerates your configured databases. For each table it detects the best available mode: Change Tracking, CDC, or full load, or you pin a mode per table. No triggers are installed and no redo log readers are required.

2. Transform & Write

Changed rows stream through in batches with memory-aware throttling and are written as Delta Lake, Iceberg, or Parquet with merge, append, or SCD Type 2 history. Schema evolution is automatic, and sensitive columns can be masked before they leave the server.

3. Deliver

Tables are updated in S3 or Azure Blob Storage using credentials held only on the agent machine, and sync state lives in one DuckDB file that is easy to back up. Query the results from Snowflake, Databricks, Trino, Athena, DuckDB, or DLH.io, or chat with them through the DbDeux MCP server.

Built for Real Enterprise Workloads

On-Prem SQL Server → Cloud Lakehouse

Move ERP, OMS, and line-of-business SQL Server data off aging hardware and into Snowflake, Databricks, BigQuery, or Redshift without opening your firewall or re-platforming OLTP systems. The agent sits beside the database, reads Change Tracking or CDC, and lands Delta or Iceberg tables in your cloud object store.

Oracle Retirement & Modernization

Incrementally migrate Oracle workloads to a modern lakehouse architecture. Keep Oracle as the system of record while analytics, ML, and reporting move to open table formats, on your timeline, one schema at a time.

Hybrid & Air-Gapped Environments

Regulated industries that can't expose databases to a SaaS CDC vendor can still feed a cloud lakehouse. Because the agent only opens outbound TLS and never stores data in a third-party control plane, it passes the network and data-residency reviews that rule out managed CDC services.

Replacing Heavyweight CDC Platforms

Teams paying enterprise license fees for heavyweight CDC suites, for capabilities they mostly don't use, get the same log-based replication, schema evolution, and open-format output from a single lightweight agent, with no runtime in the vendor's cloud.

Data Stays in Your Cloud

Source rows flow from your database, through the agent on your machine, directly to your storage bucket. They never pass through a DLH-hosted control plane.

Signed Binaries

The Windows agent is distributed as a signed executable built through a GitHub Actions pipeline with Azure Trusted Signing, so it is auditable and verifiable at install time.

Encrypted at Rest

Database passwords, SAS tokens, and cloud keys are encrypted on disk with a local master key. State and sync history live in a single DuckDB file you fully control.

FAQ

Questions from data engineering teams

What teams ask before they put the agent next to a production SQL Server.

Editions and getting started

How do we query or chat with our SQL Server data?

The agent keeps Delta Lake or Apache Iceberg tables in your own S3 or Azure storage up to date, so you query them from Snowflake, Databricks, Trino, Athena, DuckDB, or DLH.io next to the rest of your data. To ask questions in plain language, connect Claude, Cursor, or another AI assistant through the DbDeux MCP server, and it answers from the same governed data your reports use.

DbDeux MCP server

Is the SQL Server Agent free? How does the community edition compare to a DLH.io plan?

Yes, the community edition is free and uses the same agent. Run it without a DLH.io API key and it caps every table and view at 10,000 rows, keeps output in a local folder, and leaves cloud uploads off. Everything else works, including Change Tracking, Delta Lake and Iceberg output, and the CLI. A DLH.io trial or plan removes the cap and syncs full tables to your own S3 or Azure storage.

Pricing

What happens when our trial expires?

The startup banner counts down the days remaining, and from 7 days out the agent also sends one warning per run to your notification channels. After the expiry date the agent runs in community mode until the account is converted. Your storage data and local state are untouched, so upgrading resumes exactly where you left off.

What do we need to run the agent?

A Windows Server 2016 or later host (or 64-bit Windows 10 or 11) with 2 vCPU and 8 GB RAM at minimum, network access to SQL Server on port 1433, and outbound HTTPS. Change Tracking or Change Data Capture must be enabled for incremental sync; full extracts work on any SQL Server edition. The agent installs Microsoft ODBC Driver 18 for you if it is missing.

Getting started

What database permissions does the agent need?

A SQL login with SELECT on every table and view you sync. For Change Tracking, also grant VIEW CHANGE TRACKING on those tables. For Change Data Capture, the login must be able to read the cdc schema, through the gating role used when CDC was enabled or db_owner. The agent never writes to your source database and installs no triggers.

Does the agent need inbound ports or a VPN?

No. It only opens outbound HTTPS connections: to api.datalakehouse.io for licensing and run reports, to your S3 or Azure storage endpoints, and to any webhook endpoints you enable for alerts. Run reports can be turned off with platform_run_report: false.

Security

Syncing behavior

Change Tracking or Change Data Capture?

Set sync_mode to auto and the agent picks the best mode per table from what is enabled in SQL Server, falling back to a full extract when neither is. We recommend Change Tracking for most sources: it is lighter, and runs on databases with thousands of tables typically finish in minutes when few rows changed. You can pin a mode per database or per table.

How often can we run the agent?

As often as your source can tolerate; 5 minute schedules are common with Change Tracking. Keep the Task Scheduler setting Do not start a new instance so runs never overlap, and keep SQL Server's CHANGE_RETENTION well above your interval.

What if a table has no primary key?

Change Tracking and Change Data Capture require a primary key. Tables without one fall back to no_pk_strategy: full (re-extract everything each run, the default), truncate_reload, or drop_recreate.

Does a failure on one table stop the run?

No. Each table is extracted and written independently. A failing table is listed in the run summary, its change pointer is not advanced so its changes are retried next run, and every other table still lands in storage. Failures trigger your notifications and a report to the DLH.io platform.

A column changed type in the source. What happens?

That is schema drift. By default the first affected run fails with an error naming the column, and the next run resolves the type from SQL Server metadata for that table only and applies your chosen action. Set migrate_target to have the target column widened automatically. New columns are added to the target without manual DDL.

Schema drift

Can one agent sync several databases or SQL Server instances?

One configuration covers many databases on one SQL Server instance. For several instances, install the agent in separate folders, each with its own configuration, credentials, state database, and scheduled task.

Lakehouse formats and engines

Delta Lake or Apache Iceberg?

Both are supported with the same sync modes, write strategies, schema drift handling, and SCD Type 2 history. Choose Delta Lake for Databricks, Snowflake Delta Direct, and Microsoft Fabric. Choose Iceberg when your warehouse prefers Iceberg metadata, such as Snowflake Iceberg tables, StarRocks, Trino, or Dremio. Either way the agent updates tables in place in your storage.

Output formats

Why doesn't Snowflake see new Iceberg data?

Snowflake does not read version-hint.text, so run ALTER ICEBERG TABLE ... REFRESH, or schedule it with a DLH.io Sync Bridge or DbDeux job after each run. For Delta Direct external tables, configure auto refresh notifications or refresh manually.

Can we keep the history of every change to a row?

Yes. Set write_strategy: scd2 on a table or a whole database. Each change becomes a new row version with valid-from, valid-to, and is-current columns, and deletes close the current version instead of removing it. Requires a primary key.

Can we mask sensitive columns before they leave the server?

Yes. Add masks to a table entry with hash, partial, redact, or round. Masking is applied in memory before the write, so only masked values are ever stored.

Operations

How do we know the agent is healthy without reading logs?

Keep platform run reports on so run history shows in the DLH.io portal, and add a Slack, Microsoft Teams, email, or generic webhook so failures and warnings reach your team. For host checks, run --diagnose (or --diagnose --json from your RMM tool) and alert on a non-zero exit code.

How do we upgrade?

Run the new installer on top of the existing installation. It replaces the executable and runtime and keeps your configuration, credentials, encryption key, state, and logs. Then run --config-check to see any new configuration keys.

Agent changelog

How do we move the agent to a new server?

Install the agent on the new host, then copy the configuration, credential files, encryption key, and the dlh_agent_state.duckdb state database into the new install folder while no run is active. The new host continues from the same change pointers.

Get the SQL Data Loader Agent

Start with one database and a handful of tables, check the results in your lakehouse, then add the rest. Talk to an engineer about running the agent against your own SQL Server or Oracle environment, or read the docs from installation through the CLI.