INT-Q06Conceptual FoundationIntegration & data#ldv#archiving

What are big objects and when would you use them?

Your confidence:Not rated

Model answer

Big objects store very large volumes of data inside Salesforce for write-once, read-by-key use: archived records, audit trails, logs, history.

  • Custom big objects (__b) have an index (composite key) defined at creation and never changed.
  • Write with Database.insertImmediate, APIs or Data Loader; writing the same key overwrites the record.
  • Query with SOQL on the index fields in order only.
  • No triggers, flows, sharing rules or standard reports; a custom UI shows the data.

Use them to archive old cases or activities while keeping them in Salesforce, or to store high-volume logs. Compare with the Salesforce Archive product and external storage first.

โœ” Key points to hit

โœ– Red-flag answers

  • 'Big objects work like normal objects, just bigger'
  • Designing the index after loading data

โ†ช Follow-ups

How would you display big object data on a record page?

A Lightning Web Component calling an Apex method that queries the big object by its index (for example by account ID and date range).

Why does the index order matter?

Queries must filter on index fields from the first one onward, so the order decides which questions you can answer efficiently.