“”

Blog Posts

When Should You Choose GRAX Rather Than Openflow, Lakeflow, Fivetran, or a Custom CDC Pipeline?

Pick GRAX when you need Salesforce backup and recovery capabilities with captured history reuse in the same platform. If ingestion’s your priority, Openflow, Lakeflow Connect, and Fivetran might be a better fit. A custom CDC pipeline fits specialized event processing needs when your team can actually own it. Capture, retention, and recovery should be compared separately.

Salesforce data pipelines begin with a straightforward objective: to get your data into Snowflake or Databricks. But, as you’ll discover, someone might come asking what a field value last quarter was or how to correct a bad bulk update – and that’s when the requirements shift. Keep in mind that getting data into a warehouse and putting records back into Salesforce are two separate jobs.

This article compares five options within the scope of each vendor’s documents: 

  • Openflow connector for Salesforce Bulk API;
  • Lakeflow Connect Salesforce connector;
  • Fivetran Salesforce connector in whichever sync mode you configure;
  • GRAX Backup, Data Lake, and Restore as separately documented features;
  • A custom change data capture (CDC) consumer created using Salesforce’s Pub/Sub API with a baseline load that’s entirely its own.

Are you choosing an ingestion connector, a recovery system, or both?

Begin by choosing the outcome you need, as ingestion and recovery are very different by nature. A connector gets your Salesforce data into a destination. A recovery system brings data back into Salesforce. As such, some projects need only ingestion, while others could require both.

Analytics need current data and sometimes older versions of it to work off of. Your records are written back into Salesforce during recovery, and a table of historic values won’t tell you how to do that safely.

Consider the table below as a shortlist based on each product’s documented scope; no ranking is implied here.

RequirementOption to evaluateCondition to confirm
Replicate Salesforce into an established Snowflake environmentOpenflow Salesforce Bulk API connectorObject and field support; refresh and history settings you plan to use
Run Salesforce-to-Databricks ingestion in an established environmentDatabricks Lakeflow ConnectUnity Catalog and serverless prerequisites; source-specific limitations
Use one managed ingestion service across many sourcesFivetran Salesforce connectorSync mode; deployment and destination support
Restore records from Salesforce backups and reuse captured Salesforce history in analyticsGRAXCaptured coverage, the restore workflow for your scenario, Data Lake entitlement and downstream work
Build specialized event routing or processingCustom Salesforce CDC pipelineYour team owns the baseline load, durable event storage, reconciliation, and operations

CDC, Salesforce’s Change Data Capture, publishes record changes as events that subscribers can read using the Pub/Sub application programming interface (API), a service built for event streams.

Certain businesses could even run GRAX alongside an existing connector, so we’re covering this use case in the last section, along with the explanation of how to divide ownership between the two.

Ingestion Isn’t Recovery

Back up, restore, and reuse Salesforce history in one platform.

Learn More

How much Salesforce history does each option retain?

Before relying on historical Salesforce data, compare what each option captured and when capture began. A “history” label could apply to old records loaded daily, versions observed over time, source change events, or retained backups. All four of these would answer different questions. 

How does Openflow handle Salesforce history?

Openflow only keeps history when you turn on journal tables, which are off by default. With this setting being turned on:

  • Every synced object with a SystemModstamp or LastModifiedDate field gets a JOURNAL_ table alongside the main table, storing the observable changes in said tables.
  • A full reload of an object also recreates that object’s journal, making it important for retention plans to treat a reload as an event capable of resetting it.

The behavior of an Openflow journal-table is described as offering “a full history of modifications.” Incremental loads select changed records by timestamp, so the journal reflects the changes the connector observes, which could be different from every change event Salesforce emits.

How does Lakeflow Connect handle Salesforce history?

Databricks’ AWS documentation lists SCD (slowly changing dimension) Type 2 support for Salesforce in the Lakeflow Connect feature matrix, but history tracking through SCD itself is off by default. In the default mode (SCD Type 1), the pipeline overwrites a row every time the source record changes. With SCD Type 2 turned on, the old row is kept and marked inactive, while the new row gets added as an update.

Let’s say that there’s an account named Account 001, and it changes its Industry field from Retail to Software. What gets recorded in different modes for this same event would differ:

