SlideShare uma empresa Scribd logo
1 de 13
Couchbase
A NoSQL Document Store
Arpit Aggarwal
Why NoSQL?
• A NoSQL or “non relational” database reduces the need for
developers to maintain separate caching layers or write and
maintain sharding code.
• Supports Dynamic schemas with their polyglot persistence
architecture.
• Supports auto-sharding, replication and integrated caching.
Types of NoSQL?
• Key-value stores such as Redis, Riak.
• Document databases such as Couchbase, MongoDB.
• Wide-column stores such as Cassandra and Hbase.
• Graph stores such as Neo4J and HyperGraphDB.
How to choose any NoSQL?
Where does Couchbase lie down in CAP?
• The 'CAP' behaviour of Couchbase Server as a single cluster vs Couchbase
Server with XDCR is different.
• Couchbase Server is mainly referred to as a CP system.
• With a multi-cluster deployment with XDCR, Couchbase Server provides
you AP.
What is Couchbase?
• Open Source Key-Value NoSQL database that can act as a fully
functional NoSQL JSON document store.
• As it is a NoSQL technology you do not have a schema.
• It uses “buckets” as the containers for data storage.
• Couchbase Server uses buckets to group collections of keys and
values logically.
Architecture Overview
What is a Bucket?
• Equivalent of a database.
• Protected by the Couchbase Role-Based Access Control (RBAC) system.
• Cluster can have multiple buckets, each with its own memory quota,
number of replica copies, and capabilities.
• Data stored automatically replicate for high availability, using
the Database Change Protocol (DCP) and dynamically scaled across
multiple servers, by means of Cross Datacentre Replication (XDCR).
What is a Document?
• Documents are simply
Couchbase’ s term for the
information that’s associated
with a key.
• Think of a document as “Row” of
data.
• Each document stored in a data
bucket must have a unique
document ID, which is similar to
the concept of a SQL primary key.
Moving from Oracle to Couchbase
• Couchbase offers a SQL-like
language “N1QL” that would
seem very familiar to an RDBMS
user.
• Data Modelling.
• Couchbase Java SDK.
• Query Workbench.
Data Modelling
Cross Datacentre Replication (XDCR)
• Cross Datacentre Replication
(XDCR) provides an easy way to
replicate data from one cluster to
another.
• XDCR provides automatic conflict
resolution.
• XDCR only replicates data, it does
not replicate views or indexes.
Thank You!
….. Questions?

Mais conteúdo relacionado

Mais procurados

Nosql databases for the .net developer
Nosql databases for the .net developerNosql databases for the .net developer
Nosql databases for the .net developer
Jesus Rodriguez
 

Mais procurados (20)

Nosql databases for the .net developer
Nosql databases for the .net developerNosql databases for the .net developer
Nosql databases for the .net developer
 
PENXY - Redis in Azure
PENXY - Redis in AzurePENXY - Redis in Azure
PENXY - Redis in Azure
 
10 mongo db
10 mongo db10 mongo db
10 mongo db
 
CosmosDb for beginners
CosmosDb for beginnersCosmosDb for beginners
CosmosDb for beginners
 
NoSQL databases
NoSQL databasesNoSQL databases
NoSQL databases
 
Cassandra training
Cassandra trainingCassandra training
Cassandra training
 
Azure CosmosDB
Azure CosmosDBAzure CosmosDB
Azure CosmosDB
 
Cassandra
CassandraCassandra
Cassandra
 
NoSQL databases - An introduction
NoSQL databases - An introductionNoSQL databases - An introduction
NoSQL databases - An introduction
 
Introduction of Redis as NoSQL Database
Introduction of Redis as NoSQL DatabaseIntroduction of Redis as NoSQL Database
Introduction of Redis as NoSQL Database
 
Benchmarking Top NoSQL Databases: Apache Cassandra, Apache HBase and MongoDB
Benchmarking Top NoSQL Databases: Apache Cassandra, Apache HBase and MongoDBBenchmarking Top NoSQL Databases: Apache Cassandra, Apache HBase and MongoDB
Benchmarking Top NoSQL Databases: Apache Cassandra, Apache HBase and MongoDB
 
