{"id":2124,"date":"2016-01-15T09:22:49","date_gmt":"2016-01-15T09:22:48","guid":{"rendered":"https:\/\/www.couchbase.com\/blog\/?p=2124"},"modified":"2016-01-15T09:22:49","modified_gmt":"2016-01-15T09:22:48","slug":"couchbase-server-and-couchdb-compared","status":"publish","type":"post","link":"https:\/\/www.couchbase.com\/blog\/pt\/couchbase-server-and-couchdb-compared\/","title":{"rendered":"Compara\u00e7\u00e3o entre o Couchbase e o Apache CouchDB"},"content":{"rendered":"<p>Apesar dos nomes semelhantes, o Couchbase Server e o Apache CouchDB s\u00e3o sistemas bastante diferentes.<\/p>\n<p>\u00a0<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/original-assets\/2016\/january\/couchbase-server-and-couchdb-compared\/cblogo.png\" \/>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0<img decoding=\"async\" src=\"\/wp-content\/original-assets\/2016\/january\/couchbase-server-and-couchdb-compared\/couchdb-cropped.png\" \/><\/p>\n<p>Aqui est\u00e1 uma vis\u00e3o geral r\u00e1pida de como eles se diferenciam e o que t\u00eam em comum. Estamos comparando o Couchbase 4.1 e o Apache CouchDB 1.6 e publicaremos novamente quando o CouchDB 2.0 for lan\u00e7ado.<\/p>\n<h2>Vis\u00e3o geral r\u00e1pida<\/h2>\n<div dir=\"ltr\" style=\"margin-left:0pt;\">\n<table style=\"border: none; width: 624px;\">\n<tbody>\n<tr style=\"height:0px\">\n<td style=\"border-left:solid #000000 1px;border-right:solid #000000 1px;border-bottom:solid #000000 1px;border-top:solid #000000 1px;vertical-align:top;background-color:#cc0000;padding:7px 7px 7px 7px\">\u00a0<\/td>\n<td style=\"border-left:solid #000000 1px;border-right:solid #000000 1px;border-bottom:solid #000000 1px;border-top:solid #000000 1px;vertical-align:top;background-color:#cc0000;padding:7px 7px 7px 7px\">\n<p dir=\"ltr\" style=\"line-height:1.2;margin-top:0pt;margin-bottom:0pt;\"><span><span style=\"font-size: 14.6667px; font-family: Arial; color: rgb(255, 255, 255); font-weight: 700; vertical-align: baseline; white-space: pre-wrap; background-color: transparent;\">Servidor Couchbase<\/span><\/span><\/p>\n<\/td>\n<td style=\"border-left:solid #000000 1px;border-right:solid #000000 1px;border-bottom:solid #000000 1px;border-top:solid #000000 1px;vertical-align:top;background-color:#cc0000;padding:7px 7px 7px 7px\">\n<p dir=\"ltr\" style=\"line-height:1.2;margin-top:0pt;margin-bottom:0pt;\"><span><span style=\"font-size: 14.6667px; font-family: Arial; color: rgb(255, 255, 255); font-weight: 700; vertical-align: baseline; white-space: pre-wrap; background-color: transparent;\">Apache CouchDB<\/span><\/span><\/p>\n<\/td>\n<\/tr>\n<tr style=\"height:0px\">\n<td style=\"border-left:solid #000000 1px;border-right:solid #000000 1px;border-bottom:solid #000000 1px;border-top:solid #000000 1px;vertical-align:top;padding:7px 7px 7px 7px\">\n<p dir=\"ltr\" style=\"line-height:1.2;margin-top:0pt;margin-bottom:0pt;\"><span><span style=\"font-size: 14.6667px; font-family: Arial; color: rgb(0, 0, 0); font-weight: 700; vertical-align: baseline; white-space: pre-wrap; background-color: transparent;\">Modelos de dados<\/span><\/span><\/p>\n<\/td>\n<td style=\"border-left:solid #000000 1px;border-right:solid #000000 1px;border-bottom:solid #000000 1px;border-top:solid #000000 1px;vertical-align:top;padding:7px 7px 7px 7px\">\n<p dir=\"ltr\" style=\"line-height:1.2;margin-top:0pt;margin-bottom:0pt;\"><span><span style=\"font-size: 14.6667px; font-family: Arial; color: rgb(0, 0, 0); vertical-align: baseline; white-space: pre-wrap; background-color: transparent;\">Documento, chave-valor<\/span><\/span><\/p>\n<\/td>\n<td style=\"border-left:solid #000000 1px;border-right:solid #000000 1px;border-bottom:solid #000000 1px;border-top:solid #000000 1px;vertical-align:top;padding:7px 7px 7px 7px\">\n<p dir=\"ltr\" style=\"line-height:1.2;margin-top:0pt;margin-bottom:0pt;\"><span><span style=\"font-size: 14.6667px; font-family: Arial; color: rgb(0, 0, 0); vertical-align: baseline; white-space: pre-wrap; background-color: transparent;\">Documento<\/span><\/span><\/p>\n<\/td>\n<\/tr>\n<tr style=\"height:0px\">\n<td style=\"border-left:solid #000000 1px;border-right:solid #000000 1px;border-bottom:solid #000000 1px;border-top:solid #000000 1px;vertical-align:top;padding:7px 7px 7px 7px\">\n<p dir=\"ltr\" style=\"line-height:1.2;margin-top:0pt;margin-bottom:0pt;\"><span><span style=\"font-size: 14.6667px; font-family: Arial; color: rgb(0, 0, 0); font-weight: 700; vertical-align: baseline; white-space: pre-wrap; background-color: transparent;\">Armazenamento<\/span><\/span><\/p>\n<\/td>\n<td style=\"border-left:solid #000000 1px;border-right:solid #000000 1px;border-bottom:solid #000000 1px;border-top:solid #000000 1px;vertical-align:top;padding:7px 7px 7px 7px\">\n<p dir=\"ltr\" style=\"line-height:1.2;margin-top:0pt;margin-bottom:0pt;\"><span><span style=\"font-size: 14.6667px; font-family: Arial; color: rgb(0, 0, 0); vertical-align: baseline; white-space: pre-wrap; background-color: transparent;\">\u00c1rvore B somente com anexo<\/span><\/span><\/p>\n<\/td>\n<td style=\"border-left:solid #000000 1px;border-right:solid #000000 1px;border-bottom:solid #000000 1px;border-top:solid #000000 1px;vertical-align:top;padding:7px 7px 7px 7px\">\n<p dir=\"ltr\" style=\"line-height:1.2;margin-top:0pt;margin-bottom:0pt;\"><span><span style=\"font-size: 14.6667px; font-family: Arial; color: rgb(0, 0, 0); vertical-align: baseline; white-space: pre-wrap; background-color: transparent;\">\u00c1rvore B somente com anexo<\/span><\/span><\/p>\n<\/td>\n<\/tr>\n<tr style=\"height:0px\">\n<td style=\"border-left:solid #000000 1px;border-right:solid #000000 1px;border-bottom:solid #000000 1px;border-top:solid #000000 1px;vertical-align:top;padding:7px 7px 7px 7px\">\n<p dir=\"ltr\" style=\"line-height:1.2;margin-top:0pt;margin-bottom:0pt;\"><span><span style=\"font-size: 14.6667px; font-family: Arial; color: rgb(0, 0, 0); font-weight: 700; vertical-align: baseline; white-space: pre-wrap; background-color: transparent;\">Consist\u00eancia<\/span><\/span><\/p>\n<\/td>\n<td style=\"border-left:solid #000000 1px;border-right:solid #000000 1px;border-bottom:solid #000000 1px;border-top:solid #000000 1px;vertical-align:top;padding:7px 7px 7px 7px\">\n<p dir=\"ltr\" style=\"line-height:1.2;margin-top:0pt;margin-bottom:0pt;\"><span><span style=\"font-size: 14.6667px; font-family: Arial; color: rgb(0, 0, 0); vertical-align: baseline; white-space: pre-wrap; background-color: transparent;\">Forte<\/span><\/span><\/p>\n<\/td>\n<td style=\"border-left:solid #000000 1px;border-right:solid #000000 1px;border-bottom:solid #000000 1px;border-top:solid #000000 1px;vertical-align:top;padding:7px 7px 7px 7px\">\n<p dir=\"ltr\" style=\"line-height:1.2;margin-top:0pt;margin-bottom:0pt;\"><span><span style=\"font-size: 14.6667px; font-family: Arial; color: rgb(0, 0, 0); vertical-align: baseline; white-space: pre-wrap; background-color: transparent;\">Eventual<\/span><\/span><\/p>\n<\/td>\n<\/tr>\n<tr style=\"height:0px\">\n<td style=\"border-left:solid #000000 1px;border-right:solid #000000 1px;border-bottom:solid #000000 1px;border-top:solid #000000 1px;vertical-align:top;padding:7px 7px 7px 7px\">\n<p dir=\"ltr\" style=\"line-height:1.2;margin-top:0pt;margin-bottom:0pt;\"><span><span style=\"font-size: 14.6667px; font-family: Arial; color: rgb(0, 0, 0); font-weight: 700; vertical-align: baseline; white-space: pre-wrap; background-color: transparent;\">Topologia<\/span><\/span><\/p>\n<\/td>\n<td style=\"border-left:solid #000000 1px;border-right:solid #000000 1px;border-bottom:solid #000000 1px;border-top:solid #000000 1px;vertical-align:top;padding:7px 7px 7px 7px\">\n<p dir=\"ltr\" style=\"line-height:1.2;margin-top:0pt;margin-bottom:0pt;\"><span><span style=\"font-size: 14.6667px; font-family: Arial; color: rgb(0, 0, 0); vertical-align: baseline; white-space: pre-wrap; background-color: transparent;\">Distribu\u00eddo<\/span><\/span><\/p>\n<\/td>\n<td style=\"border-left:solid #000000 1px;border-right:solid #000000 1px;border-bottom:solid #000000 1px;border-top:solid #000000 1px;vertical-align:top;padding:7px 7px 7px 7px\">\n<p dir=\"ltr\" style=\"line-height:1.2;margin-top:0pt;margin-bottom:0pt;\"><span><span style=\"font-size: 14.6667px; font-family: Arial; color: rgb(0, 0, 0); vertical-align: baseline; white-space: pre-wrap; background-color: transparent;\">Replicado<\/span><\/span><\/p>\n<\/td>\n<\/tr>\n<tr style=\"height:0px\">\n<td style=\"border-left:solid #000000 1px;border-right:solid #000000 1px;border-bottom:solid #000000 1px;border-top:solid #000000 1px;vertical-align:top;padding:7px 7px 7px 7px\">\n<p dir=\"ltr\" style=\"line-height:1.2;margin-top:0pt;margin-bottom:0pt;\"><span><span style=\"font-size: 14.6667px; font-family: Arial; color: rgb(0, 0, 0); font-weight: 700; vertical-align: baseline; white-space: pre-wrap; background-color: transparent;\">Replica\u00e7\u00e3o<\/span><\/span><\/p>\n<\/td>\n<td style=\"border-left:solid #000000 1px;border-right:solid #000000 1px;border-bottom:solid #000000 1px;border-top:solid #000000 1px;vertical-align:top;padding:7px 7px 7px 7px\">\n<p dir=\"ltr\" style=\"line-height:1.2;margin-top:0pt;margin-bottom:0pt;\"><span><span style=\"font-size: 14.6667px; font-family: Arial; color: rgb(0, 0, 0); vertical-align: baseline; white-space: pre-wrap; background-color: transparent;\">Mestre-Mestre<\/span><\/span><\/p>\n<\/td>\n<td style=\"border-left:solid #000000 1px;border-right:solid #000000 1px;border-bottom:solid #000000 1px;border-top:solid #000000 1px;vertical-align:top;padding:7px 7px 7px 7px\">\n<p dir=\"ltr\" style=\"line-height:1.2;margin-top:0pt;margin-bottom:0pt;\"><span><span style=\"font-size: 14.6667px; font-family: Arial; color: rgb(0, 0, 0); vertical-align: baseline; white-space: pre-wrap; background-color: transparent;\">Mestre-Mestre<\/span><\/span><\/p>\n<\/td>\n<\/tr>\n<tr style=\"height:0px\">\n<td style=\"border-left:solid #000000 1px;border-right:solid #000000 1px;border-bottom:solid #000000 1px;border-top:solid #000000 1px;vertical-align:top;padding:7px 7px 7px 7px\">\n<p dir=\"ltr\" style=\"line-height:1.2;margin-top:0pt;margin-bottom:0pt;\"><span><span style=\"font-size: 14.6667px; font-family: Arial; color: rgb(0, 0, 0); font-weight: 700; vertical-align: baseline; white-space: pre-wrap; background-color: transparent;\">Failover autom\u00e1tico<\/span><\/span><\/p>\n<\/td>\n<td style=\"border-left:solid #000000 1px;border-right:solid #000000 1px;border-bottom:solid #000000 1px;border-top:solid #000000 1px;vertical-align:top;padding:7px 7px 7px 7px\">\n<p dir=\"ltr\" style=\"line-height:1.2;margin-top:0pt;margin-bottom:0pt;\"><span><span style=\"font-size: 14.6667px; font-family: Arial; color: rgb(0, 0, 0); vertical-align: baseline; white-space: pre-wrap; background-color: transparent;\">Sim<\/span><\/span><\/p>\n<\/td>\n<td style=\"border-left:solid #000000 1px;border-right:solid #000000 1px;border-bottom:solid #000000 1px;border-top:solid #000000 1px;vertical-align:top;padding:7px 7px 7px 7px\">\n<p dir=\"ltr\" style=\"line-height:1.2;margin-top:0pt;margin-bottom:0pt;\"><span><span style=\"font-size: 14.6667px; font-family: Arial; color: rgb(0, 0, 0); vertical-align: baseline; white-space: pre-wrap; background-color: transparent;\">N\u00e3o<\/span><\/span><\/p>\n<\/td>\n<\/tr>\n<tr style=\"height:0px\">\n<td style=\"border-left:solid #000000 1px;border-right:solid #000000 1px;border-bottom:solid #000000 1px;border-top:solid #000000 1px;vertical-align:top;padding:7px 7px 7px 7px\">\n<p dir=\"ltr\" style=\"line-height:1.2;margin-top:0pt;margin-bottom:0pt;\"><span><span style=\"font-size: 14.6667px; font-family: Arial; color: rgb(0, 0, 0); font-weight: 700; vertical-align: baseline; white-space: pre-wrap; background-color: transparent;\">Cache integrado<\/span><\/span><\/p>\n<\/td>\n<td style=\"border-left:solid #000000 1px;border-right:solid #000000 1px;border-bottom:solid #000000 1px;border-top:solid #000000 1px;vertical-align:top;padding:7px 7px 7px 7px\">\n<p dir=\"ltr\" style=\"line-height:1.2;margin-top:0pt;margin-bottom:0pt;\"><span><span style=\"font-size: 14.6667px; font-family: Arial; color: rgb(0, 0, 0); vertical-align: baseline; white-space: pre-wrap; background-color: transparent;\">Sim<\/span><\/span><\/p>\n<\/td>\n<td style=\"border-left:solid #000000 1px;border-right:solid #000000 1px;border-bottom:solid #000000 1px;border-top:solid #000000 1px;vertical-align:top;padding:7px 7px 7px 7px\">\n<p dir=\"ltr\" style=\"line-height:1.2;margin-top:0pt;margin-bottom:0pt;\"><span><span style=\"font-size: 14.6667px; font-family: Arial; color: rgb(0, 0, 0); vertical-align: baseline; white-space: pre-wrap; background-color: transparent;\">N\u00e3o<\/span><\/span><\/p>\n<\/td>\n<\/tr>\n<tr style=\"height:0px\">\n<td style=\"border-left:solid #000000 1px;border-right:solid #000000 1px;border-bottom:solid #000000 1px;border-top:solid #000000 1px;vertical-align:top;padding:7px 7px 7px 7px\">\n<p dir=\"ltr\" style=\"line-height:1.2;margin-top:0pt;margin-bottom:0pt;\"><span><span style=\"font-size: 14.6667px; font-family: Arial; color: rgb(0, 0, 0); font-weight: 700; vertical-align: baseline; white-space: pre-wrap; background-color: transparent;\">Compat\u00edvel com o Memcached<\/span><\/span><\/p>\n<\/td>\n<td style=\"border-left:solid #000000 1px;border-right:solid #000000 1px;border-bottom:solid #000000 1px;border-top:solid #000000 1px;vertical-align:top;padding:7px 7px 7px 7px\">\n<p dir=\"ltr\" style=\"line-height:1.2;margin-top:0pt;margin-bottom:0pt;\"><span><span style=\"font-size: 14.6667px; font-family: Arial; color: rgb(0, 0, 0); vertical-align: baseline; white-space: pre-wrap; background-color: transparent;\">Sim<\/span><\/span><\/p>\n<\/td>\n<td style=\"border-left:solid #000000 1px;border-right:solid #000000 1px;border-bottom:solid #000000 1px;border-top:solid #000000 1px;vertical-align:top;padding:7px 7px 7px 7px\">\n<p dir=\"ltr\" style=\"line-height:1.2;margin-top:0pt;margin-bottom:0pt;\"><span><span style=\"font-size: 14.6667px; font-family: Arial; color: rgb(0, 0, 0); vertical-align: baseline; white-space: pre-wrap; background-color: transparent;\">N\u00e3o<\/span><\/span><\/p>\n<\/td>\n<\/tr>\n<tr style=\"height:0px\">\n<td style=\"border-left:solid #000000 1px;border-right:solid #000000 1px;border-bottom:solid #000000 1px;border-top:solid #000000 1px;vertical-align:top;padding:7px 7px 7px 7px\">\n<p dir=\"ltr\" style=\"line-height:1.2;margin-top:0pt;margin-bottom:0pt;\"><span><span style=\"font-size: 14.6667px; font-family: Arial; color: rgb(0, 0, 0); font-weight: 700; vertical-align: baseline; white-space: pre-wrap; background-color: transparent;\">Travamento<\/span><\/span><\/p>\n<\/td>\n<td style=\"border-left:solid #000000 1px;border-right:solid #000000 1px;border-bottom:solid #000000 1px;border-top:solid #000000 1px;vertical-align:top;padding:7px 7px 7px 7px\">\n<p dir=\"ltr\" style=\"line-height:1.2;margin-top:0pt;margin-bottom:0pt;\"><span><span style=\"font-size: 14.6667px; font-family: Arial; color: rgb(0, 0, 0); vertical-align: baseline; white-space: pre-wrap; background-color: transparent;\">Otimista e pessimista<\/span><\/span><\/p>\n<\/td>\n<td style=\"border-left:solid #000000 1px;border-right:solid #000000 1px;border-bottom:solid #000000 1px;border-top:solid #000000 1px;vertical-align:top;padding:7px 7px 7px 7px\">\n<p dir=\"ltr\" style=\"line-height:1.2;margin-top:0pt;margin-bottom:0pt;\"><span><span style=\"font-size: 14.6667px; font-family: Arial; color: rgb(0, 0, 0); vertical-align: baseline; white-space: pre-wrap; background-color: transparent;\">Otimista com a MVCC<\/span><\/span><\/p>\n<\/td>\n<\/tr>\n<tr style=\"height:0px\">\n<td style=\"border-left:solid #000000 1px;border-right:solid #000000 1px;border-bottom:solid #000000 1px;border-top:solid #000000 1px;vertical-align:top;padding:7px 7px 7px 7px\">\n<p dir=\"ltr\" style=\"line-height:1.2;margin-top:0pt;margin-bottom:0pt;\"><span><span style=\"font-size: 14.6667px; font-family: Arial; color: rgb(0, 0, 0); font-weight: 700; vertical-align: baseline; white-space: pre-wrap; background-color: transparent;\">MapReduce (visualiza\u00e7\u00f5es)<\/span><\/span><\/p>\n<\/td>\n<td style=\"border-left:solid #000000 1px;border-right:solid #000000 1px;border-bottom:solid #000000 1px;border-top:solid #000000 1px;vertical-align:top;padding:7px 7px 7px 7px\">\n<p dir=\"ltr\" style=\"line-height:1.2;margin-top:0pt;margin-bottom:0pt;\"><span><span style=\"font-size: 14.6667px; font-family: Arial; color: rgb(0, 0, 0); vertical-align: baseline; white-space: pre-wrap; background-color: transparent;\">Sim<\/span><\/span><\/p>\n<\/td>\n<td style=\"border-left:solid #000000 1px;border-right:solid #000000 1px;border-bottom:solid #000000 1px;border-top:solid #000000 1px;vertical-align:top;padding:7px 7px 7px 7px\">\n<p dir=\"ltr\" style=\"line-height:1.2;margin-top:0pt;margin-bottom:0pt;\"><span><span style=\"font-size: 14.6667px; font-family: Arial; color: rgb(0, 0, 0); vertical-align: baseline; white-space: pre-wrap; background-color: transparent;\">Sim<\/span><\/span><\/p>\n<\/td>\n<\/tr>\n<tr style=\"height:0px\">\n<td style=\"border-left:solid #000000 1px;border-right:solid #000000 1px;border-bottom:solid #000000 1px;border-top:solid #000000 1px;vertical-align:top;padding:7px 7px 7px 7px\">\n<p dir=\"ltr\" style=\"line-height:1.2;margin-top:0pt;margin-bottom:0pt;\"><span><span style=\"font-size: 14.6667px; font-family: Arial; color: rgb(0, 0, 0); font-weight: 700; vertical-align: baseline; white-space: pre-wrap; background-color: transparent;\">Linguagem de consulta<\/span><\/span><\/p>\n<\/td>\n<td style=\"border-left:solid #000000 1px;border-right:solid #000000 1px;border-bottom:solid #000000 1px;border-top:solid #000000 1px;vertical-align:top;padding:7px 7px 7px 7px\">\n<p dir=\"ltr\" style=\"line-height:1.2;margin-top:0pt;margin-bottom:0pt;\"><span><span style=\"font-size: 14.6667px; font-family: Arial; color: rgb(0, 0, 0); vertical-align: baseline; white-space: pre-wrap; background-color: transparent;\">Sim, N1QL (SQL para JSON)<\/span><\/span><\/p>\n<\/td>\n<td style=\"border-left:solid #000000 1px;border-right:solid #000000 1px;border-bottom:solid #000000 1px;border-top:solid #000000 1px;vertical-align:top;padding:7px 7px 7px 7px\">\n<p dir=\"ltr\" style=\"line-height:1.2;margin-top:0pt;margin-bottom:0pt;\"><span><span style=\"font-size: 14.6667px; font-family: Arial; color: rgb(0, 0, 0); vertical-align: baseline; white-space: pre-wrap; background-color: transparent;\">N\u00e3o<\/span><\/span><\/p>\n<\/td>\n<\/tr>\n<tr style=\"height:0px\">\n<td style=\"border-left:solid #000000 1px;border-right:solid #000000 1px;border-bottom:solid #000000 1px;border-top:solid #000000 1px;vertical-align:top;padding:7px 7px 7px 7px\">\n<p dir=\"ltr\" style=\"line-height:1.2;margin-top:0pt;margin-bottom:0pt;\"><span><span style=\"font-size: 14.6667px; font-family: Arial; color: rgb(0, 0, 0); font-weight: 700; vertical-align: baseline; white-space: pre-wrap; background-color: transparent;\">\u00cdndices secund\u00e1rios<\/span><\/span><\/p>\n<\/td>\n<td style=\"border-left:solid #000000 1px;border-right:solid #000000 1px;border-bottom:solid #000000 1px;border-top:solid #000000 1px;vertical-align:top;padding:7px 7px 7px 7px\">\n<p dir=\"ltr\" style=\"line-height:1.2;margin-top:0pt;margin-bottom:0pt;\"><span><span style=\"font-size: 14.6667px; font-family: Arial; color: rgb(0, 0, 0); vertical-align: baseline; white-space: pre-wrap; background-color: transparent;\">Sim<\/span><\/span><\/p>\n<\/td>\n<td style=\"border-left:solid #000000 1px;border-right:solid #000000 1px;border-bottom:solid #000000 1px;border-top:solid #000000 1px;vertical-align:top;padding:7px 7px 7px 7px\">\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt;\"><span style=\"color: rgb(0, 0, 0); font-family: Arial; font-size: 14.6667px; line-height: 17.6px; text-align: left; white-space: pre-wrap;\">Sim<\/span><\/p>\n<\/td>\n<\/tr>\n<tr style=\"height:0px\">\n<td style=\"border-left:solid #000000 1px;border-right:solid #000000 1px;border-bottom:solid #000000 1px;border-top:solid #000000 1px;vertical-align:top;padding:7px 7px 7px 7px\">\n<p dir=\"ltr\" style=\"line-height:1.2;margin-top:0pt;margin-bottom:0pt;\"><span><span style=\"font-size: 14.6667px; font-family: Arial; color: rgb(0, 0, 0); font-weight: 700; vertical-align: baseline; white-space: pre-wrap; background-color: transparent;\">Notifica\u00e7\u00f5es<\/span><\/span><\/p>\n<\/td>\n<td style=\"border-left:solid #000000 1px;border-right:solid #000000 1px;border-bottom:solid #000000 1px;border-top:solid #000000 1px;vertical-align:top;padding:7px 7px 7px 7px\">\n<p dir=\"ltr\" style=\"line-height:1.2;margin-top:0pt;margin-bottom:0pt;\"><span><span style=\"font-size: 14.6667px; font-family: Arial; color: rgb(0, 0, 0); vertical-align: baseline; white-space: pre-wrap; background-color: transparent;\">Sim,<\/span><\/span><\/p>\n<p dir=\"ltr\" style=\"line-height:1.2;margin-top:0pt;margin-bottom:0pt;\"><span><span style=\"font-size: 14.6667px; font-family: Arial; color: rgb(0, 0, 0); vertical-align: baseline; white-space: pre-wrap; background-color: transparent;\">Protocolo de altera\u00e7\u00e3o de banco de dados<\/span><\/span><\/p>\n<\/td>\n<td style=\"border-left:solid #000000 1px;border-right:solid #000000 1px;border-bottom:solid #000000 1px;border-top:solid #000000 1px;vertical-align:top;padding:7px 7px 7px 7px\">\n<p dir=\"ltr\" style=\"line-height:1.2;margin-top:0pt;margin-bottom:0pt;\"><span><span style=\"font-size: 14.6667px; font-family: Arial; color: rgb(0, 0, 0); vertical-align: baseline; white-space: pre-wrap; background-color: transparent;\">Sim,<\/span><\/span><\/p>\n<p dir=\"ltr\" style=\"line-height:1.2;margin-top:0pt;margin-bottom:0pt;\"><span><span style=\"font-size: 14.6667px; font-family: Arial; color: rgb(0, 0, 0); vertical-align: baseline; white-space: pre-wrap; background-color: transparent;\">Altera\u00e7\u00f5es Feeds<\/span><\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<h2>Modelo de dados<\/h2>\n<h3>Servidor Couchbase<\/h3>\n<p>O Couchbase Server \u00e9 um armazenamento de valor-chave e um armazenamento de documentos, o que significa que voc\u00ea pode armazenar dados bin\u00e1rios ou qualquer outro tipo de dados usando o Couchbase Server, bem como documentos JSON.<\/p>\n<p>O Couchbase Server usa o protocolo bin\u00e1rio do memcached para opera\u00e7\u00f5es de valor-chave e APIs REST para N1QL e consultas de visualiza\u00e7\u00e3o.<\/p>\n<h3>Apache CouchDB<\/h3>\n<p>O Apache CouchDB armazena JSON como documentos, com a op\u00e7\u00e3o de anexar arquivos n\u00e3o JSON a esses documentos.<\/p>\n<p>O CouchDB usa uma API REST para gravar e consultar dados.<\/p>\n<h2>Consulta<\/h2>\n<h3>Servidor Couchbase<\/h3>\n<p>O Couchbase Server oferece tr\u00eas maneiras de consultar os dados que armazena:<\/p>\n<p>\u00a0<\/p>\n<ul>\n<li>N1QL: uma linguagem de consulta semelhante a SQL para JSON.<\/li>\n<li>Visualiza\u00e7\u00f5es, inclusive multidimensionais: muito parecidas com as visualiza\u00e7\u00f5es do CouchDB.<\/li>\n<li>Pesquisas de valores-chave.<\/li>\n<\/ul>\n<p style=\"color: rgb(51, 51, 51); line-height: 20.8px; text-align: left;\">Se voc\u00ea souber a chave do documento de que precisa, poder\u00e1 fazer uma solicita\u00e7\u00e3o GET simples usando essa chave. N\u00e3o h\u00e1 necessidade de criar nenhum \u00edndice adicional.<\/p>\n<p><img decoding=\"async\" alt=\"N1QL in a terminal\" src=\"\/wp-content\/original-assets\/2016\/january\/couchbase-server-and-couchdb-compared\/n1ql-500px.png\" \/><\/p>\n<p><span style=\"line-height: 1.6em;\">Para consultas mais complexas, voc\u00ea pode usar o N1QL. O N1QL fornece uma maneira familiar semelhante ao SQL para consultar dados JSON. Por exemplo, para encontrar um perfil de usu\u00e1rio com base no endere\u00e7o de e-mail do usu\u00e1rio, usamos a seguinte consulta N1QL:<\/span><\/p>\n<pre>\nSELECT * FROM `users` WHERE email=\u201dmatthew@couchbase.com\u201d AND WHERE type=\u201duserProfile\u201d;\n<\/pre>\n<p>O N1QL permite que voc\u00ea consulte o JSON com a mesma flexibilidade que esperaria de um banco de dados relacional, incluindo JOINs entre documentos.<\/p>\n<p>Voc\u00ea tamb\u00e9m pode criar exibi\u00e7\u00f5es que funcionam de forma semelhante \u00e0s encontradas no CouchDB. Elas s\u00e3o especialmente \u00fateis para consultas multidimensionais, como o trabalho com dados geoespaciais.<\/p>\n<h3>Apache CouchDB<\/h3>\n<p>Como um armazenamento de documentos puro, o Apache CouchDB permite que voc\u00ea recupere dados com base no conte\u00fado dos documentos. Ele faz isso por meio de um sistema de exibi\u00e7\u00f5es. Voc\u00ea tamb\u00e9m pode extrair um documento completo usando sua chave.<\/p>\n<p>Voc\u00ea pode pensar nas exibi\u00e7\u00f5es do CouchDB como \u00edndices que voc\u00ea gera ao escrever consultas Map\/Reduce em JavaScript. Por exemplo, se voc\u00ea quiser recuperar um perfil de usu\u00e1rio com base no endere\u00e7o de e-mail desse usu\u00e1rio, poder\u00e1:<\/p>\n<ol>\n<li>Crie uma exibi\u00e7\u00e3o que forne\u00e7a todos os documentos que contenham um endere\u00e7o de e-mail e tenham um tipo de \"userProfie\".<\/li>\n<li>Consulte essa visualiza\u00e7\u00e3o para obter o endere\u00e7o de e-mail do usu\u00e1rio cujo perfil voc\u00ea deseja recuperar.<\/li>\n<\/ol>\n<h2>Arquitetura<\/h2>\n<h3>Servidor Couchbase<\/h3>\n<p><img decoding=\"async\" src=\"\/wp-content\/original-assets\/2016\/january\/couchbase-server-and-couchdb-compared\/cb-cluster.png\" \/><\/p>\n<p>O Couchbase Server foi desenvolvido desde o in\u00edcio para operar como um cluster de n\u00f3s.<\/p>\n<p>Cada servidor no cluster assume a responsabilidade por uma parte desse espa\u00e7o de hash. No servidor de aplicativos, a biblioteca do cliente Couchbase mant\u00e9m um mapa que mostra quais endere\u00e7os IP s\u00e3o respons\u00e1veis por quais partes do espa\u00e7o de hash. O local de cada documento \u00e9 decidido executando-se um hash no nome do bucket e da chave do documento e, em seguida, colocando-o de acordo com o servidor que det\u00e9m a parte relevante do espa\u00e7o de hash.<\/p>\n<p>H\u00e1 uma c\u00f3pia ativa de cada documento. Todas as grava\u00e7\u00f5es s\u00e3o feitas nessa c\u00f3pia ativa e, em opera\u00e7\u00e3o normal, todas as leituras s\u00e3o feitas a partir dela tamb\u00e9m. Isso significa que n\u00e3o h\u00e1 necessidade de se preocupar com a consist\u00eancia eventual dentro de um cluster, pois n\u00e3o h\u00e1 grava\u00e7\u00f5es a serem replicadas de outro lugar.<\/p>\n<p>As r\u00e9plicas de cada documento s\u00e3o feitas automaticamente e armazenadas em um servidor separado da c\u00f3pia ativa. Com o Couchbase Server, a replica\u00e7\u00e3o ocorre no n\u00edvel do documento e n\u00e3o no n\u00edvel do servidor completo. Isso significa que cada n\u00f3 tem um conjunto diferente de dados e as r\u00e9plicas s\u00e3o distribu\u00eddas por todo o cluster.<\/p>\n<p>N\u00e3o h\u00e1 pontos \u00fanicos de falha e \u00e9 f\u00e1cil escalar para conjuntos de dados enormes adicionando mais servidores ao cluster: o conjunto de dados inteiro n\u00e3o precisa caber em cada servidor.<\/p>\n<h4>Armazenamento em cache<\/h4>\n<p>O Couchbase Server tem um cache gerenciado integrado. Para cada solicita\u00e7\u00e3o que voc\u00ea fizer, o Couchbase Server verificar\u00e1 o cache de forma transparente em busca do documento de que voc\u00ea precisa. Se o documento n\u00e3o estiver no cache, ele o carregar\u00e1 do disco e o servir\u00e1 para voc\u00ea.<\/p>\n<p>Todas as grava\u00e7\u00f5es v\u00e3o para o cache e voc\u00ea pode ajustar em que ponto da solicita\u00e7\u00e3o elas s\u00e3o gravadas no disco ou replicadas para outros servidores.<\/p>\n<p>Para seu conjunto de trabalho, a maioria das solicita\u00e7\u00f5es de valor-chave \u00e9 inferior a um milissegundo.<\/p>\n<h4>Replica\u00e7\u00e3o entre datacenters<\/h4>\n<p>O Couchbase Server pode operar em zonas de disponibilidade e data centers. Cada cluster opera de forma independente, com altera\u00e7\u00f5es replicadas diretamente de servidor para servidor entre os clusters.<\/p>\n<p>Isso \u00e9 ideal para recupera\u00e7\u00e3o de desastres e balanceamento de carga geogr\u00e1fica.<\/p>\n<h3>Apache CouchDB<\/h3>\n<p>Os servidores CouchDB operam como n\u00f3s individuais, cada um contendo uma c\u00f3pia completa dos dados a serem armazenados. Os servidores de aplicativos podem ent\u00e3o ler e gravar em qualquer um dos servidores CouchDB. As altera\u00e7\u00f5es s\u00e3o replicadas de forma ass\u00edncrona entre cada servidor, em uma base de servidor para servidor.<\/p>\n<p>Uma maneira de executar um cluster do CouchDB \u00e9 ter um \u00fanico mestre que aceite grava\u00e7\u00f5es. As atualiza\u00e7\u00f5es s\u00e3o ent\u00e3o replicadas para os escravos e para um balanceador de carga HTTP, como o nginx, para distribuir as leituras uniformemente entre esses escravos.<\/p>\n<p>Isso tem duas consequ\u00eancias principais:<\/p>\n<ul>\n<li>o mestre \u00e9 um ponto \u00fanico de falha para aceitar leituras<\/li>\n<li>os dados lidos dos escravos s\u00e3o eventualmente consistentes: h\u00e1 um atraso entre uma grava\u00e7\u00e3o que ocorre no mestre e a replica\u00e7\u00e3o para todos os escravos.<\/li>\n<\/ul>\n<p>Como alternativa, um cluster do CouchDB poderia aceitar grava\u00e7\u00f5es em qualquer n\u00f3 e, em seguida, replicar entre cada um deles. Isso melhoraria a disponibilidade de grava\u00e7\u00e3o, mas aumentaria o escopo dos conflitos de grava\u00e7\u00e3o, que o CouchDB ajuda a detectar, e o tempo necess\u00e1rio para que todas as c\u00f3pias dos dados estejam sincronizadas.<\/p>\n<h2>Desenvolvimento<\/h2>\n<h3>Servidor Couchbase<\/h3>\n<p>O Couchbase Server \u00e9 desenvolvido ativamente pela Couchbase Inc., como um projeto de c\u00f3digo aberto. As partes de clustering e distribui\u00e7\u00e3o do Couchbase Server s\u00e3o escritas em Erlang, enquanto o manuseio de dados \u00e9 escrito em C e C++. Algumas partes do Couchbase Server, como o N1QL, s\u00e3o escritas em Go.<\/p>\n<p>O Couchbase Server tem v\u00e1rios SDKs que s\u00e3o desenvolvidos e suportados pela Couchbase Inc. Eles fornecem acesso idiom\u00e1tico a toda a gama de recursos do Couchbase Server, incluindo N1QL, visualiza\u00e7\u00f5es e acesso a valores-chave. Os SDKs oficiais est\u00e3o dispon\u00edveis para:<\/p>\n<ul>\n<li>Java (com suporte adicional para o Spring)<\/li>\n<li>.NET<\/li>\n<li>Node JS<\/li>\n<li>Ir<\/li>\n<li>C\/C++<\/li>\n<li>Python<\/li>\n<li>Rubi<\/li>\n<li>PHP.<\/li>\n<\/ul>\n<p>SDKs com suporte da comunidade est\u00e3o dispon\u00edveis para outros idiomas.<\/p>\n<p>O Couchbase Server funciona bem com outros sistemas, gra\u00e7as aos conectores desenvolvidos e suportados pela Couchbase Inc. Os conectores est\u00e3o dispon\u00edveis para:<\/p>\n<ul>\n<li style=\"list-style-type: disc; color: rgb(51, 51, 51); line-height: 20.8px;\">Fa\u00edsca<\/li>\n<li style=\"list-style-type: disc; color: rgb(51, 51, 51); line-height: 20.8px;\">Kafka<\/li>\n<li style=\"list-style-type: disc; color: rgb(51, 51, 51); line-height: 20.8px;\">Hadoop<\/li>\n<li style=\"list-style-type: disc; color: rgb(51, 51, 51); line-height: 20.8px;\">Elasticsearch<\/li>\n<li style=\"list-style-type: disc; color: rgb(51, 51, 51); line-height: 20.8px;\">Solr<\/li>\n<li style=\"list-style-type: disc; color: rgb(51, 51, 51); line-height: 20.8px;\">JDBC e ODBC, para N1QL.<\/li>\n<\/ul>\n<p>O feed de altera\u00e7\u00f5es internas do Couchbase Server oferece a voc\u00ea a oportunidade de implementar seus pr\u00f3prios conectores.<\/p>\n<h3>Apache CouchDB<\/h3>\n<p>O CouchDB foi escrito em Erlang, com base na estrutura OTP, por uma comunidade de desenvolvedores. O Erlang \u00e9 adequado para a cria\u00e7\u00e3o de sistemas tolerantes a falhas.<\/p>\n<p>O feed de altera\u00e7\u00f5es do CouchDB ajuda a integr\u00e1-lo a outros sistemas.<\/p>\n<p>As bibliotecas que envolvem a API REST do CouchDB est\u00e3o dispon\u00edveis na comunidade do CouchDB.<\/p>\n<h2>Licen\u00e7a<\/h2>\n<p>Tanto o Couchbase Server quanto o Apache CouchDB s\u00e3o projetos de c\u00f3digo aberto totalmente liberados sob a licen\u00e7a Apache 2.0.<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>","protected":false},"excerpt":{"rendered":"<p>Despite similar names, Couchbase Server and Apache CouchDB are quite different systems. \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 Here\u2019s a quick overview of how they differ and what they have in common. We&apos;re comparing Couchbase 4.1 and Apache CouchDB 1.6 [&hellip;]<\/p>","protected":false},"author":18,"featured_media":13873,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[1816],"tags":[],"ppma_author":[8982],"class_list":["post-2124","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-couchbase-server"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.7.1 (Yoast SEO v25.7) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Couchbase and Apache CouchDB compared - The Couchbase Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.couchbase.com\/blog\/pt\/couchbase-server-and-couchdb-compared\/\" \/>\n<meta property=\"og:locale\" content=\"pt_BR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Couchbase and Apache CouchDB compared\" \/>\n<meta property=\"og:description\" content=\"Despite similar names, Couchbase Server and Apache CouchDB are quite different systems. \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 Here\u2019s a quick overview of how they differ and what they have in common. We&amp;apos;re comparing Couchbase 4.1 and Apache CouchDB 1.6 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.couchbase.com\/blog\/pt\/couchbase-server-and-couchdb-compared\/\" \/>\n<meta property=\"og:site_name\" content=\"The Couchbase Blog\" \/>\n<meta property=\"article:published_time\" content=\"2016-01-15T09:22:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2022\/11\/couchbase-nosql-dbaas.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1800\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Matthew Revell, Lead Developer Advocate, EMEA, Couchbase\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Matthew Revell, Lead Developer Advocate, EMEA, Couchbase\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/couchbase-server-and-couchdb-compared\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/couchbase-server-and-couchdb-compared\/\"},\"author\":{\"name\":\"Matthew Revell, Lead Developer Advocate, EMEA, Couchbase\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/6c3060a94353df62a71d4672b3454555\"},\"headline\":\"Couchbase and Apache CouchDB compared\",\"datePublished\":\"2016-01-15T09:22:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/couchbase-server-and-couchdb-compared\/\"},\"wordCount\":1209,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/couchbase-server-and-couchdb-compared\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png\",\"articleSection\":[\"Couchbase Server\"],\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/couchbase-server-and-couchdb-compared\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/couchbase-server-and-couchdb-compared\/\",\"url\":\"https:\/\/www.couchbase.com\/blog\/couchbase-server-and-couchdb-compared\/\",\"name\":\"Couchbase and Apache CouchDB compared - The Couchbase Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/couchbase-server-and-couchdb-compared\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/couchbase-server-and-couchdb-compared\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png\",\"datePublished\":\"2016-01-15T09:22:48+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/couchbase-server-and-couchdb-compared\/#breadcrumb\"},\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/couchbase-server-and-couchdb-compared\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/couchbase-server-and-couchdb-compared\/#primaryimage\",\"url\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png\",\"contentUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png\",\"width\":1800,\"height\":630},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/couchbase-server-and-couchdb-compared\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.couchbase.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Couchbase and Apache CouchDB compared\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#website\",\"url\":\"https:\/\/www.couchbase.com\/blog\/\",\"name\":\"The Couchbase Blog\",\"description\":\"Couchbase, the NoSQL Database\",\"publisher\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.couchbase.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pt-BR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\",\"name\":\"The Couchbase Blog\",\"url\":\"https:\/\/www.couchbase.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png\",\"contentUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png\",\"width\":218,\"height\":34,\"caption\":\"The Couchbase Blog\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/6c3060a94353df62a71d4672b3454555\",\"name\":\"Matthew Revell, Lead Developer Advocate, EMEA, Couchbase\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/image\/b1bc555cd9166b46d6063003c3b92317\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3b38ea45b78371f0008a765ea828bfed91aa97c25981ebf214226402a510b39b?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3b38ea45b78371f0008a765ea828bfed91aa97c25981ebf214226402a510b39b?s=96&d=mm&r=g\",\"caption\":\"Matthew Revell, Lead Developer Advocate, EMEA, Couchbase\"},\"description\":\"Matthew Revell is a Lead Dev Advocate, EMEA Couchbase. He developed a global strategy for putting Couchbase front in the minds of the product's developers.\",\"url\":\"https:\/\/www.couchbase.com\/blog\/pt\/author\/matthew-revell\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Couchbase and Apache CouchDB compared - The Couchbase Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.couchbase.com\/blog\/pt\/couchbase-server-and-couchdb-compared\/","og_locale":"pt_BR","og_type":"article","og_title":"Couchbase and Apache CouchDB compared","og_description":"Despite similar names, Couchbase Server and Apache CouchDB are quite different systems. \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 Here\u2019s a quick overview of how they differ and what they have in common. We&apos;re comparing Couchbase 4.1 and Apache CouchDB 1.6 [&hellip;]","og_url":"https:\/\/www.couchbase.com\/blog\/pt\/couchbase-server-and-couchdb-compared\/","og_site_name":"The Couchbase Blog","article_published_time":"2016-01-15T09:22:48+00:00","og_image":[{"width":1800,"height":630,"url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2022\/11\/couchbase-nosql-dbaas.png","type":"image\/png"}],"author":"Matthew Revell, Lead Developer Advocate, EMEA, Couchbase","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Matthew Revell, Lead Developer Advocate, EMEA, Couchbase","Est. reading time":"6 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.couchbase.com\/blog\/couchbase-server-and-couchdb-compared\/#article","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/couchbase-server-and-couchdb-compared\/"},"author":{"name":"Matthew Revell, Lead Developer Advocate, EMEA, Couchbase","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/6c3060a94353df62a71d4672b3454555"},"headline":"Couchbase and Apache CouchDB compared","datePublished":"2016-01-15T09:22:48+00:00","mainEntityOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/couchbase-server-and-couchdb-compared\/"},"wordCount":1209,"commentCount":0,"publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/couchbase-server-and-couchdb-compared\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","articleSection":["Couchbase Server"],"inLanguage":"pt-BR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.couchbase.com\/blog\/couchbase-server-and-couchdb-compared\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.couchbase.com\/blog\/couchbase-server-and-couchdb-compared\/","url":"https:\/\/www.couchbase.com\/blog\/couchbase-server-and-couchdb-compared\/","name":"Couchbase and Apache CouchDB compared - The Couchbase Blog","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/couchbase-server-and-couchdb-compared\/#primaryimage"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/couchbase-server-and-couchdb-compared\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","datePublished":"2016-01-15T09:22:48+00:00","breadcrumb":{"@id":"https:\/\/www.couchbase.com\/blog\/couchbase-server-and-couchdb-compared\/#breadcrumb"},"inLanguage":"pt-BR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.couchbase.com\/blog\/couchbase-server-and-couchdb-compared\/"]}]},{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/www.couchbase.com\/blog\/couchbase-server-and-couchdb-compared\/#primaryimage","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","width":1800,"height":630},{"@type":"BreadcrumbList","@id":"https:\/\/www.couchbase.com\/blog\/couchbase-server-and-couchdb-compared\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.couchbase.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Couchbase and Apache CouchDB compared"}]},{"@type":"WebSite","@id":"https:\/\/www.couchbase.com\/blog\/#website","url":"https:\/\/www.couchbase.com\/blog\/","name":"Blog do Couchbase","description":"Couchbase, o banco de dados NoSQL","publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.couchbase.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pt-BR"},{"@type":"Organization","@id":"https:\/\/www.couchbase.com\/blog\/#organization","name":"Blog do Couchbase","url":"https:\/\/www.couchbase.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png","width":218,"height":34,"caption":"The Couchbase Blog"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/6c3060a94353df62a71d4672b3454555","name":"Matthew Revell, l\u00edder de suporte ao desenvolvedor, EMEA, Couchbase","image":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/image\/b1bc555cd9166b46d6063003c3b92317","url":"https:\/\/secure.gravatar.com\/avatar\/3b38ea45b78371f0008a765ea828bfed91aa97c25981ebf214226402a510b39b?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3b38ea45b78371f0008a765ea828bfed91aa97c25981ebf214226402a510b39b?s=96&d=mm&r=g","caption":"Matthew Revell, Lead Developer Advocate, EMEA, Couchbase"},"description":"Matthew Revell \u00e9 um dos principais defensores do desenvolvimento do Couchbase na regi\u00e3o EMEA. Ele desenvolveu uma estrat\u00e9gia global para colocar o Couchbase na mente dos desenvolvedores do produto.","url":"https:\/\/www.couchbase.com\/blog\/pt\/author\/matthew-revell\/"}]}},"authors":[{"term_id":8982,"user_id":18,"is_guest":0,"slug":"matthew-revell","display_name":"Matthew Revell, Lead Developer Advocate, EMEA, Couchbase","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/3b38ea45b78371f0008a765ea828bfed91aa97c25981ebf214226402a510b39b?s=96&d=mm&r=g","first_name":"Matthew","last_name":"Revell","user_url":"","author_category":"","description":"Matthew Revell \u00e9 um dos principais defensores do desenvolvimento do Couchbase na regi\u00e3o EMEA. Ele desenvolveu uma estrat\u00e9gia global para colocar o Couchbase na mente dos desenvolvedores do produto."}],"_links":{"self":[{"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/posts\/2124","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/comments?post=2124"}],"version-history":[{"count":0,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/posts\/2124\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/media\/13873"}],"wp:attachment":[{"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/media?parent=2124"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/categories?post=2124"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/tags?post=2124"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/ppma_author?post=2124"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}