couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filipe Manana (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (COUCHDB-1288) More efficient builtin filters _doc_ids and _design
Date Mon, 19 Sep 2011 06:08:08 GMT

     [ https://issues.apache.org/jira/browse/COUCHDB-1288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Filipe Manana updated COUCHDB-1288:
-----------------------------------

    Attachment:     (was: couchdb_1288.patch)

> More efficient builtin filters _doc_ids and _design
> ---------------------------------------------------
>
>                 Key: COUCHDB-1288
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1288
>             Project: CouchDB
>          Issue Type: Improvement
>            Reporter: Filipe Manana
>         Attachments: couchdb_1288_2.patch
>
>
> We have the _doc_ids and _design _changes filter as of CouchDB 1.1.0.
> While they meet the expectations of applications/users, they're far from efficient for
large databases.
> Basically the implementation folds the entire seq btree and then filters values by the
document's ID, causing too much IO and busting caches. This makes replication by doc IDs not
so efficient as it could be.
> The proposed patch avoids this by doing direct lookups in the ID btree, for _doc_ids,
and ranged fold for _design.
> If there are no objections, I would apply to branch 1.2.x besides 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message