Tag Archives: SOQL

Dealing with Exception Filters in Force.com

Dealing with Exception Filters in Force.com

Do you use a long list of filters in your reports or SOQL statements to exclude “noisy” data from your query results? Do you wonder why your requests take so long to run, even when they return only a few hundred rows? You might be able to overcome your performance issue with indexed formula fields, which this blog post explains in detail. Continue reading

In Blog: engineering | Also tagged , , , | Leave a comment

Force.com Performance Profiling Using the Developer Console

Force.com Performance Profiling Using the Developer Console

If you’ve built an application on the Force.com platform, you want to deliver a great experience to your users. But how can you tell if your applications are performing well and will continue to perform well? Using the Developer Console, you can use “performance profiling” to identify and fix performance hotspots, and ensure that your applications are both fast and scalable. Continue reading

In Blog: engineering | Also tagged , , , | Leave a comment

Force.com SOQL Best Practices: Nulls and Formula Fields

Force.com SOQL Best Practices: Nulls and Formula Fields

Best practices for building Salesforce SOQL queries on large data volumes (LDV) included avoiding filtering on fields with nulls, and formula fields. If you’re implementing new queries—or want to clean up some of the workarounds you implemented prior to the Winter ’13 release—consider these updates related to filtering on nulls and formula fields. Continue reading

In Blog: engineering | Also tagged , | 7 Comments

Using SOQL to Determine Your Force.com User’s Permissions

Permission sets make salesforce.com admin’s lives easier by assigning permissions to users with more granularity than what a profile already provides. Using SOQL enables admins to view those permission assignments across their user’s profile and permission sets. Continue reading

In Blog: engineering | Also tagged , , , , | 1 Comment

Bulk API Queries

The Spring '11 release introduced bulk queries as a pilot* feature of the Force.com Bulk API 21.0. With this feature, you can submit SOQL queries to Salesforce, run them asynchronously, and then download all your results once the query is completed. This is a huge win for any developers working with long-running queries or queries with large result sets. You no longer have to leave a connection open while the query is being executed or call queryMore() a zillion times to retrieve the full result set! You can even monitor the progress of the query in Salesforce and download the… Continue reading

In Blog: engineering | Also tagged , , , , , , , | Leave a comment