ModeRows in the destination after the change
SCD Type 1One row: Software
SCD Type 2Two rows: Retail (inactive) and Software (current)

The connector detects changes via a cursor column (SystemModstamp) when it can. Data versions recorded this way follow what each pipeline run observes. That’s not always the same as looking at every change event in Salesforce.

How does Fivetran handle Salesforce history?

Fivetran’s Salesforce connector has a history mode that can be turned on for specific tables. It writes a new row for every single change it observes. Each row carries both _fivetran_start and _fivetran_end columns, allowing users to query a point in time when needed.

There are two separate boundaries that apply here. The first one is the fact that Fivetran documents that intermediate values between syncs could be missed in this source. The second one comes from the history mode only offering its guarantees whenever you enable the mode in question. As such, remember to double-check the Fivetran history-mode limitations page before relying on it for audit-related questions.

How does GRAX retain Salesforce history?

GRAX Data Lake exports the record versions already captured by GRAX Backup, so the export can only cover the period Backup was originally capturing. Those records are written to your storage bucket as Parquet files (Apache Parquet, a free and open-source column-oriented format of data storage).

The first backup can load your current records and their available values. It can’t recreate the past states that weren’t originally retained. Because Backup only captures data changes periodically, a value that changed and then changed again in-between scans can only surface as a single version.

Export is a separate step. You might notice that turning Data Lake on for an object later backfills the versions already held by Backup. As such, pausing an object’s export delays when its files appear without necessarily destroying captured history. If you manage to find a date with no files, that just means the export was paused at the time of capture; it doesn’t necessarily mean that Backup missed that date.

How does a custom CDC pipeline retain history?

There are two retention layers in a custom pipeline. Only one of them belongs to Salesforce, as it keeps change events available for 72 hours, according to its Pub/Sub API durability guide. Any data beyond that would only remain if your own consumer wrote it to a durable storage of sorts. As such, the length of your history depends on what you build and how reliable it is. Since the events only cover recent changes, existing records would need a separate baseline load to work with.

How do the five options compare on history?

The table puts the five options covered above side by side, with the main boundary worth planning around covered in the last column. Each row aims to summarize the section above it.

OptionWhat it retainsWhen history beginsMain boundary
OpenflowChanges the connector observed, in optional journal tablesWhen journal tables are enabledA full reload recreates the journal
Lakeflow ConnectRow versions, when SCD Type 2 is switched onWhen history tracking is enabledChanges are found through a cursor column, SystemModstamp, when available
FivetranRow versions for the tables you chooseWhen history mode is enabledIntermediate values between syncs can be missed
GRAXVersions that Backup captured, exported as ParquetWhen Backup began capturingLimited to retained Backup versions; periodic capture can miss intermediate states
Custom CDCChange events, plus whatever your own store keepsWhen your consumer starts storing eventsSalesforce only guarantees 72 hours’ worth of events

Your Salesforce History as Parquet

GRAX Data Lake writes captured versions to your own bucket.

Watch Demo

What happens when a record changes twice, or a CDC consumer stops?

What exactly you can reconstruct differs depending on how changes are captured and where they are durably retained. Popping could miss intermediate values; CDC consumers could also leave gaps if they are stopped before events reach durable storage.

What does a poll miss when a record changes twice?

The illustrative examples below are created to showcase that dependency more clearly, but no product testing or latency measurement was done for those.

A poll is a scheduled request to receive a record’s current state; it can only see the value in place when it actually runs. The example below follows a certain record’s Amount field:

TimeAmount in SalesforceA poll recordsAn event subscriber records
09:00100100 (already captured)100 (already captured)
09:02Changes to 120NothingEvent with 120
09:04Changes to 140NothingEvent with 140
09:05140140Nothing new

The poll ends up with 100 and then 140, while the value 120 is not captured. Any design observing Salesforce on a schedule could behave this way. Fivetran documents missed intermediate values between syncs for its Salesforce connector, and GRAX Backup’s periodic capture capability works in a similar manner.

A design that was originally event-driven handles this differently. Salesforce publishes an event for each change, so a consumer that sees those events would notice both 120 and 140, even though that would require an object supporting change data capture and a consumer saving every event they receive. 

