{"id":1561,"date":"2019-08-09T10:00:19","date_gmt":"2019-08-09T17:00:19","guid":{"rendered":"https:\/\/www.couchbase.com\/blog\/introducing-collections-developer-preview-in-couchbase-server-6-5\/"},"modified":"2019-08-09T10:00:19","modified_gmt":"2019-08-09T17:00:19","slug":"introducing-collections-developer-preview-in-couchbase-server-6-5","status":"publish","type":"post","link":"https:\/\/www.couchbase.com\/blog\/pt\/introducing-collections-developer-preview-in-couchbase-server-6-5\/","title":{"rendered":"Intro to Collections &#8211; Dev Preview in Couchbase Server 6.5"},"content":{"rendered":"<p><span>Couchbase, a document database, allows great flexibility in storing different types of documents in a single bucket (bucket being the equivalent of a database). There is a frequent need to refer to documents of a similar type together e.g. an apparel retailer may want to separate out all clothes from all shoes. They can do this today with Couchbase by using key prefixes or type fields, but it does make the application more cumbersome.\u00a0<\/span><\/p>\n\n\n\n<p><span>Having containerization of similar items at the database layer not only makes the application simpler but allows for efficiencies in data processing at its lowest levels. Further, having additional levels of containment under buckets allow for access control at a finer granularity than buckets. <\/span><\/p>\n\n\n\n<p><span>This opens the door for having a more scalable multi-tenant platform with Couchbase than using buckets would allow. It is with these goals that we developed the feature referred to as \u2018Collections\u2019.<\/span><\/p>\n\n\n\n<p><strong>Couchbase Server 6.5 makes available a Developer Preview of Collections.<\/strong><\/p>\n\n\n\n<p><span>In this blog, I will describe at a high level what collections are, what use cases they enable, and the functionality they provide. Sample code is shown in this <\/span><a href=\"https:\/\/www.couchbase.com\/blog\/pt\/get-started-with-couchbase-collections-using-the-demo-app\/\"><span>blog post by Johan<\/span><\/a><span>.<\/span><\/p>\n\n\n\n<p><i><span>Note: A Developer Preview feature cannot be used in production. Read detailed guidelines regarding Developer Preview here: <\/span><\/i><a href=\"https:\/\/docs.couchbase.com\/server\/6.5\/developer-preview\/preview-mode.html\"><i><span>Developer Preview Documentation<\/span><\/i><\/a><i><span>.<\/span><\/i><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span>What are Collections?<\/span><\/h2>\n\n\n\n<p><span>They are logical data containers inside a Couchbase bucket that group similar data, just like a \u2018Table\u2019 does in a relational database.<\/span><\/p>\n\n\n\n<p><span>There is also another level available for data organization called \u2018Scope\u2019 similar to a \u2018Schema\u2019 in a relational database. The namespace within each scope is independent of others, hence you can have the same collection names in different scopes. Similarly, document keys need to be unique only within a collection and hence documents with the same key can exist in different collections.<\/span><\/p>\n\n\n\n<p><span>With this new introduction, role-based access controls can now be applied at the cluster, bucket, scope and collection levels.<\/span><\/p>\n\n\n\n<p><i><span>Note: The Developer Preview does not have the scope and collection-level RBAC but it will be available with the production version in Couchbase 7.0.<\/span><\/i><\/p>\n\n\n\n<p><span>For a seamless upgrade, and for backward compatibility, every bucket has a \u2018_default\u2019 scope and the \u2018_default\u2019 scope has a \u2018_default\u2019 collection. The _default collection provides backward compatibility as a direct reference to the bucket will automatically map to the _default collection. Also, on upgrade, all existing data will automatically go to the _default collection.\u00a0<\/span><\/p>\n\n\n\n<p><span>While the _default collection is provided as a backward compatibility mechanism, it is recommended that new applications should be written using a named collection.<\/span><\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-7364 size-large\" src=\"https:\/\/www.couchbase.com\/wp-content\/uploads\/sites\/5\/2026\/05\/collections_sample_hierarchy-1024x820-1.png\" alt=\"an example data containment hierarchy using scopes and collections in couchbase\" width=\"900\" height=\"721\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span>Simplified Data Organization with Collections<\/span><\/h2>\n\n\n\n<p><span>As mentioned earlier, the new logical groupings enable better data organization, similar to tables in a relational database.<br>\nBenefits include:<\/span><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><span>Easier mapping of relational schemas to Couchbase by creating a collection for a corresponding relational table.<\/span><\/li>\n\n\n<li><span>Ability to refer to similar documents as a unit for various purposes such as building an index, setting up replication, querying, backup\/restore, etc.<\/span><\/li>\n\n\n<li><span>More scalable indexing as the data service has to only send the documents for the collection rather than the indexer receiving documents for the whole bucket and filtering them.<\/span><\/li>\n\n\n<li><span>Easier to write N1QL &#8211; statements can access a collection as a table directly instead of having to dynamically construct them using an attribute for the type of the document.<\/span><\/li>\n\n<\/ul>\n\n\n\n<p>For example, compare queries with and without collections:<\/p>\n\n\n\n<p><span>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0SELECT * FROM products WHERE type = \u2018clothes\u2019;<\/span><\/p>\n\n\n\n<p>vs.<\/p>\n\n\n\n<p><span>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0SELECT * FROM products.clothes;<\/span><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span>Running Multi-tenant Applications with Collections<\/span><\/h2>\n\n\n\n<p><span>Multi-tenant applications require varying levels of isolation between tenants and varying levels of resource sharing of the underlying infrastructure.\u00a0<\/span><\/p>\n\n\n\n<p><span>Within Couchbase today: <\/span><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><span>complete physical, security and logical isolation is achieved by deploying separate clusters but provides the least sharing of resources\u00a0<\/span><\/li>\n\n\n<li><span>security and logical isolation is achieved with multiple buckets per cluster but has its own limits in terms of overhead-per-bucket<\/span><\/li>\n\n\n<li><span>multiple tenants placed in a single bucket provides the best sharing of resources but requires the application to handle any security or logical isolation.<\/span><\/li>\n\n<\/ul>\n\n\n\n<p><span>With the introduction of collections (and grouping them into scopes), Couchbase can provide security and logical isolation at more granular levels within a bucket.\u00a0 You can have thousands of groupings in a single bucket hence enabling you to host thousands of tenants in a single cluster. In contrast, the number of buckets that can be hosted in a single cluster is limited (note this limit has increased to 30 in Couchbase Server 6.5 with appropriate sizing), and often not enough for the needs of multi-tenant applications.<\/span><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span>Consolidating Microservices with Collections<\/span><\/h2>\n\n\n\n<p><span>Modern applications are often written as a suite of microservices and a single application can be comprised of 100s of microservices. While using a bucket or even cluster per microservice is still an option, collections (and scopes) provide a more scalable alternative to consolidate more microservices into a single Couchbase cluster.<\/span><\/p>\n\n\n\n<p><span>Multi-tenancy and microservice-based architecture are not mutually exclusive. Many multi-tenant applications are written using a microservices architecture. With buckets, scopes, and collections, now you have many levels of containment available to you and this gives you flexibility how you want to map tenants, microservices and tables.<\/span><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span>Functionality availability in the Developer Preview<\/span><\/h2>\n\n\n\n<p><span>Once you have turned on the Developer Preview switch in a Couchbase 6.5 cluster (<\/span><a href=\"https:\/\/docs.couchbase.com\/server\/6.5\/developer-preview\/preview-mode.html\"><i><span>Developer Preview Documentation<\/span><\/i><\/a><span>), you can start using collections and scopes. A few of the key scope and collection features of the DP functionality include:<\/span><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><span>Support for them in both Ephemeral and Couchbase buckets<\/span><\/li>\n\n\n<li><span>All Couchbase SDKs support DDL and CRUD operations on them<\/span><\/li>\n\n\n<li><span>You can create and drop them &#8211; from the SDK, REST API or couchbase-cli.<\/span><\/li>\n\n\n<li><span>You can perform all CRUD operations on a collection (including <a href=\"https:\/\/www.couchbase.com\/blog\/pt\/subdoc-explained\/\">subdoc<\/a>).\u00a0<\/span><\/li>\n\n\n<li><span>The item count of each collection is available with cbstats.<\/span><\/li>\n\n\n<li><span>DCP protocol is enhanced to stream a single scope or a single collection (in addition to the existing ability to stream a single bucket).<\/span><\/li>\n\n<\/ul>\n\n\n\n<p>Note: DP is primarily for Key-Value access. RBAC will be available later. Integration with XDCR, Indexing and N1QL, Eventing, Analytics and Mobile will preview later.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span>Next Steps<\/span><\/h2>\n\n\n\n<p><span>Here are some resources for you to start using the new Developer Preview features:<\/span><\/p>\n\n\n\n<p><strong><i>Download<\/i><\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/www.couchbase.com\/blog\/pt\/downloads\/?family=server&amp;product=couchbase-server-developer\"><span>Download Couchbase Server 6.5<\/span><\/a><\/p>\n\n\n\n<p><i><span>\u00a0<\/span><\/i><strong><i>Documentation<\/i><\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/docs.couchbase.com\/server\/6.5\/developer-preview\/collections\/collections-overview.html\">Couchbase Server 6.5 Collections Documentation<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/docs.couchbase.com\/server\/6.5\/release-notes\/relnotes.html\"><span>Couchbase Server 6.5 Release Notes<\/span><\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/docs.couchbase.com\/server\/6.5\/introduction\/whats-new.html\"><span>Couchbase Server 6.5 What\u2019s New<\/span><\/a><\/p>\n\n\n\n<p><span>\u00a0<\/span><i><span><strong>Blogs<\/strong>\u00a0<\/span><\/i><\/p>\n\n\n\n<p><a href=\"https:\/\/www.couchbase.com\/blog\/pt\/get-started-with-couchbase-collections-using-the-demo-app\/\">Getting Started with Couchbase Collections using the Demo App<\/a><\/p>\n\n\n\n<p><span class=\"s1\"><a href=\"https:\/\/www.couchbase.com\/blog\/pt\/announcing-couchbase-server-6-5-0-beta-whats-new-and-improved\/\">Blog: Announcing Couchbase Server 6.5 \u2013 What\u2019s New and Improved<\/a><\/span><\/p>\n\n\n\n<p><a href=\"https:\/\/www.couchbase.com\/blog\/pt\/tag\/6-5\/\"><b>All 6.5 Blogs<\/b><\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>Couchbase, a document database, allows great flexibility in storing different types of documents in a single bucket (bucket being the equivalent of a database). There is a frequent need to refer to documents of a similar type together e.g. an apparel retailer may want to separate out all clothes from all shoes. They can do [&hellip;]<\/p>\n","protected":false},"author":31463,"featured_media":1560,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[127,179,54],"tags":[349,365,366,261,367],"ppma_author":[368],"class_list":["post-1561","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-application-design","category-couchbase-architecture","category-couchbase-server","tag-6-5","tag-collections","tag-microservices","tag-rbac","tag-scopes"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.6 (Yoast SEO v27.6) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Intro to Collections - Dev Preview in Couchbase Server 6.5<\/title>\n<meta name=\"description\" content=\"Introducing collections! Role-based access control now applies to logical data containers at the cluster, bucket, scope and collection.\" \/>\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\/introducing-collections-developer-preview-in-couchbase-server-6-5\/\" \/>\n<meta property=\"og:locale\" content=\"pt_BR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Intro to Collections - Dev Preview in Couchbase Server 6.5\" \/>\n<meta property=\"og:description\" content=\"Introducing collections! Role-based access control now applies to logical data containers at the cluster, bucket, scope and collection.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.couchbase.com\/blog\/pt\/introducing-collections-developer-preview-in-couchbase-server-6-5\/\" \/>\n<meta property=\"og:site_name\" content=\"The Couchbase Blog\" \/>\n<meta property=\"article:published_time\" content=\"2019-08-09T17:00:19+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/5\/2026\/05\/nosql-collections-logical.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1588\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Shivani Gupta\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Shivani Gupta\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/introducing-collections-developer-preview-in-couchbase-server-6-5\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/introducing-collections-developer-preview-in-couchbase-server-6-5\\\/\"},\"author\":{\"name\":\"Shivani Gupta\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/#\\\/schema\\\/person\\\/1015706fa52f49e2e4ab139abda363b1\"},\"headline\":\"Intro to Collections &#8211; Dev Preview in Couchbase Server 6.5\",\"datePublished\":\"2019-08-09T17:00:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/introducing-collections-developer-preview-in-couchbase-server-6-5\\\/\"},\"wordCount\":1051,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/introducing-collections-developer-preview-in-couchbase-server-6-5\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/5\\\/2026\\\/05\\\/nosql-collections-logical.png\",\"keywords\":[\"6.5\",\"collections\",\"microservices\",\"RBAC\",\"scopes\"],\"articleSection\":[\"Application Design\",\"Couchbase Architecture\",\"Couchbase Server\"],\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/introducing-collections-developer-preview-in-couchbase-server-6-5\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/introducing-collections-developer-preview-in-couchbase-server-6-5\\\/\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/introducing-collections-developer-preview-in-couchbase-server-6-5\\\/\",\"name\":\"Intro to Collections - Dev Preview in Couchbase Server 6.5\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/introducing-collections-developer-preview-in-couchbase-server-6-5\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/introducing-collections-developer-preview-in-couchbase-server-6-5\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/5\\\/2026\\\/05\\\/nosql-collections-logical.png\",\"datePublished\":\"2019-08-09T17:00:19+00:00\",\"description\":\"Introducing collections! Role-based access control now applies to logical data containers at the cluster, bucket, scope and collection.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/introducing-collections-developer-preview-in-couchbase-server-6-5\\\/#breadcrumb\"},\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/introducing-collections-developer-preview-in-couchbase-server-6-5\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/introducing-collections-developer-preview-in-couchbase-server-6-5\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/5\\\/2026\\\/05\\\/nosql-collections-logical.png\",\"contentUrl\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/5\\\/2026\\\/05\\\/nosql-collections-logical.png\",\"width\":1588,\"height\":628},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/introducing-collections-developer-preview-in-couchbase-server-6-5\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Intro to Collections &#8211; Dev Preview in Couchbase Server 6.5\"}]},{\"@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\\\/sites\\\/5\\\/2026\\\/06\\\/logo.svg\",\"contentUrl\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/5\\\/2026\\\/06\\\/logo.svg\",\"width\":\"1024\",\"height\":\"1024\",\"caption\":\"The Couchbase Blog\"},\"image\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/#\\\/schema\\\/person\\\/1015706fa52f49e2e4ab139abda363b1\",\"name\":\"Shivani Gupta\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/21281e35ea9170ee660a9c1417cf39f4b04015e2628fd86f3d7580a305964fa8?s=96&d=mm&r=g958854edc0e632ef5d325afcfa90cf32\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/21281e35ea9170ee660a9c1417cf39f4b04015e2628fd86f3d7580a305964fa8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/21281e35ea9170ee660a9c1417cf39f4b04015e2628fd86f3d7580a305964fa8?s=96&d=mm&r=g\",\"caption\":\"Shivani Gupta\"},\"description\":\"Shivani Gupta is Director of Product Management at Couchbase for the Core Server. Shivani has over 20 years of varied experience in Big Data, Distributed Systems, and Databases at different companies including Oracle, Microsoft, VMWare, Hortonworks and now Couchbase.\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/pt\\\/author\\\/shivani-gupta\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Intro to Collections - Dev Preview in Couchbase Server 6.5","description":"Introducing collections! Role-based access control now applies to logical data containers at the cluster, bucket, scope and collection.","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\/introducing-collections-developer-preview-in-couchbase-server-6-5\/","og_locale":"pt_BR","og_type":"article","og_title":"Intro to Collections - Dev Preview in Couchbase Server 6.5","og_description":"Introducing collections! Role-based access control now applies to logical data containers at the cluster, bucket, scope and collection.","og_url":"https:\/\/www.couchbase.com\/blog\/pt\/introducing-collections-developer-preview-in-couchbase-server-6-5\/","og_site_name":"The Couchbase Blog","article_published_time":"2019-08-09T17:00:19+00:00","og_image":[{"width":1588,"height":628,"url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/5\/2026\/05\/nosql-collections-logical.png","type":"image\/png"}],"author":"Shivani Gupta","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Shivani Gupta","Est. reading time":"5 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.couchbase.com\/blog\/introducing-collections-developer-preview-in-couchbase-server-6-5\/#article","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/introducing-collections-developer-preview-in-couchbase-server-6-5\/"},"author":{"name":"Shivani Gupta","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/1015706fa52f49e2e4ab139abda363b1"},"headline":"Intro to Collections &#8211; Dev Preview in Couchbase Server 6.5","datePublished":"2019-08-09T17:00:19+00:00","mainEntityOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/introducing-collections-developer-preview-in-couchbase-server-6-5\/"},"wordCount":1051,"commentCount":2,"publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/introducing-collections-developer-preview-in-couchbase-server-6-5\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/5\/2026\/05\/nosql-collections-logical.png","keywords":["6.5","collections","microservices","RBAC","scopes"],"articleSection":["Application Design","Couchbase Architecture","Couchbase Server"],"inLanguage":"pt-BR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.couchbase.com\/blog\/introducing-collections-developer-preview-in-couchbase-server-6-5\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.couchbase.com\/blog\/introducing-collections-developer-preview-in-couchbase-server-6-5\/","url":"https:\/\/www.couchbase.com\/blog\/introducing-collections-developer-preview-in-couchbase-server-6-5\/","name":"Intro to Collections - Dev Preview in Couchbase Server 6.5","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/introducing-collections-developer-preview-in-couchbase-server-6-5\/#primaryimage"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/introducing-collections-developer-preview-in-couchbase-server-6-5\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/5\/2026\/05\/nosql-collections-logical.png","datePublished":"2019-08-09T17:00:19+00:00","description":"Introducing collections! Role-based access control now applies to logical data containers at the cluster, bucket, scope and collection.","breadcrumb":{"@id":"https:\/\/www.couchbase.com\/blog\/introducing-collections-developer-preview-in-couchbase-server-6-5\/#breadcrumb"},"inLanguage":"pt-BR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.couchbase.com\/blog\/introducing-collections-developer-preview-in-couchbase-server-6-5\/"]}]},{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/www.couchbase.com\/blog\/introducing-collections-developer-preview-in-couchbase-server-6-5\/#primaryimage","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/5\/2026\/05\/nosql-collections-logical.png","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/5\/2026\/05\/nosql-collections-logical.png","width":1588,"height":628},{"@type":"BreadcrumbList","@id":"https:\/\/www.couchbase.com\/blog\/introducing-collections-developer-preview-in-couchbase-server-6-5\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.couchbase.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Intro to Collections &#8211; Dev Preview in Couchbase Server 6.5"}]},{"@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\/sites\/5\/2026\/06\/logo.svg","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/5\/2026\/06\/logo.svg","width":"1024","height":"1024","caption":"The Couchbase Blog"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/1015706fa52f49e2e4ab139abda363b1","name":"Shivani Gupta","image":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/secure.gravatar.com\/avatar\/21281e35ea9170ee660a9c1417cf39f4b04015e2628fd86f3d7580a305964fa8?s=96&d=mm&r=g958854edc0e632ef5d325afcfa90cf32","url":"https:\/\/secure.gravatar.com\/avatar\/21281e35ea9170ee660a9c1417cf39f4b04015e2628fd86f3d7580a305964fa8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/21281e35ea9170ee660a9c1417cf39f4b04015e2628fd86f3d7580a305964fa8?s=96&d=mm&r=g","caption":"Shivani Gupta"},"description":"Shivani Gupta is Director of Product Management at Couchbase for the Core Server. Shivani has over 20 years of varied experience in Big Data, Distributed Systems, and Databases at different companies including Oracle, Microsoft, VMWare, Hortonworks and now Couchbase.","url":"https:\/\/www.couchbase.com\/blog\/pt\/author\/shivani-gupta\/"}]}},"acf":[],"authors":[{"term_id":368,"user_id":31463,"is_guest":0,"slug":"shivani-gupta","display_name":"Shivani Gupta","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","0":null,"1":"","2":"","3":"","4":"","5":"","6":"","7":"","8":""}],"_links":{"self":[{"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/posts\/1561","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\/31463"}],"replies":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/comments?post=1561"}],"version-history":[{"count":0,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/posts\/1561\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/media\/1560"}],"wp:attachment":[{"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/media?parent=1561"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/categories?post=1561"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/tags?post=1561"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/ppma_author?post=1561"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}