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 Wed, 18 Dec 2013 15:25:08 GMT

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

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

[~dch] The goal of this patch is to improve a little situation on the client side. Where the
client receive all the databases at one time. O yes it is enumerating all the databases on
the fs, but it will send less at a time. Also such enumeration should be fast since the file
system is caching the directory lookup.

about the limit naming. ok

I will update the news before merging.

Thanks for the review!

> 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.4#6159)

Mime
View raw message