couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Kocoloski (JIRA)" <>
Subject [jira] Commented: (COUCHDB-1061) More efficient _changes?include_docs=true
Date Mon, 07 Feb 2011 16:45:57 GMT


Adam Kocoloski commented on COUCHDB-1061:

Thanks Filipe, this optimization has been on my TODO list for too long.  The same technique
can be applied to _all_docs?include_docs=true for what it's worth.

> More efficient _changes?include_docs=true
> -----------------------------------------
>                 Key: COUCHDB-1061
>                 URL:
>             Project: CouchDB
>          Issue Type: Improvement
>            Reporter: Filipe Manana
>            Assignee: Filipe Manana
>             Fix For: 1.0.3, 1.1, 1.2
>         Attachments: COUCHDB-1061.patch
> When using the changes stream with the option include_docs set to true, after having
the #doc_info record of a document, we open the document by its ID instead of using the #doc_info
record. This is not optimal since opening the doc by its ID implies traversing the by-id B-Tree
to find a #full_doc_info record and to finally convert it into a #doc_info record.
> The following patch fixes this.

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message