Assuming exactly-once delivery for all events is simply wrong and can bring in a variety of issues across the board. But if you keep a record of which events were already handled by the consumer, you can avoid duplicates and make sure that system restarts would continue from the right place.

What if the consumer is down for 96 hours?

Salesforce can only guarantee event storage for 72 hours. A consumer that stays offline for longer than three days can no longer count on anything past that mark to be recorded. In the example we use for this section, this would mean 24 whole hours of the backlog (the oldest ones) aren’t guaranteed by Salesforce anymore.

Depending on the outage type, different recovery methods might be needed:

  • A consumer being down before events reach your durable storage would mean that everything past the set timeframe is no longer guaranteed, so recovery would mean reconciling against the current state.
  • You can still try to replay data from your own store if your warehouse or a downstream job went down after storing the events; this covers whatever Salesforce still stores, as well.

Attempting to reconcile or reload the current state can only restore today’s values. It won’t work against transitions that fell outside the timeframe. These 24 hours are the arithmetic working against Salesforce’s guarantee; the real outage cost varies depending on what was processed and stored in the database before the issues appeared.

When do recovery and archiving make GRAX the stronger fit?

Try GRAX if your projects require an audit trail back into Salesforce and a little bit of analytical reuse. GRAX could use two of its tools for these purposes: Restore and Archive. Restore supports recovery. Archive is only relevant when the records need to leave Salesforce but remain accessible in GRAX.

What does restoring require beyond a queryable old value?

GRAX has two documented restore workflows. The first one updates selected records to an earlier backed-up state (down to individual fields), and the second one restores deleted records back into Salesforce. These workflows behave differently from each other.

A point-in-time update applies to records that are currently live, skipping archived or deleted ones. Restoring an archived record creates a completely new one with a fresh Salesforce ID, leading to GRAX resorting to the create command instead.

An old value in a warehouse table would still be only one input to either workflow. Salesforce could still reject incoming data by itself due to restricted picklist values or required fields, so make sure your restore plan accounts for the rules of your own org, among other factors.

Which scenarios favor GRAX?

Our first scenario would be an overwritten field, with a process wrongly updating one field across many records, but users have since made a number of legitimate edits to some of those records. GRAX describes point-in-time restore as a useful feature when a process has been updating data incorrectly while users keep working with the same records – the exact use case for our scenario. With that in mind, GRAX allows users to choose which fields to restore. The workflow even includes a preview of the data to be restored, making it possible to review what kinds of data a restore would actually overwrite. But first, confirm that captured history covers the field you need, as GRAX Data Vault can hold a record without holding the values of every field you want to be restored.

Archiving would be our second scenario. GRAX Archive deletes records from Salesforce, and Backup must be enabled ahead of time. Archived records remain accessible in GRAX and can also be restored into Salesforce, subject to captured coverage and the applicable restore workflow. Make sure to plan the deletion process properly, remembering that Salesforce’s cascade delete and trigger automation are prone to removing more data than expected when left unchecked. Only master-detail children are deleted with their parent by default, and lookup children will depend on how the relationship is configured.

Archives are run as the GRAX integration user, so this user must have delete permissions in Salesforce (Modify All Data, typically). Read more about these procedures in the GRAX Restore documentation and the GRAX Archive documentation.

When is GRAX the wrong choice?

The ingestion documentation we went over for three separate connectors before does not establish an equivalent Salesforce recovery workflow. A team could still build a restore process on top of its warehouse data or purchase a separate recovery product, and either option will belong in the comparison.

Choosing GRAX is less than sensible in two cases:

  • The ingestion and recovery capabilities are already meeting the requirements you have, so adding GRAX would offer no benefit you can reasonably justify.
  • A dedicated event workflow is your primary need, and GRAX has no documented capture behavior to confirm or deny its capabilities in this field.

In both cases, testing the potential scenario in your own environment would be a better choice before deciding on what to go for. Read more in the GRAX Restore documentation and the GRAX Archive documentation.

Undo a Bad Bulk Update

Restore only the fields a bad update touched.

Learn More

What schema, deletion, and file behavior must you check?

Evaluate all options against the actual Salesforce objects and the downstream contract you have. A general claim of automatic schema handling capabilities isn’t particularly useful to most companies.

Try to find out what happens to:

  • A newly added field.
  • A renamed field.
  • A changed field type.
  • A deleted record.
  • A file shared between records.