Introduction to NoSQL
Introduction to NoSQLIntroduction to NoSQL
Introduction to NoSQL
 
MongoDB introduction
MongoDB introductionMongoDB introduction
MongoDB introduction
 
Nosql seminar
Nosql seminarNosql seminar
Nosql seminar
 
SQL or NoSQL, that is the question!
SQL or NoSQL, that is the question!SQL or NoSQL, that is the question!
SQL or NoSQL, that is the question!
 
Building tiered data stores using aesop to bridge sql and no sql systems
Building tiered data stores using aesop to bridge sql and no sql systemsBuilding tiered data stores using aesop to bridge sql and no sql systems
Building tiered data stores using aesop to bridge sql and no sql systems
 
CBDW2014 - NoSQL Development With Couchbase and ColdFusion (CFML)
CBDW2014 - NoSQL Development With Couchbase and ColdFusion (CFML)CBDW2014 - NoSQL Development With Couchbase and ColdFusion (CFML)
CBDW2014 - NoSQL Development With Couchbase and ColdFusion (CFML)
 
Sql vs nosql
Sql vs nosqlSql vs nosql
Sql vs nosql
 
Introducing gluster filesystem by aditya
Introducing gluster filesystem by adityaIntroducing gluster filesystem by aditya
Introducing gluster filesystem by aditya
 
NoSQL Slideshare Presentation
NoSQL Slideshare Presentation NoSQL Slideshare Presentation
NoSQL Slideshare Presentation
 

Semelhante a Couchbase

04-Introduction-to-CassandraDB-.pdf
04-Introduction-to-CassandraDB-.pdf04-Introduction-to-CassandraDB-.pdf
04-Introduction-to-CassandraDB-.pdf
hothyfa
 
Application Development with Apache Cassandra as a Service
Application Development with Apache Cassandra as a ServiceApplication Development with Apache Cassandra as a Service
Application Development with Apache Cassandra as a Service
WSO2
 

Semelhante a Couchbase (20)

NoSql Data Management
NoSql Data ManagementNoSql Data Management
NoSql Data Management
 
04-Introduction-to-CassandraDB-.pdf
04-Introduction-to-CassandraDB-.pdf04-Introduction-to-CassandraDB-.pdf
04-Introduction-to-CassandraDB-.pdf
 
Виталий Бондаренко "Fast Data Platform for Real-Time Analytics. Architecture ...
Виталий Бондаренко "Fast Data Platform for Real-Time Analytics. Architecture ...Виталий Бондаренко "Fast Data Platform for Real-Time Analytics. Architecture ...
Виталий Бондаренко "Fast Data Platform for Real-Time Analytics. Architecture ...
 
NoSQL and MongoDB
NoSQL and MongoDBNoSQL and MongoDB
NoSQL and MongoDB
 
NOsql Presentation.pdf
NOsql Presentation.pdfNOsql Presentation.pdf
NOsql Presentation.pdf
 
Application Development with Apache Cassandra as a Service
Application Development with Apache Cassandra as a ServiceApplication Development with Apache Cassandra as a Service
Application Development with Apache Cassandra as a Service
 
Mongo Bb - NoSQL tutorial
Mongo Bb - NoSQL tutorialMongo Bb - NoSQL tutorial
Mongo Bb - NoSQL tutorial
 
Apache HBase™
Apache HBase™Apache HBase™
Apache HBase™
 
ElasticSearch: Distributed Multitenant NoSQL Datastore and Search Engine
ElasticSearch: Distributed Multitenant NoSQL Datastore and Search EngineElasticSearch: Distributed Multitenant NoSQL Datastore and Search Engine
ElasticSearch: Distributed Multitenant NoSQL Datastore and Search Engine
 
