QuestionQ31

VerifiedPerformance Tuning

Universal Containers developers created a new Lightning component that uses an Apex controller with a SOQL query to populate a custom list view. Users report that the component frequently fails to load and returns a timeout error.

Which tool should a data architect use to determine why the query takes too long?

Explanation

The Query Plan tool analyzes SOQL execution plans and their relative costs, helping identify nonselective filters, missing or unused indexes, and other query-design issues that cause long execution times. Salesforce documents that it is used to view, optimize, and speed up SOQL queries on large datasets.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!