Resources /
Blog

Salesforce Historical Data Storage: Where Old Records Should Live

Submit your details to get a book

9
Min Read
Resources /
Blog

Salesforce Historical Data Storage: Where Old Records Should Live

Download

Submit your details to get a book

9
Min Read
Database on a glowing pad linked to archive and chart tiles, illustrating Salesforce historical data storage
Database on a glowing pad linked to archive and chart tiles, illustrating Salesforce historical data storage

Salesforce historical data storage comes down to where records sit once nobody touches them daily. Think closed cases, old opportunities, email messages, activity logs and field history.

You can keep them on the platform in big objects or Field Audit Trail, or show them from outside through external objects. You can also move them off the platform.

For admins and architects, our posts on storage limits and storage costs cover your data and file storage allocations and what buying more involves. This one sorts inactive historical data by age and how often it's read.

Where should historical data live, by age and access need?

Start with two questions for each object: how old is the historical data, and how often is it accessed?

The table maps the common answers to a storage pattern, and the sections after it explain each one.

Data age and access needTypical recordsWhere it should liveWhy
Current, read or edited dailyOpen cases, open opportunities, active accountsStandard and custom Salesforce objectsFlows, validation rules, triggers, reports and sharing all work
Recently closed, read now and thenLast year's closed cases, won deals and email messagesStandard objects, or an archive with in-place lookupUsers still need context from the record page
Years old, read for audits or rare lookupsClosed cases and contracts kept for retention rulesExternal objects over an archive, or an off-platform archiveFrees Salesforce data storage but stays reachable
High-volume history, read in bulkEvent logs, transaction history, usage dataBig objectsBuilt for millions to billions of rows inside Salesforce
Field changes older than about 18 monthsWho changed an amount or status, and whenField Audit TrailLong-term retention of field history past the standard window
Past its retention period, no legal holdAnything your policy no longer requiresDelete, after a tested backupInactive records stored past retention cost storage and add risk

Salesforce doesn't set those age bands. They come from your organization's own retention policy and whatever legal obligations or regulatory requirements sit behind it.

Write the data retention period, the owner and the reason for each object first. Then place it with the table; our data archiving policy guide walks through that.

Our post on data archival suggests starting from the Storage Usage page in Setup to find the objects using the most data storage.

What does storing old records in Salesforce storage look like?

On-platform storage keeps historical records inside Salesforce. Platform security and the familiar APIs still apply.

The two tools here are big objects for whole records and Field Audit Trail for field-level change history.

Big objects

Big objects give consistent performance for a billion records or more. Salesforce's comparison puts standard and custom objects at fewer than 20 million records per object, big objects at billions.

They get their own allocation of 1 million records per org on most Salesforce editions. It's separate from Salesforce data storage, and Salesforce can raise it.

Everything hangs on the index. It's the record's composite primary key, holding up to five required custom fields, and once deployed it can't be edited or deleted.

SOQL filters only on index fields. It also has to follow the order you defined them in, so put the field you filter on most often first.

Big objects trade features for scale, since triggers, flows and processes don't run on them and only object and field permissions apply. To see them, users need custom Lightning or Visualforce components.

Reporting takes planning too. Salesforce suggests using Batch Apex to filter a smaller subset into a secondary big object or a custom object.

Field Audit Trail

Standard field history tracking covers up to 20 fields per object for about 18 months. Field Audit Trail, sold with Salesforce Shield or as its own license, raises that to 200 fields, kept until you delete it.

Older history gets copied into the FieldHistoryArchive big object. Neither field history nor that archive counts against your data storage limits.

Retention policy is set per object, and only through the Metadata API, with the RetainFieldHistory permission. Queries have to filter on FieldHistoryType, then ParentId, then CreatedDate, in that order.

Reach for Field Audit Trail for "who changed what, and when," and big objects for whole records. Neither one restores data, so both sit alongside backup, covered in our data backup and recovery planning guide.

When do external objects make sense for old records?

Salesforce Connect leaves data where it is, in another system, and shows it as external objects. Salesforce suggests it when you'd rather avoid copying lots of data into the org.

The same guidance covers small reads and live data. External objects can be built with clicks over an OData 2.0 or 4.0 adapter, or in code with the Apex Connector Framework.

The rows are stored in the source system, outside your Salesforce data storage. Every read goes back there, so its uptime and speed shape what users see.

Some features don't carry over. Sharing rules don't work with Salesforce Connect, and external objects don't support record types, required or read-only fields, or record-change flows.

Where virtualized access fits

External objects are a good fit for three jobs. The first is long-term retention for compliance requirements, with closed cases sitting in cheap storage for years, outside the storage costs our pricing post breaks down.

Second is the occasional lookup, say a rep checking a dormant customer account from a related list. Third is reading ERP transaction history without copying millions of records in.

