Activity Forums Salesforce® Discussions As a Developer, how can you optimize SQL query to fetch data from Salesforce Database?

  • shariq

    Member
    September 22, 2018 at 6:08 pm

    As Salesforce doesn’t save data in traditional way. Data of all tenants are in common table, so traditional Query optimization query and technique will not work in this case, so there is no such tool available to optimize final generated SQL. We only have option to create SOQL which is optimized by custom inbuilt Force.com Query Optimizer.

    In Summer14, Salesforce released Query Plan Tool to analyze how query is performing. With help of this tool, we can get an idea how we can change our query to perform better.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos