tonysun83 opened a new pull request #608: Calculate ExternalSize Correctly for Views URL: https://github.com/apache/couchdb/pull/608 ## Overview Previously, we were calculating the ExternalSize for views by summing up all the nodes in the btree. Furthermore, this was the compressed size. Now we modify the reduce function to return an ExternalSize for uncompressed values in the KVList. COUCHDB-3430 ## Testing recommendations Performance tests were run to compare External Size Info pre-fix and post-fix. ``` Version Compression DB Dize View External Size Pre-Fix snappy 70 MB 26123231 Pre-Fix snappy 700 MB 493542711 Pre-Fix snappy 2.1 GB 795168531 Post-Fix snappy 70 MB 81775342 Post-Fix snappy 700 MB 818752126 Post-Fix snappy 2.1 GB 2457701744 Pre-Fix deflate_6 70 MB 26109645 Pre-Fix deflate_6 700 MB 249677553 Pre-Fix deflate_6 2.1 GB 797076702 Post-Fix deflate_6 70 MB 81775244 Post-Fix deflate_6 700 MB 818752412 Post-Fix deflate_6 2.1 GB 2478167958 ``` ## GitHub issue number ## Related Pull Requests <!-- If your changes affects multiple components in different repositories please put links to those pull requests here. --> ## Checklist - [X] Code is written and works correctly; - [X] Changes are covered by tests; - [ ] Documentation reflects the changes; ---------------------------------------------------------------- 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
