Maintenance

How do you optimise Salesforce when the org gets slow or cluttered?

4 min read · Updated on

Written by Séton Estumento, independent Salesforce consultant, Business Analyst and administrator

To optimise Salesforce, find what clutters or weakens the org, then remove it step by step. Salesforce Optimizer, the tool that produced this diagnosis, no longer exists. You now run the checks yourself: access, security, updates, storage, API versions, unused fields, duplicates and obsolete data. This guide puts them in a safe working order.

Optimizer has been retired: what do you do instead?

Salesforce announced the retirement of Salesforce Optimizer as of Winter '26. The "Past Product & Feature Retirements" page lists the Optimizer app with a retirement date of 1 June 2026. In its article on the subject, Salesforce suggests replacement checks, which this guide follows.

These checks give a snapshot of the org at one point in time. Note the date and your findings: the next snapshot will show what has changed.

The 8 checks

#CheckWhere to do it
1Default external accessSetup, Sharing Settings, "Default External Access" column
2Security configuration issuesSetup, Health Check
3Pending version changesSetup, Release Updates
4StorageSetup, Storage Usage
5API versions of componentsSetup, depending on the component type; or a SOQL query
6Unused fieldsObject Manager, "Where is this used?"
7Nearly empty permission setsSOQL query: permission sets with 10 or fewer active users
8Duplicates and obsolete dataReports, then archive or delete

Checks 1 to 5 and 7 come from the list Salesforce offers as a replacement for Optimizer. Salesforce also suggests SOQL queries to list Apex classes, triggers and Visualforce pages by API version, or active users with no Chatter activity for 30 days. Checks 6 and 8 come from the Trailhead module on data cleanup.

Inventory · Org qualityFictitious data
ItemBeforeAfter
Duplicate accounts3120
Fields never filled in8712
Old workflow rules140
Demo screenshot, fictitious data: an inventory of the org: what clutters it, before and after cleanup (fictitious data)

Step by step

1. Security and access

Open Sharing Settings and look at the "Default External Access" column: external access that is too open is a setting to fix first. Then run Health Check to find common risky security settings. For user rights, see the guide on permission sets.

2. Updates and storage

Check Release Updates to see pending changes, and Storage Usage to follow your storage limits. These two screens take a few minutes and avoid surprises.

3. Unused fields

For each suspect field:

  1. In Setup, open Object Manager, the object, then the field.
  2. Click Where is this used? to see what references it.
  3. Check reports, integrations and automations separately.
  4. Look at the creation date: a recent field is not necessarily abandoned.
  5. Note whether it comes from a managed package: removing it may mean uninstalling the whole package.

For deletion, Trailhead recommends this order: mark the field as deprecated, remove it from page layouts and user permissions, wait for a set period to collect feedback, then delete it. Treat deletion as hard to undo, and follow your change process.

4. Duplicates and obsolete data

The Trailhead module "Data Cleanup Fundamentals" covers these topics in separate units: duplicate and disconnected records, inconsistent field values, archive versus purge. Choose archiving if the data must stay available, and deletion if it is no longer needed.

5. Duplicate automations

List your active Flows by object. Two automations that update the same field contradict each other. The guide on Flow errors shows how to spot them.

Common mistakes

  • Deleting first and checking afterwards. An empty field can still feed a quarterly report or an integration.
  • Cleaning everything at once. One change at a time is easier to fix.
  • Forgetting to tell users. The waiting period before deletion is also for collecting their feedback.
  • Testing in production. Try it in a sandbox first when you can.
  • Writing nothing down. Without a record of your findings, you will not know what changed at the next audit.

When to ask for help

If the audit reveals more issues than you can handle, or you are worried about breaking an automation, Salesforce maintenance can take on the cleanup. To check the overall state first, see also the org takeover checklist.

Official references

Frequently asked questions

No. Salesforce's retirements page lists the Optimizer app as retired on 1 June 2026. Salesforce publishes a list of checks to run in Setup or with SOQL queries to replace it.

In Setup, open Object Manager, choose the object and then the field, and click "Where is this used?". Also check reports, integrations and automations before deleting anything.

It is safer to go step by step: mark it as deprecated, remove it from page layouts and permissions, wait for user feedback, then delete it after the dependency review.

A problem with your Salesforce?

Describe it in a few lines. Reply within one working day, free quote.

Describe my problem