Label archive data clearly, add report types, and monitor API usage and response times. If either one climbs, bring a small, often-read subset back in with Data Migrator.

What does off-platform data archiving involve?

Off-platform archiving moves old cases, transactions or object histories into storage you run, and brings records back on demand. It frees the most Salesforce storage, and it also needs the most building and governance.

Records in standard and custom objects count against data storage, while attachments, Chatter files and Salesforce Files count against Salesforce file storage. Both have separate storage limits, and data archiving can cut data storage and file storage usage in each.

Getting historical data out

Use Bulk API 2.0 for large archive backfills. Our API limits post recommends it past 2,000 records, and since those calls draw on the same daily API pool as your integrations, data archiving jobs belong off-hours.

For small, infrequent pulls, the built-in Data Export is the simple option. It runs weekly at most on Enterprise, Performance and Unlimited editions.

Automate the download. Export files disappear 48 hours after the email goes out, and our export guide covers the steps.

Archives usually land in cloud storage on AWS, Azure or Google Cloud, or in a data warehouse next to finance data. Our archiving solutions comparison covers purpose-built tools for the whole cycle.

What you take on: security and compliance

Once data leaves Salesforce, its security is on you. The archive needs its own encryption, access controls and audit log, and its compliance becomes your team's job too.

Schemas drift as well. A field added in Salesforce next year won't show up in last year's archive unless someone maps it.

Test restores at least quarterly, which is the cadence our data archival post suggests. Practice how you retrieve archived records with relationships intact, then reconcile record counts after every run.

How do the three data storage patterns compare?

Once table 1 narrows things down, run the finalists past these criteria. Drop any pattern that fails a must-have requirement; a mix of two can work fine.

CriterionOn-platform (big objects, Field Audit Trail)Virtualized (external objects)Off-platform archive
Where the data sitsInside Salesforce, separate allocationIn the external systemStorage you run outside Salesforce
How users reach itCustom components, SOQL on index fieldsRelated lists, lookups and search in SalesforceThrough external objects, an app or a restore
AutomationNo triggers or flows on these objectsNo record-change flowsNone in Salesforce until restored
Security modelObject and field permissions onlySalesforce access plus the source system's controlsEntirely yours to build and audit
Salesforce storage usedIts own allocation, not data storageNone for the external rowsNone
Main riskIndex can't change after deploySource system uptime and latencySchema drift and untested restores

Try your pick on one low-stakes object first. Move a representative slice, time a query, and check that purges match your legal schedule before you scale up.

How do users find archived records?

Archived historical data is only useful if people can reach it from where they already work. Put a related list or Lightning component on the live record and closed cases open in one click.

With Salesforce Connect, users can search external data in Salesforce, so archived external objects still show up. Add report types per storage method, and filter big object reports on index fields.

Give components plain labels, like "Archived Contracts" instead of an API name, so users can tell archived records from live ones. Keep the archived view close to the live layout.

Where does Flosum Backup & Archive fit?

Flosum Backup & Archive moves older Salesforce records to low-cost storage you control, where Flosum says they stay available for audits, compliance and reporting.

It applies policy-driven retention with in-place query access. The June 2026 update added legal hold controls that stop held data from being deleted or changed.

Flosum says backups can be hosted by Flosum or kept in your own AWS, Google Cloud, Azure or private cloud. Our deployment architectures page compares the Flosum-hosted and customer-hosted DevOps options.

Our post on archiving for compliance weighs the cost and compliance trade-offs. For cheaper storage tiers outside Salesforce, see our guide to cutting storage costs.

FAQs

What is historical data storage in Salesforce?

It's where you keep records nobody uses daily, like closed cases and field history. The options are on-platform storage such as Field Audit Trail, external objects, or an outside archive.

What is the difference between big objects and external objects?

Big objects store data in Salesforce for a billion records or more, queried on index fields. External objects store nothing in Salesforce and read live through Salesforce Connect.

Do big objects count against Salesforce data storage?

No. They have their own allocation of 1 million records per org on most editions, and you can ask Salesforce to increase it.

Can you run flows or triggers on big objects?

No. Salesforce says triggers, flows and processes can't run on big objects, so keep business logic on standard and custom objects.

How long does Salesforce keep field history?

Standard field history tracking keeps about 18 months for up to 20 fields per object. Field Audit Trail keeps history on up to 200 fields as long as your retention policy says.

Should old Salesforce data be archived or deleted?

Archive whatever a data retention rule, legal hold or audit still needs. Delete what's past retention once you have a tested backup, and see our archiving solutions guide to compare archive tools.

Book a demo to see how Flosum Backup & Archive moves old Salesforce records to storage you control.

Table Of Contents
Author
Stay Up-to-Date
Get flosum.com news in your inbox.

Thank you for subscribing

Ship Salesforce changes faster
Teams on Flosum report 40% higher development velocity and 75%
fewer merge conflicts.
Free to start  |  No credit card required