Tables
Choose and configure tables
Choose which tables a pipeline replicates, pause or stop a table, keep a history of every change, and set options such as column hashing and parallel backfills.
Replicating tables
When you create a pipeline, the Choose tables step lists the tables in your source. Turn on a table’s replicate toggle, or Replicate all, then select Verify selected tables.
Artie backfills each table’s existing rows, then streams its changes with change data capture (CDC). To open a table’s columns and settings in this step, select its row.
Each table in a pipeline has one status.
| Status | Set by | What Artie does |
|---|---|---|
| Streaming | Stream | Reads from the source and writes to the destination. |
| Delivery paused | Pause delivery | Keeps reading from the source and holds the table’s changes for up to 14 days before writing them. |
| Stopped | Stop | Doesn’t read from the source or write to the destination. |
| Backfilling | Artie | Loads existing rows. Streaming begins when the backfill completes. |
To change a status on an existing pipeline:
- Open your pipeline and select Edit pipeline.
- Go to the Tables tab.
- Select the table’s Status, choose Stream, Pause delivery or Stop, then select Update.
- Save and deploy the pipeline. The new status takes effect after the deploy.
Pause delivery is available while the pipeline is running, for a deployed table that isn’t backfilling or waiting to backfill. To change several tables at once, select them and use Edit selected tables.
Automatically capture newly created tables
Artie checks your source for tables created after the pipeline is deployed and adds them to the pipeline. The setting has a different label when you create a pipeline and when you edit one.
| When | Where | Setting |
|---|---|---|
| Creating a pipeline | Choose tables step, under For tables added later | Replicate new tables |
| Editing a pipeline | Destination tab, under Advanced settings | Auto-replicate new tables |
DynamoDB sources don’t have this setting, because each DynamoDB pipeline replicates one table.
By default, Artie checks for new source tables every weekday at 6 AM Pacific Time. Company admins change the days, start time, and timezone under Table change handling in Settings > General. To run the check for one pipeline at any time, select Check schema on the pipeline overview.
A table is new if it appears after Artie’s first check of that source database. The first check only records the tables that already exist, so existing tables you didn’t select are never auto-added.
The scheduled check covers running pipelines. Tables created while a pipeline has undeployed changes aren’t auto-added to it, even after you deploy. Add them by hand.
Artie validates new tables before it adds them. Valid tables are added to the pipeline and deployed automatically. Tables that fail validation are not added. Artie emails the configured recipients with the outcome.
To choose which new tables are auto-added, use Filter new tables. The regex matches full source table names in schema.table form:
- Skip matches: matching tables are not auto-added. For example,
^public\.tmp_.*skipspublic.tmp_orders. - Only matches: only matching tables are auto-added. For example,
^public\..*auto-adds new tables in thepublicschema and nothing else.
Advanced settings
General
Tables whose full name (schema.table) matches this regex will not be auto-added.
New tables found
- public.invoicesAdded
- public.tmp_ordersSkipped
- billing.refundsAdded
- audit.loginsAdded
Automatically stop tables dropped from the source
When a table is dropped from your source database, Artie can stop streaming it for you, so the missing table doesn’t block later updates to the pipeline. Artie never drops, truncates, or deletes the destination table or its data.
Open the source settings
Open your pipeline, click Edit pipeline, go to the Source tab, and expand Advanced settings.
Turn on the setting
Select Auto-stop dropped tables, save your changes, and deploy the pipeline.

When Artie stops a dropped table
| Trigger | When it runs |
|---|---|
| Scheduled table check | Every weekday at 6 AM Pacific Time by default. Company admins can change this under Table change handling in Settings > General. |
| Check schema | Whenever you click it on the pipeline overview. |
| Starting or resuming the pipeline | Right before Artie deploys the pipeline. |
The scheduled check and Check schema only stop tables on a running pipeline with no undeployed changes. A table that’s backfilling isn’t stopped. If the source returns no tables at all, Artie skips the run, because that usually means an outage or lost access.
Each time Artie stops a table, it emails your table change recipients.

