Hello
I have a simple query like this: MyEntity.all().filter('prop1 =',
value1).filter('prop2 =', value2).get()
Every now and then it times out. To me it looks simply enough, but as
I started digging into the issue i came to doubt that I had the proper
indexes in place. In a relational database I would have made a
composite index for prop1 and prop2, but I can't find anything in the
app engine documentation about such an index. Rather I think it
suggests that the default indexes are sufficient for handling fetches
filtered by two attributes.
Does anybody know if default indexes are just as efficient as a
composite index, would the composite index be used at all?
Cheers
Tonny
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---