Tekoälyn kääntämä. Yhteisö ei ole vielä tarkistanut käännöstä. Lue englanniksi

Salesforce Indexes Explained (in English)

Updated 2026-11-07
Published 2023-12-11 · update checked 2026-11-07 · Watch on YouTube

What's changed since the video

Each change is dated and checked against Salesforce's own documentation.

  • A second way to get a custom index. The video says a custom index comes through Salesforce Support. Salesforce now names two ways: "by contacting Salesforce Customer Support or by deploying a custom index XML file via the Metadata API", and even the Metadata API route starts with a conversation with Support (Indexes, Best Practices for Deployments with Large Data Volumes, Winter '27; CustomIndex, Metadata API Developer Guide; both checked 2026-11-07).
  • Unique fields are indexed too, and the optimizer can add indexes. Custom fields marked as External ID or Unique are indexed by default, and "Fields not indexed by default are automatically indexed when the Salesforce optimizer recognizes that an index can improve performance for frequently run queries" (Working with Very Large SOQL Queries, Apex Developer Guide, Winter '27, checked 2026-11-01). Check the field in Object Manager rather than assuming.
  • The architecture diagram has a new address. The multitenant diagram the video points to is now at Platform Multitenant Architecture (Salesforce Architects, checked 2026-11-01). Not a platform change.

Still right

  • The library: an index is a card catalog. Without one, Salesforce has to touch every record, a table scan. With one, it looks up the card and goes straight to the records.
  • Salesforce's indexes sit on top of its shared, multitenant tables, so they work differently from the indexes in your own database. Salesforce keeps standard indexes on common fields out of the box, and a custom index can be added to other fields.
  • Marking a field as an External ID creates an index on it.

All videos in this series: Data-arkkitehtuuri

Video ladataan YouTubesta vasta, kun napsautat sitä.