> What would be the use-case for the new feature? How would you use it, > exactly? A good use-case, well-formulated in step-by-step manner might > prove a great help for Developers to determine the importance of the new > feature and the urgency level for its implementation. >
There is a large project that uses a datastore with a large number and size of indexes. Serving these indexes consumes a lot of resources when creating/modifying entries in the corresponding tables. The project is several years old, at different times several development teams worked on it. The project has experienced several cycles of refactoring. There are reasonable suspicions that most of the existing indexes are no longer required for the correct operation of the project. You need to find and delete indexes that are not used by the current version of the code. Static analysis of the code is laborious and unreliable because the project uses query.filter methods, GQL strings (including dynamically generated ones), indirect calls, etc. If in the Datastore section of console.cloud.google.com you can see the load (in arbitrary units of measure) for active project indices, then identifying and removing unused indexes will be the simplest task. In addition, the current implementation of the google.appengine.ext.testbed.init_datastore_v3_stub emulator does not take into account the contents of the project's index.yaml file. All calls to datastore are performed by the emulator successfully, as if all the necessary indexes exist. If testbed will generate errors if there are no necessary indexes in index.yaml, then these problems can be identified at the stage of automatic testing. WBR, Vitaly -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/85b8bd58-f363-453a-8f17-23b3d6e2ac45%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
