You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by Apache Wiki <wi...@apache.org> on 2013/06/20 19:43:59 UTC

[Couchdb Wiki] Update of "Replication" by JensAlfke

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The "Replication" page has been changed by JensAlfke:
https://wiki.apache.org/couchdb/Replication?action=diff&rev1=56&rev2=57

Comment:
Removed obsolete statement about push vs pull performance.

  {"source":"http://example.org/example-database","target":"http://admin:password@127.0.0.1:5984/example-database"}
  }}}
  The target database has to exist and is not implicitly created. Add `create_target:true` to the JSON object to create the target database (remote or local) prior to replication. The names of the source and target databases do not have to be the same.
- 
- Specifying a local `source` database and a remote `target` database is called ''push replication'' and a remote `source` and local `target` is called ''pull replication''. As of CouchDB 0.9, pull replication is a lot more efficient and resistant to errors, and it is suggested that you use pull replication in most cases, especially if your documents are large or you have large attachments.
  
  === Cancel replication ===