Quantcast
Channel: Discussion Forum > Connect Data Services
Viewing all articles
Browse latest Browse all 2504

"Poor performing query" when searching for Contacts using Email Address (1 Comment)

$
0
0

Topic by rsurujbhLinksys

Content

Hello,
When executing the following ROQL query using QueryCSV, we are getting the following SOAP error: "Poor performing query - too many rows examined".  Understandable, due to the size of our database.

ROQL:
SELECT C.ID FROM Contact C WHERE C.Emails.EmailList.AddressType = 0 AND  C.Emails.EmailList.Address LIKE 'user@domain.com'

It works fine when using the equals (=) operator.  I am using LIKE to account for case insensitivity.
Any pointers?

The idea is to search for/return Contact ID using a contact’s primary email address as the only search criteria.

Thanks!

Version

Feb 2011 SP2

Viewing all articles
Browse latest Browse all 2504

Trending Articles