Supported sources
This setting is available for PostgreSQL, MySQL, SQL Server, Oracle, MongoDB, DocumentDB, CockroachDB, PlanetScale, Snowflake, and Amazon Keyspaces. It isn’t available for source readers that unify tables across schemas or databases, or for MongoDB deployment-scoped readers.
| Situation | PostgreSQL | Other supported sources |
|---|---|---|
| You validate or save the pipeline before the table is stopped | Validation passes | Validation can fail until the table is stopped |
| Artie loses access to a table that still exists | Validation fails, and the table keeps its status | The table counts as dropped and is stopped |
After a table is stopped
- The table no longer appears in the pipeline’s table list. Use the email or the Activity page to see which tables Artie stopped.
- History mode is turned off for that table.
- If you recreate the table, it stays stopped until you turn it back on from the Tables tab. Turn history mode back on too if you use it, and backfill the table to catch up on changes made while it was stopped.
Using Terraform
Set auto_stop_dropped_tables on artie_pipeline. This needs Terraform provider v2.3.61 or later.
resource "artie_pipeline" "example" {
# ...
auto_stop_dropped_tables = true
lifecycle {
ignore_changes = [tables]
}
}We recommend ignore_changes = [tables] so Terraform doesn’t turn a stopped table back on. With it, Terraform also ignores every other edit to tables, such as adding a table or changing a table’s settings, so make those changes in the Dashboard.
If your configuration lists every table instead, remove a dropped table from tables before your next apply. Otherwise, each apply tries to turn the table back on, which can fail validation or cause another redeploy and email.
To turn the setting off, set auto_stop_dropped_tables = false. Removing the attribute keeps the current value.
Additional data
In your pipeline’s destination Advanced settings, enable Add ‘Artie operation’ column to add __artie_operation to a normal destination table. It records the operation that most recently produced each row:
| Value | Operation |
|---|---|
r | Backfill |
c | Create |
u | Update |
d | Delete |
See System columns for how this column behaves in normal and history modes.
History mode
History mode keeps an audit trail of every change to a table. Artie creates a separate table, named after the destination table with the suffix __history. It records every insert, update, and delete made to the original table. For example, orders gets orders__history.
The history table includes these additional columns:
| Column | Description |
|---|---|
__artie_operation | The operation that produced the history record (r, c, u, or d) |
__artie_updated_at | When Artie processed the change. Included while Add ‘Artie updated at’ column is on, which is the default. |
__artie_db_updated_at | When the change occurred in your source database |
History mode isn’t available for Kafka destinations.
Enable history mode
When you create a pipeline, turn on the table’s history toggle in the Choose tables step, or Enable history for all.
On an existing pipeline:
- Open your pipeline and select Edit pipeline.
- Go to the Tables tab.
- In the History mode column, turn on the table’s toggle.
- Save and deploy the pipeline.
To enable history mode for several tables at once, select them with the checkboxes on the left side of the list. Then select Edit selected tables > Enable history mode. DynamoDB pipelines have no Tables tab. For them, go to the Source tab, open Advanced settings, and turn on Enable history mode.
A history table enabled this way records changes made after the deploy. To copy the existing rows too, turn on Backfill history table.
Automatically enable history mode for new tables
The setting is History for new tables when you create a pipeline, in the Choose tables step under For tables added later. When you edit a pipeline, it is Auto-enable history mode for new tables in the destination’s Advanced settings. Artie discovers new tables on the same schedule as auto-replication.
- With Auto-replicate new tables also enabled, Artie adds regular replication and a history table.
- With only Auto-enable history mode for new tables enabled, Artie adds the table in history-only mode.
For automatically added history tables, Artie schedules a history-table backfill. The history table gets a baseline before it continues with CDC changes.
To narrow which new tables are auto-added while this setting is on, use While history mode is on, also filter. When you create a pipeline, it is While history is on, also filter. It works like Filter new tables, with Skip matches or Only matches on full schema.table names, such as ^audit\..*. If both filters are set, a table must pass both to be auto-added.
Schema evolution
Artie creates destination tables, detects and adds new columns, and can drop deleted columns after a safety verification period.
For column exclusion and inclusion, and hard deletes for columns, see the Schema evolution guide.
Destination table naming
When tables from several source schemas land in one destination schema, Artie prefixes the destination table name with the source schema name. Tables in the connector’s default schema get no prefix.
| Source | Default schema (no prefix) | Non-default schema (prefixed) |
|---|---|---|
| PostgreSQL / CockroachDB | public | any other schema |
| SQL Server | dbo | any other schema |
| MySQL | the Default schema (optional) you select on the pipeline’s Source tab | any other schema, or every schema if you leave the default blank |
| Oracle | none | every schema |
For example, if you replicate both dbo.actions and accounting.actions from SQL Server into a single Snowflake schema, they arrive as:
dbo.actions→actions(no prefix,dbois the default schema)accounting.actions→accounting_actions
Tables with the same name in different source schemas always land as distinct destination tables, with no configuration.
Keep each source schema as its own destination schema
To give each source schema its own destination schema with the same name, choose Write to multiple schemas on your pipeline’s Destination tab. To add a prefix to each schema name, fill in Schema name prefix (optional).
With that option enabled, the same SQL Server example produces:
dbo.actions→ destination schemadbo, tableactionsaccounting.actions→ destination schemaaccounting, tableactions
This is available when your source has schemas, on Snowflake, Databricks, Iceberg (Write to multiple namespaces), Redshift, SQL Server, MySQL, Oracle, PostgreSQL, and MotherDuck.
Table settings
To open a table’s settings, open your pipeline, select Edit pipeline, go to Tables, and select the Advanced settings gear icon on the table’s row. The icon is enabled for tables that are replicating or have history mode on. Changes apply after you save and deploy the pipeline.
When you create a pipeline, the same settings are in the Choose tables step. Select a table’s row to open its columns and Advanced options. Some labels differ there:
| Label on the pipeline’s Tables tab | Label in the Choose tables step |
|---|---|
| Use different table name in destination | Name in destination |
| Override Stream ARN | Stream ARN |
| Backfill history table | Backfill the history table |
| Exclude certain columns, Hash certain columns, Encrypt certain columns | Exclude, Hash or Encrypt in the column’s menu |
| Include certain columns | Only replicate chosen columns |
| Trim spaces from certain columns | The column’s Trim checkbox |
| Compress certain columns | The column’s Compress checkbox |
| Override primary keys | Merge key |
| Enable multi-step merge | Multi-step merge |
| Use a merge predicate | Merge predicate |
| Parallelize backfill using CTID | Backfill method > CTID (parallel) |
| Enable partitioned-table backfill | Backfill method > One child partition at a time |
| Enable range-based parallel backfill | Backfill method > Key ranges (parallel) |
| Run this table on its own deployment | Separate Transfer for this table |
| Enable soft partitioning | Split into time partitions |
General
These settings control the table’s destination name and which changes Artie writes.
Use different name in destination
This setting defines a destination table alias. Turn on Use different table name in destination. If your source table is named foo, enter bar as the Destination table name to write it to bar.
Advanced settings: comments table
Changes apply after you save and deploy the pipeline.
General
public.comments→comments_v2
If all tables land in one destination schema, Artie still adds the source schema prefix to the alias for tables outside the source’s default schema. This prevents table name collisions in the destination. See Destination table naming.
For example, in a PostgreSQL → Snowflake pipeline, source tables public.foo and schema2.foo show up in Snowflake as foo and schema2_foo. If you specify a destination table name of bar for the latter, it is schema2_bar in Snowflake.
Override Stream ARN
Available for Amazon Keyspaces sources. Enable it and enter the Stream ARN: the Amazon Keyspaces stream ARN that Artie reads CDC from for this table.
Skip deletes
When enabled, Artie skips deletes for this table. Rows deleted in the source stay in the destination. Use it to keep a smaller dataset in your source and a complete archive in your destination. It has no effect with a Kafka destination, which shows the setting only for a table that already has it on, so you can turn it off.
Skip no-op updates
Available for PostgreSQL sources. When enabled, Artie drops update events where the row is the same before and after the update, so they’re never written to the destination.
PostgreSQL writes an update to the write-ahead log (WAL) even when no value changes. The PostgreSQL docs say it “always performs a physical row update regardless of whether or not the data has changed.” For example, an app or ORM that saves the whole record on every request runs:
-- email is already '[email protected]'
UPDATE users SET email = '[email protected]' WHERE id = 42;The row doesn’t change, but the WAL still records an update, and Artie replicates it like any other change. Take a job that re-runs UPDATE orders SET status = 'shipped' WHERE shipped_at IS NOT NULL every hour. It produces an update for every matching row on every run. Update counts in your pipeline are then higher than the number of rows that changed.
Two methods stop these updates. Use either one, or both:
Turn on Skip no-op updates in the table’s advanced settings. Artie compares the row before and after each update and drops the event if nothing changed.
The table needs REPLICA IDENTITY FULL. Without it, the update event doesn’t carry the full previous row, so Artie can’t compare and replicates every update. To set it, run this on the source database:
ALTER TABLE public.users REPLICA IDENTITY FULL;This method has these trade-offs:
- Stops no-op updates from reaching your destination.
- The comparison runs after column exclusion and inclusion, so an update that only changes an excluded column, such as
last_seen_at, is skipped too. - Doesn’t reduce WAL on your database. PostgreSQL has already written the update by the time Artie reads it.
Add PostgreSQL’s built-in suppress_redundant_updates_trigger to the table. PostgreSQL then skips any update that doesn’t change the row. To add it, run this on the source database:
-- Triggers fire in alphabetical order. The z_ prefix makes this one
-- run last, after any other BEFORE UPDATE triggers have changed the row.
CREATE TRIGGER z_suppress_redundant_updates
BEFORE UPDATE ON public.users
FOR EACH ROW EXECUTE FUNCTION suppress_redundant_updates_trigger();This method has these trade-offs:
- The update is never written, so it doesn’t add to WAL and Artie never sees it.
- Doesn’t need
REPLICA IDENTITY FULL. - Compares the whole row, so updates that only change columns you excluded in Artie still go through.
- Adds a row comparison to every update on the table.
Backfill history table
Shown when history mode is on for the table. When enabled, Artie backfills the history table in addition to the regular table. Without it, a history table you enable on an existing table starts with changes made after the deploy.
Column configuration
For DynamoDB sources, this section has only Flatten nested documents, and only when the destination isn’t Kafka. It is under Advanced settings on the Source tab.
Flatten nested documents
Enable Flatten nested documents in a table’s advanced settings to write nested object fields as destination columns. Artie flattens structured object values emitted by the source and joins each field path with double underscores (__).
For example, this source record:
{
"id": "order_8462",
"customer": {
"name": "Avery Chen",
"address": {
"city": "San Francisco",
"country": "US"
}
},
"items": ["starter", "support"]
}Produces these destination fields:
{
"id": "order_8462",
"customer__name": "Avery Chen",
"customer__address__city": "San Francisco",
"customer__address__country": "US",
"items": ["starter", "support"]
}Artie flattens structured objects only. It does not parse JSON stored in a string, and arrays remain a single value. To limit how deep Artie flattens, set Maximum nesting depth. At 0, the default, the depth has no limit. With a limit, Artie keeps the remaining nested value whole at the configured depth.
Flattening runs before column inclusion, exclusion, trimming, hashing, and encryption, so those column settings use the flattened names. It applies to initial backfills and ongoing changes. Enabling it changes the destination schema for that table. Review the resulting columns before you enable it for a table that already has data.
Exclude certain columns
Replicate all columns except the ones you specify. Use it to keep sensitive data such as PII or passwords out of the destination, or to skip large or unused columns. Columns created in the source later are still replicated.
For more details, see the Column inclusion and exclusion guide.
Include certain columns
Replicate only the columns you explicitly list. The destination table then holds only the columns you chose.
For more details, see the Column inclusion and exclusion guide.
Hash certain columns
Hashes the non-null values of specified columns before writing them to the destination. By default, Artie uses SHA-256. To salt the hashes, create a salt under Settings > Encryption & hashing. Then pick it as the pipeline’s Column hashing salt on the Destination tab. Artie then uses HMAC-SHA256 keyed on that salt.
The same value and salt always produce the same hash. Join, group, and deduplicate on hashed columns across tables hashed with the same salt. A different salt produces different hashes. If you change a pipeline’s salt, new hashes don’t match the ones already in your destination.
Use hashing to keep referential integrity across tables without exposing the underlying data, such as email addresses or user IDs for analytics. Hashing isn’t available for Kafka destinations.
Encrypt certain columns
Encrypts the values of specified columns before writing them to the destination. Unlike hashing, encryption is reversible: decrypt the values later with the corresponding key. Primary key columns can’t be encrypted, and encryption isn’t available for Kafka destinations.
The pipeline needs an encryption key. Create one under Settings > Encryption & hashing, then select it as the Encryption key on the pipeline’s Destination tab. Artie supports two key types:
- Passphrase: Artie generates a secure passphrase for you.
- AWS KMS: bring your own KMS key, which Artie uses to generate a data encryption key (DEK).
Encrypt all JSONB columns
When enabled, Artie encrypts every JSON or JSONB column in the table before writing it to the destination. It uses the pipeline’s Encryption key, like Encrypt certain columns. The setting isn’t shown for MongoDB and DocumentDB sources or Kafka destinations.
Trim spaces from certain columns
Available for PostgreSQL, MySQL, PlanetScale, Microsoft SQL Server, Oracle, CockroachDB, Amazon Keyspaces, Snowflake, and ClickHouse sources. Select string columns whose leading and trailing whitespace Artie removes before writing them to the destination. Interior whitespace is preserved. Trimming isn’t available for Kafka destinations.
Trimming is applied to new streaming and backfill records only. It does not update rows already written to your destination. If a selected column is also hashed or encrypted, Artie trims it before applying that transformation.
Primary keys, primary-key overrides, and excluded columns cannot be selected for trimming. Do not use this setting for values where boundary whitespace is meaningful.
Compress certain columns
For PostgreSQL sources, compresses the values of specified columns with GZIP. Contact us to turn it on. Artie compresses the column values in-flight, which lets large values fit under Kafka’s maximum message size. The values are decompressed before writing to the destination, so the data arrives unchanged. This does not affect the column’s schema, data type, or stored values.
Use it for large text or JSON columns that otherwise exceed Kafka’s message size limit.
Advanced settings: deal_events table
Changes apply after you save and deploy the pipeline.
Column configuration
Override primary keys
Use this setting when a source table does not have a primary key but has an existing unique index that identifies each row. Enable Override primary keys and select the column or columns in that unique index.
For PostgreSQL sources, set the table’s replica identity to FULL on the source database before enabling the override:
ALTER TABLE public.orders REPLICA IDENTITY FULL;Artie uses the selected columns as the merge key in the destination. They must uniquely identify each row and remain included in replication. See Replicate PostgreSQL tables without primary keys for the full setup procedure.
Optimizations
These settings tune merges and backfills for large or busy tables.
Enable multi-step merge
Available for Snowflake, MotherDuck, and Iceberg destinations, for tables with very high write throughput. Multi-step merge loads several flushes into a staging table, then merges that staging table into the target table. It helps large tables whose merges are slow. Set the number of staging flushes in Intermediate flushes.
See Multi-step merge for a deeper look at this setting. To configure flush rules alongside it, see Tuning flush rules.
Use a merge predicate
Available for Snowflake and BigQuery destinations. Artie merges data into your destination based on your source table’s primary keys. If your destination table has an additional clustering or partitioning key, specify that column so Artie includes it in merge predicates. The destination then prunes data during merges, which reduces latency and cost.
If your Snowflake table has a cluster key, specify the clustered column. For example, if the table was clustered by created_at:
ALTER TABLE foo CLUSTER BY (TO_DATE(created_at))Specify the column the table is partitioned by, such as created_at, so Artie prunes partitions during merges. The column can be a date, a timestamp, or an integer.
For a date or timestamp column, also pick a Partition granularity: Hourly, Daily, Monthly or Yearly. It defaults to Daily, and Hourly is only offered for timestamp columns.
- New tables - Select a date or timestamp column before the table’s first sync. Artie creates the table partitioned on that column at the granularity you picked.
- Existing tables - The table must already be partitioned on the column you select. Set the granularity to match the table’s partitioning.
- Integer columns - The table must already be partitioned on the column in BigQuery.
See Enable BigQuery partitioning for a step-by-step guide on setting up partitioned tables.
Parallelize backfill using CTID
For PostgreSQL sources, this setting uses CTID-based scanning to parallelize backfills by physical row location. It suits tables over 10 billion rows, and append-only tables where rows are rarely updated or deleted. Artie recommends a read replica for backfills when you enable it. Chunk size defaults to 1M and Max parallelism to 10.
Backfill by ROWID ranges
For Oracle sources. Artie reads the table in ROWID ranges, in storage order, instead of paging by primary key. It’s faster for large tables whose rows aren’t stored in key order. It needs Oracle 19c or later and read access to V$DATABASE, DBA_EXTENTS and DBA_OBJECTS (see Oracle setup). Before 19c, or without that access, the backfill fails.
This checkbox is only on the pipeline’s Tables tab, not in the Choose tables step. To read every table this way, set Read method to ROWID ranges in Backfill settings. With it on, Artie still pages these tables by key:
- Index-organized, clustered, external and hybrid partitioned tables
- Tables with row movement enabled or Hybrid Columnar Compression
NOLOGGINGtables, unless the database hasFORCE LOGGINGon- Tables whose key columns are all nullable
- Every table, when backfills read from a standby
If DDL changes the table while Artie reads it, the backfill fails and needs a rerun. With a Kafka destination, Artie sends the rows again instead: by ROWID once more, then by key if the table changed again.
Enable partitioned-table backfill
For PostgreSQL sources. When enabled, Artie backfills each PostgreSQL child partition separately. To read primary-key ranges inside each partition in parallel, also turn on Split each partition into ranges. Turning it on clears the table’s range-based parallel backfill settings and hides Enable range-based parallel backfill.
Enable range-based parallel backfill
For PostgreSQL, MySQL, PlanetScale, Microsoft SQL Server, MongoDB, and DocumentDB sources. Artie splits the backfill into parallel chunks by primary key or a unique indexed column. For MongoDB and DocumentDB, it splits by _id and supports integer and ObjectID _id values.
| Field | Default | Allowed values |
|---|---|---|
| Rows per chunk | 5M | 100K, 500K, 1M, 5M, 10M, 20M |
| Max parallelism | 5 | 1, 3, 5, 10, 15, 20, 30, 40, 50, up to your account’s limit |
| Override backfill batch size (rows) | The source-level default | 1 to 50,000 |
Run this table on its own deployment
Use this for a table with very high throughput (1M+ changes per hour) that’s much busier than your other tables. The table runs on its own deployment with its own flush rules: Time elapsed, Batch size, and Changed records. This isn’t available for DynamoDB sources or Kafka destinations. Contact us if you don’t see this option.
Enable soft partitioning
Splits your data into time-based partition tables while maintaining a unified view. Use it for high-volume, time-series data where native database partitioning isn’t a fit. Contact us if you don’t see this option.
Artie creates monthly or daily partition tables, such as table_2025_08 or table_2025_08_22, and routes data based on a timestamp column. A unified view stitches all partitions together.
See the soft partitioning guide.

Was this page helpful?
- Need help? Message us on Slack or email [email protected].
- Want a walkthrough? Book a demo.
- LLM? Read llms.txt.