Keep in mind that source access controls won’t necessarily become warehouse row-level permissions just by the virtue of existing, so ask about where a privacy deletion would propagate.

How do Openflow and Lakeflow Connect handle schema changes and deletions?

Whenever you rename a Salesforce field, Openflow treats it as one removal plus one addition. What happens to the removed column is controlled by its Column Removal Strategy setting, including renaming it with a suffix such as __deleted. 

Deleted Salesforce records will have an isDeleted flag; There’s no support for hard delete, either. Therefore, you need to delete the rows yourself or run a full refresh of the destination table. The connector could also miss deletions that were deleted from Salesforce’s recycle bin while the connector is paused or stopped.

The overview and configuration pages of Openflow deal with file handling in different ways; check the configuration documentation to learn which one fits you better. As for the Lakeflow Connect, the documentation defines certain constrations with which the connector complies:

Openflow’s overview and configuration pages approach file handling differently, so make sure to check the configuration documentation for your exact attachment and blob requirements.

For Lakeflow Connect, the documentation sets certain boundaries the connector follows:

  1. The feature matrix lists automated schema evolution for new, deleted, and renamed columns but doesn’t do the same for data type changes.
  2. A column you choose after the pipeline has started won’t be backfilled automatically; Databricks asks you to run a full refresh for backfill purposes; don’t assume this can recreate previously uncaptured field versions.
  3. Salesforce base64 fields are left out of the destination schema.
  4. Formula fields are snapshotted on each run by default due to the fact that Salesforce doesn’t update the cursor column whenever a formula’s output changes. There’s also an optional Beta ingestion path with its own limitations attached, like no SCD Type 2 support in its final materialized view.
  5. A deleted source table isn’t removed from the destination automatically.

How does Fivetran handle deletes and Salesforce Files?

Fivetran doesn’t support every type of Salesforce object in existence. Make sure to check your object inventory against the connector’s unsupported-object list before automatically assuming it offers complete coverage.

Fivetran only captures deletes for objects it can replicate, and you can find those in the is_deleted or _fivetran_deleted columns. It reads soft-deleted records from Salesforce’s get-deleted endpoint, and Fivetran can no longer capture the deletion once a record gets purged after staying in the recycle bin for 15 days. A re-sync might reconcile the destination and the current state of Salesforce, but it doesn’t recover the former values of purged records.

Field history objects would be an exception here, as their deletes aren’t captured, while OpportunityLineItem records skip the recycle bin completely, meaning Fivetran re-imports that object to catch deletes properly. 

Files in Salesforce Files, living in ContentVersion, can be synchronized using a separate feature that’s labeled as BETA in Fivetran documentation. It limits itself to the latest file version and has no support for Hybrid Deployment (as of November 2026). We recommend double-checking the connector’s conditions before trying to enable this feature.

What does GRAX Data Lake leave to your downstream design?

Data Lake output requires rules in whatever consumes it:

  • Rows could be shown out of order; grax__idseq, which is a per-Id value that increases with record changes, gives you the correct order.
  • A file’s Parquet schema might include fields holding no data at all, while typed fields can vary or clash over time.
  • Duplicate rows can appear from time to time; Id with MAX (grax__idseq) offers the latest write of a record’s latest version, and adding source__modified provides the latest write of each version.
  • Record versions that were deleted before enabling Data Lake carry their own grax__deleted value.
  • Deleting an object’s configuration leaves already written files in place until they’re removed manually; this matters for privacy reasons. Excluding a field affects future writes in a similar manner and doesn’t erase earlier exports.

What does a custom CDC pipeline leave to your team?

A custom pipeline leaves a lot of configuration to your engineers. Schema discovery would be a good example to showcase it: each change event has a schema ID, and that ID changes whenever a field is added or the type of a field changes. As a result, your consumer has to fetch the new schema and store it to be used later on. 

Delete reconciliation, source ID mappings, file retrieval, and replay-safe processing would be all yours to build; Change Data Capture doesn’t provide those out-of-the-box.

What implementation work and total cost will your team own?

Compare the annual cost of meeting the same capture, history, and recovery requirements. Include product charges, infrastructure, downstream processing, operating labor, implementation, and also any separate recovery-related capabilities.

