You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2020/07/27 03:56:35 UTC

[GitHub] [couchdb-nano] wohali edited a comment on issue #228: Can I create a couchdb database with shard param?

wohali edited a comment on issue #228:
URL: https://github.com/apache/couchdb-nano/issues/228#issuecomment-664098664


   If it is a single, standalone server, you can't change `n` from its default value of `1`.
   
   CouchDB won't allow creation of multiple replicas on a single server. To have 5 copies, you'd need at least 5 servers in your cluster.
   
   Also, nowhere do we recommend that `n` should be `q/2`. By default, on a 3-node cluster, CouchDB 2.x creates `q=8, n=3` databases, and 3.x uses `q=2, n=3`.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org