Keep data at its source with zero-copy federation when it changes often, is large, or must stay under the owner’s control. Copy it into Salesforce when users need stored history or central governance. Many programs use both, so write a placement rule for each object.
Zero-copy federation or replication: start with who owns the data
The first question is not technical. It is whether the record has to exist inside Salesforce at all. If the system of record sits elsewhere and the team needs to see it on a record page or in a related list, a virtualized connection fits well. Salesforce Connect exposes external data through OData or GraphQL, so users see the records without a stored copy. If the business needs the record edited under Salesforce security, or kept after the source system archives it, store the data in Salesforce.
Write down the owner for each object before going further. An object owned by finance and read by sales reps is a different case from one that sales creates and finance reads. Ownership decides who approves a change to the data model, who answers when a value looks wrong, and which side enforces access rules.
Check how far the source system can be called
Virtualization depends on the source answering queries within a reasonable time. Before committing, check whether the source exposes a standard protocol such as OData or GraphQL, and confirm the version on your release. Older OData adapters, earlier than 4.01, can run into callout limits. If the source cannot expose a standard protocol, a custom Apex adapter can still avoid replication, but the build and test effort rises and your team owns that code afterward.
Check whether the reader needs live values or a recent copy
Freshness is the second axis. A live query returns the value at the moment of the request, which suits a service agent looking at an order status. A cached copy that refreshes on a schedule suits a dashboard where a value a few hours old is acceptable. Change data capture sits at the far end, with the lowest latency and the highest compute and pipeline cost. Write the freshness requirement as a figure for each object, such as “within fifteen minutes” or “as of the start of the business day”. A vague requirement gets settled by whoever argues loudest in the design review.
When the answer is a full copy with a steady feed, the migration and cutover work is a separate project. The steps for moving records into Salesforce and keeping the feed running are covered in data migration and integration, and that work should be scoped before the pattern is locked.
Compare the four placement patterns
Once ownership and freshness are written down, the options reduce to a short list. Treat any cost or latency comparison as directional. Real numbers depend on data volume, query shape, and the license terms in force for your org.
- Ingestion (copy into Data 360 or Salesforce). Best for central governance, auditing, canonical data models, identity matching and regulated records. Freshness ranges from change data capture, through streaming micro-batches of one to three minutes, to batch loads.
- Live query. Gives the freshest value and stores nothing locally. Performance depends on the source, and cost climbs as queries per second rise. Push filters and aggregations down to the source so the platform does not scan large tables.
- Accelerated query (cached federation). Keeps a local cache that refreshes on a window between fifteen minutes and seven days. It reduces load on the source for data that is read often and changes slowly. It does not suit decisions that need sub-second accuracy. Incremental refresh does not remove deleted records, so schedule a periodic full refresh as well.
- File federation. Read-only access to files in object storage that use open table formats. It suits large analytics and model training datasets. There is no freshness guarantee, and performance depends on partitioning and file format.
Many real environments combine these. Ingest the records that carry business rules and the audit trail, and federate the volatile, high-volume or exploratory data. Where a dataset is read often but changes rarely, a cache can cost less than repeated live queries. Where data changes often compared with how often it is read, a live query or ingestion makes more sense.
Set governance rules before you pick a pattern
Federation moves enforcement to the source. Row-level security and field masking have to be configured in the source system, and that configuration decides what a user sees through Salesforce. Test this with a user from each role, not with an administrator alone.
Ingested data carries its own rules. Once a copy exists in Salesforce or Data 360, the platform’s governance, lineage and auditing apply to it, and someone must decide how long the copy lives after the source deletes a record. Write that decision into the design. A deleted source record can otherwise survive in the copy.
Identity is the other thread. Consistent user identifiers across systems make it possible to apply one policy in both places. Without them, a person can be matched to two different records in two systems, and the access they see depends on which system answers first. Settle on one enterprise identifier before the first integration goes live. Duplicate and mismatched identifiers are often a data quality problem first, as covered in Salesforce data quality and migration.
A step-by-step path for placing each object
- List the objects in scope. Include objects that users read or write in Salesforce.
- Record the owner and the approved readers. Name the team that answers for the data and the roles that need to see it.
- Write the freshness requirement as a time. Use a figure such as “within five minutes”, “daily” or “as of month end”. Avoid “real time” unless someone can define what it must include.
- Check the source’s protocol and query limits. Confirm whether the source exposes OData or GraphQL, the version, and how it handles filter and paging requests.
- Choose the pattern and write the reason. Pick ingestion, live query, accelerated query or file federation, and state the one condition that would change the choice.
- Test the access model with real roles. Run each role against the source, the Salesforce view and any related list, and record the results.
- Set the retention and deletion rule. Decide what happens to a copy when the source deletes or archives the record.
For help planning this work, see Salesforce implementation.
Checks before the design reaches build
Run three checks before the design goes into a build backlog. First, count the records a typical user will load on one page. A federated list that returns a large number of rows can run slowly even when each row is quick to fetch, so limit the page size and push filters to the source. Second, measure the query rate at peak. Live queries add load to the source, and their cost rises with query volume, so a dashboard that refreshes a few seconds apart across a large user base can cost far more than a nightly batch. Third, confirm that the source team can support the load. A source database that already handles reporting traffic may not tolerate a new stream of interactive reads.
Write the results next to the design. A short record of each object, its pattern, its freshness target and the access test result is enough for the next person to understand why the choice was made. If the source is ServiceNow, the field ownership questions are covered in Salesforce and ServiceNow integration boundaries, and those should be settled before the pattern is written down.
Questions about federation, caching and cost
Can a federated object appear in reports and list views?
Federated records can appear in list views and record pages through external objects, but they behave differently from stored records. Run a test report at realistic volume before promising a dashboard to a business owner.
How do I choose a cache window for accelerated query?
Start from the slowest change in the business process, not the fastest. If a customer tier changes once a quarter, a daily refresh is enough. A stock level that moves through the day needs a shorter window or a live query. Remember that the refresh does not remove deleted source records, so a periodic full refresh belongs in the schedule alongside the incremental one.
Does federation reduce the license or storage cost?
Federation avoids storing a copy, so Salesforce storage grows more slowly. It does not remove cost elsewhere. Live queries add load to the source and can add query charges, and some connection types need an additional license. Price the design as a whole, including the source team’s time, before comparing the two approaches.
What happens when the source system is unavailable?
A live query has nothing stored locally to fall back on, so the page is no more available than the source. A cached value can still display during an outage, so show the last refresh time on any record that comes from a cache, and users can judge whether the value is current.
Can a team move from federation to ingestion later?
Yes. Start with a live query while volume is small, measure the query rate, and move the object to ingestion once cost or latency crosses the threshold set in the design. Keep field names and the access model stable through the move, so reports and page layouts do not need rebuilding.
More in this section
- Salesforce Integration Architecture with Clear Ownership
- Choosing Synchronous, Asynchronous, or Batch Integration Patterns
- Event Relays to AWS EventBridge: Deciding Whether the Route Fits
- Named Credentials Planning for Callouts Across Sandboxes
- Moving From Streaming API to Pub/Sub API for Event Subscriptions