There are some values that have to remain constant across connectors: objects and files you need, their change rate, the history period, and your recovery needs. With that data, you can compare destinations, access controls, failure recovery, and support ownership against the same baseline.

What does each option make your team set up?

  • Openflow requires a Salesforce external client app alongside a Snowflake database, schema role, warehouse and service users, and the connector configuration inside an Openflow runtime.
  • Lakeflow Connect asks for a Unity Catalog workspace with serverless compute enabled; it also wants a Salesforce user with API access to the to-be-ingested objects, a properly privileged connection, and a writable destination schema.
  • The list of things Fivetran requires includes the connector, source, and destination all being set up, as well as the history and deployment settings of a user’s choice. The Hybrid Deployment feature requires an Enterprise or Business Critical plan.
  • A dedicated Salesforce integration user, a connection to Salesforce, and a storage connection are all needed for GRAX, alongside the platform that consumes the data, plus your recovery configuration. The Backup feature being turned on and the objects being enabled for Data Lake are also necessary.
  • A custom pipeline requires a baseline load, an event consumer, checkpointing, a durable store, reconciliation, monitoring, and on-call ownership.

Each option adds different line items to its price. Openflow brings runtime, ingestion, warehouse and storage charges, transformations, and operations. Lakeflow Connect counts charges for ingestion, compute, storage, and downstream processing. Fivetran relies heavily on your current contract and usage, history included, as well as destination costs and separate recovery services. GRAX brings its package, cloud resources, downstream processing, and administration. And finally, developing a custom pipeline would include the cost of all the build, run, and maintenance effort, infrastructure and incident response, and would also fluctuate due to the availability of different APIs it connects to. 

How do you calculate comparable annual cost?

All options can be calculated with the same formula:

Annual comparable cost = product or service charges + infrastructure + downstream processing + operating labor + annualized implementation + any separate protection or recovery you still need.

If you want to spread implementation costs over the period of several years, state the period of your choice ahead of time. Make sure to price the added cost of an existing customer separately from a new deployment, as they begin from different baselines. 

Consult current terms of each vendor before reusing assumptions for different options. For example, Fivetran’s pricing is based on monthly active rows (MAR), and with a history mode turned on, every single change to a record would create a new row and can count toward MAR. 

This could lead to some estimates that were built specifically for standard functioning to understate the new bill in this situation. Pricing rules also vary from one contract to another, so check the ones that will apply to you.

What should you validate before choosing?

There’s a certain order to actions you should take as part of your validation process. The process itself includes:

  1. Define your requirements for capture and recovery, along with how much history you want to keep.
  2. List all the objects and files that you require.
  3. Map each option’s documented behavior to the list of objects you created.
  4. Decide the person owning the downstream tables and the one responsible for handling incidents.
  5. Acquire vendor quotes, making sure they cover the same scope you defined ahead of time.
  6. Validate the design you’ve chosen within the constraints of your own environment before committing to a specific option.

Should GRAX replace your connector or work alongside it?

Replacing your connector with GRAX makes sense only in situations when the platform actually meets the full ingestion requirements of your company. If the connector is still doing useful work but GRAX can also offer a justifiable recovery or history role, they can be used alongside each other.

History as a feature isn’t unique to GRAX, and a stored version doesn’t turn into a restore workflow automatically. Your best bet in most cases would be to find the smallest architecture that meets your current requirements.

If we assume you’re deploying GRAX alongside a connector, there’s plenty of work to do for them both to operate as intended. For starters, take notes on the systems that work with analytical tables, recovery, retention, and deletions. Being aware of these features could help you separate the connector’s capabilities from GRAX’s, keeping the tools from attempting to perform the same duty twice or begin contradicting each other. Actions like deletion also have to be carried out in every system that holds the data, implying at least some degree of coordination between the cohabiting solutions.

Ask GRAX to review your object inventory, the history you need, your recovery scenario, and your destination architecture. The GRAX package and deployment discussion is a good place to start. For the Snowflake side of the conversation, you can also learn more about that in a dedicated article about Salesforce-to-Snowflake integration options.

Map Your Salesforce Architecture

Have GRAX review your objects, history, and recovery needs.

Learn More
See all

Join the best
with GRAX Enterprise.

Be among the smartest companies in the world.