couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benoit Chesneau (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COUCHDB-1960) Provide pagination for /_all_dbs
Date Sun, 05 Jan 2014 08:46:53 GMT

    [ https://issues.apache.org/jira/browse/COUCHDB-1960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13862518#comment-13862518
] 

Benoit Chesneau commented on COUCHDB-1960:
------------------------------------------

@dch made the asked changes in the branch. Thanks for the review

So far the branch is ready for merge now.  About the performance this implementation shouldn't
nbe much slower than the bicgouch version is. The directory is most of the time cached by
the disk also the skip should be as fast as its version imo. Anyeway waiting any merge, this
change allows above fetaures and already solved some issues here with a big number of databases.


> Provide pagination for /_all_dbs
> --------------------------------
>
>                 Key: COUCHDB-1960
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1960
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: Fauxton, HTTP Interface
>            Reporter: Benjamin Young
>
> The database-per-user design pattern has increased in popularity and consequently causes
long lists of databases when one hits {{/_all_dbs}}
> To keep this sane, we need some pagination.
> {{?skip=10&limit=10}} style seems to be the simplest to implement (and there should
be existing code from Cloudant for this one).
> Thanks!



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message