couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Joseph Davis (JIRA)" <>
Subject [jira] Commented: (COUCHDB-977) make skip leverage inner reduction node counts
Date Mon, 06 Dec 2010 22:21:09 GMT


Paul Joseph Davis commented on COUCHDB-977:

Once for fun I wrote a thing that did just this. Basically all it takes is that you add a
case in the stream functions so that accumulator functions can return {{skip, N}, Acc} and
then it'd jump that many rows. It's actually not overly difficult to implement.

> make skip leverage inner reduction node counts
> ----------------------------------------------
>                 Key: COUCHDB-977
>                 URL:
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: Database Core
>    Affects Versions: 1.0.1
>            Reporter: Randall Leeds
>            Priority: Minor
> Currently the skip parameter on _all_docs and views walks n nodes from the startkey to
the first result but the inner nodes have counts in the reduction so some branches can be
skipped entirely.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message