Release Notes 1.1
Your backups are now a data source, and your target tables create themselves. FastTransfer 1.1 reads tables straight out of SQL Server backup files and Oracle RMAN backup sets: no restore, no spare instance, no load on production. And with the new Create load mode, you no longer write a CREATE TABLE before a transfer: FastTransfer builds the target table from the source, with column types as strict as your data allows.
Highlights
- Backups as a source:
backup_mssqlandbackup_rmanload tables from backup files into any ADBC target, in parallel. --loadmode Create: FastTransfer creates the target table from a table, a query or files, then loads it.--inferdatatype best: OracleNUMBERandDATEcolumns, and CSV, Parquet and JSON files, get the strictest type that holds your data, with a safety net that never lets a value be rounded or truncated.- A wizard in three families: Native, Arpe.io ADBC and Backup Files, plus the
Createload mode. - More reliable parallel reads:
Ntileon Oracle and MySQL sources, and queries withQUALIFYor named windows.
Load Straight From Your Backups
Feeding a data warehouse, a test environment or an audit from production usually means one of two things: querying production, or restoring a backup on a spare instance first. Both cost time, licences and people.
FastTransfer 1.1 removes the step. Point it at the directory of your backup files and name the table: the bundled driver reads the backup format directly and streams the rows to your target.
| Connection Type | Reads |
|---|---|
backup_mssql | SQL Server full and differential backups (.bak): compressed, striped, encrypted or TDE ones included |
backup_rman | Oracle RMAN backup sets: full, level 0 and incremental level 1 to 4 |
- Windows
- Linux
.\FastTransfer.exe `
--sourceconnectiontype "backup_mssql" `
--sourceserver "D:\MSSQLBACKUP" `
--sourcedatabase "tpch_full.bak;tpch_diff_*.bak" `
--sourceschema "dbo" `
--sourcetable "orders" `
--targetconnectiontype "adbc_pgsql" `
--targetserver "localhost:5432" `
--targetdatabase "tpch" `
--targetuser "postgres" `
--targetpassword "mypassword" `
--targetschema "public" `
--targettable "orders" `
--method "Physical" `
--degree 8 `
--loadmode "Truncate"
./FastTransfer \
--sourceconnectiontype "backup_mssql" \
--sourceserver "/backup/mssql" \
--sourcedatabase "tpch_full.bak;tpch_diff_*.bak" \
--sourceschema "dbo" \
--sourcetable "orders" \
--targetconnectiontype "adbc_pgsql" \
--targetserver "localhost:5432" \
--targetdatabase "tpch" \
--targetuser "postgres" \
--targetpassword "mypassword" \
--targetschema "public" \
--targettable "orders" \
--method "Physical" \
--degree 8 \
--loadmode "Truncate"
Why it matters:
- No load on production. The data comes from files your backup job already wrote.
- No instance to provision. No SQL Server or Oracle licence, no disk for a restore, no wait.
- The latest data, not last week's. FastTransfer applies the differential or incremental backups on top of the full one and reads the newest version the files hold.
- Parallel by design. With
--method Physical, each stream reads its own slice of the table: pages, columnstore rowgroups or Oracle block ranges. - Safe by default. The backup is opened and the table looked up before anything touches the target. A backup that cannot be used stops the run with the target untouched,
Truncateincluded.
Backup sources load into the ADBC targets (adbc_mssql, adbc_pgsql, adbc_oracle, adbc_db2, adbc_teradata, adbc_netezza), on Windows x64 and Linux x64.
See Backup Sources.
Create the Target Table, Skip the DDL
Until now, a transfer started with a chore: write the CREATE TABLE on the target, column by column, type by type. With --loadmode Create, FastTransfer does it from the source, whether the source is a table, a query or a set of files.
./FastTransfer \
--sourceconnectiontype "oraodp" \
--sourceserver "orahost:1521/ORCLPDB1" \
--sourceuser "SALES" \
--sourcepassword "mypassword" \
--sourceschema "SALES" \
--sourcetable "ORDERS" \
--targetconnectiontype "pgcopy" \
--targetserver "localhost:5432" \
--targetdatabase "dwh" \
--targetuser "postgres" \
--targetpassword "mypassword" \
--targetschema "stg" \
--targettable "orders" \
--loadmode "Create" \
--inferdatatype "best"
One command line now works on the first run and on every run after it: the table is created when it does not exist, and truncated and reloaded when it does.
The right types, not just types that work
Creating a table is easy when you make every column a wide string. Creating one you can join, index and aggregate on is harder, and Oracle makes it harder still: a NUMBER says nothing about its size, and a DATE always carries a time.
--inferdatatype gives you three answers:
| Mode | What you get | When to use it |
|---|---|---|
fast (default) | Types from the source metadata. No row is read | Sources with precise metadata: SQL Server, PostgreSQL, MySQL, Db2, Teradata |
best | The strictest type that holds every value, found by one scan of the source | Oracle sources, and CSV, Parquet and JSON files |
allvarchar | Every column as text, in one stable format | Raw landing zones, where typing happens later |
With best, an Oracle NUMBER holding order numbers becomes an INT, a price becomes a DECIMAL(12,2), and a DATE with no time part becomes a real DATE, instead of three floats and timestamps.
A safety net on every inferred type
Inferring types from data raises a fair question: what if a row arrives later that does not fit? FastTransfer reads every narrowed column through a guard. A value that does not fit the inferred type fails the load instead of being rounded or truncated, and the table created by that run is dropped so the next run infers the types again. You can sample large tables with FASTTRANSFER_INFER_SAMPLE_PERCENT and keep the same guarantee.
See Creating the Target Table.
Parallel Reads You Can Trust
Ntileon Oracle and MySQL sources now works with a query as well as with a table, and splits the rows into even ranges.- Queries keep every clause. A source query with
QUALIFY, a namedWINDOWorCONNECT BYis sent as you wrote it when a parallel method adds its filter. Physicalwith a query works withallvarcharandbest: the filter of each stream is added to your query.
Also in 1.1
FASTTRANSFER_ADBC_SSLMODEsets the TLS mode ofadbc_pgsqlandadbc_netezzaconnections, for servers without TLS or with a required certificate check.- SQL Server
host:portis accepted in--sourceserverand--targetserver. pgcopytarget: fractional seconds and binary values are now written exactly.adbc_db2target: parallel loads commit every 50,000 rows on each stream.- Command line: an empty or stray argument gives a clear parsing error.
- Bundled ADBC drivers updated to their latest releases. With the new SQL Server backup driver, each compressed backup file is read by several threads when a backup is indexed.
Upgrading from 1.0
--loadmode ReplaceReplace used to behave like Append. In 1.1 it is an alias of Create: the target table is created when it does not exist, and truncated when it does. Check the scripts that pass --loadmode Replace.
- A source query with
QUALIFY, a namedWINDOWorCONNECT BY, read with a parallel method, now keeps that clause. Such a query returned other rows in 1.0. - SQL Server:
tcp:hostandhost\INSTANCE:portare refused in the server parameter, with a message that gives the accepted forms.
Known Limitations
- Backup sources load into ADBC targets only, and are not available on Linux ARM64.
--loadmode Createis not tested yet on ClickHouse, Netezza, SAP HANA, Teradata as a target, or with a backup source.--loadmode Create: a text column with no declared length gets 256 characters, and a longer value fails the load. RaiseFASTTRANSFER_INFER_DEFAULT_STRING_MAXSIZEwhen needed.- SQL Server targets refuse NaN and infinity in
REALandFLOATcolumns.
Wizard
The Command Wizard groups the source connection types in three families, Native, Arpe.io ADBC and Backup Files, and offers the Create load mode with its --inferdatatype option.