Here is are some example rows for a single schematic (schematicId=1)
which contains a Transformer, a PowerLine, and a Regulator
ElementId, SchematicId, ElementType, ElementAttributes
Example rows:
1, 1, Transformer, <voltage>5</voltage><install_date>5/1/2011</
install_date>
2, 1, PowerLine, <voltage>5</voltage><install_date>5/1/2011</
install_date>
3, 1, Regulator, <rating>5KW</rating><install_date>5/1/2011</
install_date>
When the user wants to a load a schematic, I simply query this table
for all entries with the associated schematicId (this returns about
2000 rows). The problem is that this process takes about 2 minutes.
(even though the data is only about 10MB).
Suggestions for improvement?
--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/nH5CMYqe4PIJ.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Could you post your query code?
Cheers,
Brian
> --
> You received this message because you are subscribed to the Google Groups "Google App Engine" group.
--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Hi Kyle,It sounds like you generally fetch a schematic all at once. Rather than storing them as separate datastore objects, why not serialize them all as a single "schematic" object, which you fetch and store as a single unit?