iilyak commented on issue #822: Provide info=true and keys=[] arguments for /_all_dbs URL: https://github.com/apache/couchdb/issues/822#issuecomment-357388736 My 2? Accessing all databases on the server is expensive operation. Since get_db_info goes through `couch_server` process. For clusters with big number of databases opening all of them at the same time would cause a series of evictions from `couch_lru`. This in its turn causes lots of update_lru messages to couch_server. We could try to modify `couch_db:get_db_info` to open database in read only mode without using `couch_server`. However with this approach we wouldn't be able to return the same information as we currently do. Therefore we would have to introduce new endpoint. Which is a good thing since it would make it expressible in OpenAPI spec which we can benefit from latter on. Following keys are problematic: * update_seq * purge_seq * compact_running * instance_start_time * committed_update_seq * compacted_seq
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
