Hi Oliver, If you don't actually need polymorphism for all your models from the same base class, I would suggest using a regular db.Model parent class. db.PolyModel adds a listproperty of parent classes to each stored entity, which adds extra indexing overhead, and will in some cases require indexes for queries that otherwise wouldn't.
-Nick Johnson On Mon, Jun 1, 2009 at 6:33 PM, Oliver Zheng <[email protected]> wrote: > > A lot of my models have things like modified_time and created_time. I > currently have them setup so they inherit this from a PolyModel class. > Is this a smart idea? I see that they are grouped together in the > admin page. Performance wise, does this mean they will have to be > located on the same machine and thus have slow access time? > > Thanks. > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