TYPES OF NO SQL DATABASES.pptx
TYPES OF NO SQL DATABASES.pptxTYPES OF NO SQL DATABASES.pptx
TYPES OF NO SQL DATABASES.pptx
 
Sql vs NO-SQL database differences explained
Sql vs NO-SQL database differences explainedSql vs NO-SQL database differences explained
Sql vs NO-SQL database differences explained
 
NoSql - mayank singh
NoSql - mayank singhNoSql - mayank singh
NoSql - mayank singh
 
NoSQL.pptx
NoSQL.pptxNoSQL.pptx
NoSQL.pptx
 
D2 rq
D2 rqD2 rq
D2 rq
 
Dropping ACID: Wrapping Your Mind Around NoSQL Databases
Dropping ACID: Wrapping Your Mind Around NoSQL DatabasesDropping ACID: Wrapping Your Mind Around NoSQL Databases
Dropping ACID: Wrapping Your Mind Around NoSQL Databases
 
NoSQL_Night
NoSQL_NightNoSQL_Night
NoSQL_Night
 
Apache Cassandra
Apache CassandraApache Cassandra
Apache Cassandra
 
Nosql databases
Nosql databasesNosql databases
Nosql databases
 
UNIT I Introduction to NoSQL.pptx
UNIT I Introduction to NoSQL.pptxUNIT I Introduction to NoSQL.pptx
UNIT I Introduction to NoSQL.pptx
 
Sa introduction to big data pipelining with cassandra & spark west mins...
Sa introduction to big data pipelining with cassandra & spark   west mins...Sa introduction to big data pipelining with cassandra & spark   west mins...
Sa introduction to big data pipelining with cassandra & spark west mins...
 

Último

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Último (20)

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 

Couchbase

  • 1. Couchbase A NoSQL Document Store Arpit Aggarwal
  • 2. Why NoSQL? • A NoSQL or “non relational” database reduces the need for developers to maintain separate caching layers or write and maintain sharding code. • Supports Dynamic schemas with their polyglot persistence architecture. • Supports auto-sharding, replication and integrated caching.
  • 3. Types of NoSQL? • Key-value stores such as Redis, Riak. • Document databases such as Couchbase, MongoDB. • Wide-column stores such as Cassandra and Hbase. • Graph stores such as Neo4J and HyperGraphDB.
  • 4. How to choose any NoSQL?
  • 5. Where does Couchbase lie down in CAP? • The 'CAP' behaviour of Couchbase Server as a single cluster vs Couchbase Server with XDCR is different. • Couchbase Server is mainly referred to as a CP system. • With a multi-cluster deployment with XDCR, Couchbase Server provides you AP.
  • 6. What is Couchbase? • Open Source Key-Value NoSQL database that can act as a fully functional NoSQL JSON document store. • As it is a NoSQL technology you do not have a schema. • It uses “buckets” as the containers for data storage. • Couchbase Server uses buckets to group collections of keys and values logically.
  • 8. What is a Bucket? • Equivalent of a database. • Protected by the Couchbase Role-Based Access Control (RBAC) system. • Cluster can have multiple buckets, each with its own memory quota, number of replica copies, and capabilities. • Data stored automatically replicate for high availability, using the Database Change Protocol (DCP) and dynamically scaled across multiple servers, by means of Cross Datacentre Replication (XDCR).
  • 9. What is a Document? • Documents are simply Couchbase’ s term for the information that’s associated with a key. • Think of a document as “Row” of data. • Each document stored in a data bucket must have a unique document ID, which is similar to the concept of a SQL primary key.
  • 10. Moving from Oracle to Couchbase • Couchbase offers a SQL-like language “N1QL” that would seem very familiar to an RDBMS user. • Data Modelling. • Couchbase Java SDK. • Query Workbench.
  • 12. Cross Datacentre Replication (XDCR) • Cross Datacentre Replication (XDCR) provides an easy way to replicate data from one cluster to another. • XDCR provides automatic conflict resolution. • XDCR only replicates data, it does not replicate views or indexes.