[google-appengine] Re: a query log?

2010-10-06 Thread Grant
Hi I do not think there is a query log, but you can use the fact that the datastore only every queries an index to simulate one... http://code.google.com/appengine/docs/python/datastore/queriesandindexes.html There is an implicit index on all (actually most) properties on any entity and those in

[google-appengine] Re: a query log?

2010-10-07 Thread Jay Young
Try API hooks, maybe? You could set up a function to intercept datastore queries and log them to memcache, the app log, or back into the datastore itself. http://code.google.com/appengine/articles/hooks.html On Oct 7, 3:34 pm, Tim Jones wrote: > Thanks for the suggestion. I've already been keepi

[google-appengine] Re: a query log?

2010-10-07 Thread Tim Hoffman
Hi appstats does pretty much what you have asked for. Its more about rpc calls and time which is what a query in appengine is any way. T On Oct 7, 7:22 am, Tim Jones wrote: > I'm somewhat new to App Engine, and attempting to streamline my app's > datastore load. > > With a LAMP app, I'm usual

Re: [google-appengine] Re: a query log?

2010-10-07 Thread Tim Jones
Thanks for the suggestion. I've already been keeping a close watch on my app's indexes file, and was hoping for something that would reveal more detail. It's true that a verbose query log isn't as important on GAE as it is on a relational db. Still, I bet it would be real useful for finding red