File federation in Data 360 lets you query large historical datasets stored in cloud object storage, without copying those files into the platform. It fits batch-heavy analytics, historical reporting and AI model training over large volumes. Governed core records usually still need ingestion.
What File Federation does inside Data 360
File Federation lets Data 360 query files that already live in your cloud storage. The data stays where it is, so you avoid paying to copy years of history into the platform and then keeping that copy current. Columnar files such as Parquet or ORC are the usual format for these folders, because a query engine can read only the columns a question needs.
The trade-off is ownership of timing. Federated data is only as current as the process that writes the files to storage. Settle that process before anyone builds a report on top of it, and write down who runs it, how often it runs and what happens when it fails.
Workloads that suit file federation
Federation earns its place where the questions are large and the answers do not need to be current to the minute. The patterns below fit many estates. The common failure is choosing federation for a workload that needs a record to change the moment someone edits it in a Salesforce org, because the files will lag behind that edit.
- Historical analytics over several years of transactions, where the trend matters more than the latest update.
- Scheduled batch jobs that scan large volumes, such as monthly cohort builds.
- Training and evaluation datasets for machine learning models, where the team reads large extracts again and again and rarely edits them in place.
- Reporting over very large sources, where copying the data would cost more than the questions it answers are worth.
Why file layout changes the cost of a query
Query cost in a federated model follows how much data the engine has to read. Columnar formats such as Parquet or ORC let an engine skip columns and blocks that a filter rules out, so files sized sensibly and partitioned by the fields your filters rely on typically cost less to read. A folder of many small, poorly partitioned files can cost more to query than a well-organized folder holding the same rows. Before blaming the platform for a slow dashboard, check how the files were written. If the historical extracts come from a legacy platform, the data migration and integration plan should settle the file format, the keys and the partitioning before anything is federated.
When ingestion remains the better choice
Ingestion copies records into Data 360, where they can be governed and transformed alongside the rest of your core data. That matters for data people act on, audit or join to identity. Customer identity, consent records and regulated fields usually belong here, because you need to know exactly which version of a record a segment or report used. The identity design for that governed core usually sits inside your wider Salesforce integration architecture, so review the two together.
Ingestion cost also depends on timing. Real-time change capture is usually the costliest pattern, and batch loads on an hourly, daily or weekly schedule usually cost the least. Pick the slowest timing that still meets the business need. Teams often start with real-time sync for each feed and later find that many of those feeds would have been fine with a daily load. Changing the timing later is cheap compared with rebuilding the reports that depended on the faster feed.
Building a hybrid model step by step
A hybrid model ingests the records that need governance and federates the bulk history that needs scale. The hard part is the boundary between the two, so design that boundary first. Work through the steps in order and review each output before moving on.
- List each dataset in scope and tag it by how it will be used: operational lookup, segmentation, reporting or model training.
- Mark the fields that need lineage, consent or identity resolution. Those fields go through ingestion.
- Place the remaining large, slowly changing history in object storage, and decide the file format and partition keys.
- Set a refresh timing for each federated source and record it next to the dashboard or segment that reads it.
- Define how a federated table joins to an ingested record, and test that join with a sample of real keys.
- Where federated data is read often and changes rarely, keep a copy in the platform and write down when that copy is refreshed and who checks that the refresh ran.
Joining ingested and federated data
The join is where hybrid designs usually break. Federated files usually carry the source system’s own identifiers, while ingested records may carry identifiers generated during ingestion. Map the two sets of keys in a reference table, then test the join on a sample from each side. Expect some unmatched rows on the first pass. Those rows usually point to records created after the last ingestion run, which is a timing problem rather than a modeling one. Identifier mismatches that trace back to duplicate or inconsistent source records are better fixed upstream, through the cleanup covered in Salesforce data quality and migration, than patched inside the join.
Checks before you commit to a design
Run these checks against your own org and release before anyone builds reports on federated tables. Settings and limits change between releases, so treat each point as a question to answer for your environment rather than a settled value. Agreeing the order in which sources are brought in belongs in your strategy and roadmap plan, so settle that before the first build starts.
- Confirm the storage bucket or container sits in the same cloud region as the Data 360 environment, because cross-region reads often add cost and latency.
- Enforce row-level security and data masking at the source wherever you can, and document any rule you cannot enforce there.
- Map each user to one enterprise identity, and standardize the attributes that drive access across sources.
- Measure the query load your dashboards generate at peak, since live queries can become expensive when many users run them at the same moment.
- Name an owner for each federated source, covering the write job, the storage location and the access rules.
Cost and performance levers to review
Three levers account for much of the difference between a federated model that runs well and one that drains budget. Each is a design decision, so make it on paper before the first dashboard goes live.
The first is file layout. Columnar formats with sensible partitioning let queries read just the columns and rows they need. The second is refresh timing. A dashboard that updates once a day does not need live reads against the bucket, and a copy held in the platform can often serve the same answer at a lower query cost. The third is location. Keeping storage and the Data 360 environment close together avoids paying for data movement that the business does not need.
Where one table serves both a daily report and a live operational screen, split it in two. The operational screen usually needs the ingested record, while the report usually tolerates the federated history. Reviewing these three levers together each quarter catches cost drift early, before a new dashboard quietly doubles the query volume on a source nobody was watching. For help planning this work, see Salesforce implementation.
Questions about file federation design choices
Can a segment rely on federated files alone?
Some analytical segments can, particularly ones built from behavioral history. A segment that must match people across systems usually needs ingested data for the identity fields, because federated files may not carry the resolved identifiers. Test the segment on a sample of known people before you publish it to an activation, and compare the count against a figure you already trust.
How often should a federated source refresh?
Match the refresh to the decision the data supports. A monthly model training set can refresh monthly, while a sales view that managers check each morning needs a daily load. Confirm the write job’s schedule, and set an alert for failed runs so a stale source does not go unnoticed for a week.
Is file federation suitable for decisions that must happen in seconds?
No. Reads over files are generally a poor fit for responses that must land within a fraction of a second, because they scan data rather than fetch a single record. Keep those decisions on ingested data or on a live integration path, and use federation for the analysis that sits behind them.
How should a schema change in the source files be handled?
Treat a schema change as a release. Version the table definition, rerun the joins against your test sample, and tell the owners of each report before the new columns reach production. Skipping that notice is a common reason a working dashboard starts returning blank fields without warning.