the url you included in your post explains about indexing says:
The following fields are indexed by default: primary keys (Id, Name and Owner fields), foreign keys (lookup or master-detail relationship fields), audit dates (such as LastModifiedDate), and custom fields marked as External ID or Unique.
However, in my experience the lookup fields are NOT indexed by default. I also got info from Dreamforce '13 which confirms that.
Here is the link of salesforce documentation for Indexing :Working with Very Large SOQL Queries
In short, with use of indexed field in query filter, you could optimize the query retrieving time and fetch the results faster.
All Answers
Here is the link of salesforce documentation for Indexing :Working with Very Large SOQL Queries
In short, with use of indexed field in query filter, you could optimize the query retrieving time and fetch the results faster.
Thanks for valuable information.
Regards..
Hi,
the url you included in your post explains about indexing says:
However, in my experience the lookup fields are NOT indexed by default. I also got info from Dreamforce '13 which confirms that.
Any idea?
Regards,
Marco