{"id":13610,"date":"2022-07-27T09:24:22","date_gmt":"2022-07-27T16:24:22","guid":{"rendered":"https:\/\/www.couchbase.com\/blog\/?p=13610"},"modified":"2025-06-13T17:32:02","modified_gmt":"2025-06-14T00:32:02","slug":"couchbase-mongodb-nosql-misconceptions-5","status":"publish","type":"post","link":"https:\/\/www.couchbase.com\/blog\/couchbase-mongodb-nosql-misconceptions-5\/","title":{"rendered":"Couchbase vs MongoDB: NoSQL Misconceptions Part 5"},"content":{"rendered":"<p><span style=\"font-weight: 400\">Misconceptions on NoSQL have been around for a long time. This blog series is now wrapping up with a discussion of what it means to be &#8220;most dreaded&#8221; and what it means to give memory to a database.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Be sure to check out the previous posts in this series:<\/span><\/p>\n<ul>\n<li style=\"list-style-type: none\">\n<ul>\n<li style=\"font-weight: 400\"><a href=\"https:\/\/www.couchbase.com\/blog\/couchbase-mongodb-nosql-misconceptions-1\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400\">Part 1: What about SQL? Is the learning curve steep?<\/span><\/a><\/li>\n<li style=\"font-weight: 400\"><a href=\"https:\/\/www.couchbase.com\/blog\/couchbase-mongodb-nosql-misconceptions-2\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400\">Part 2: Is Couchbase just a Key-Value Store? Does Couchbase have Lucene search?<\/span><\/a><\/li>\n<li style=\"font-weight: 400\"><a href=\"https:\/\/www.couchbase.com\/blog\/couchbase-mongodb-nosql-misconceptions-3\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400\">Part 3: Is NoSQL secure? Will it lose my data? What about ACID?<\/span><\/a><\/li>\n<li style=\"font-weight: 400\"><a href=\"https:\/\/www.couchbase.com\/blog\/couchbase-mongodb-nosql-misconceptions-4\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400\">Part 4: Scaling and Popularity<\/span><\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><span style=\"font-weight: 400\">In this post, I\u2019ll again look at some of the <\/span><a href=\"https:\/\/web.archive.org\/web\/20210810020126\/https:\/\/www.mongodb.com\/mongodb-vs-couchbase\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400\">misconceptions that MongoDB has made about Couchbase and NoSQL<\/span><\/a><span style=\"font-weight: 400\">.<\/span><\/p>\n<h2><b>Is Couchbase the &#8220;most dreaded database&#8221;?<\/b><\/h2>\n<p><a href=\"https:\/\/web.archive.org\/web\/20210810020126\/https:\/\/www.mongodb.com\/mongodb-vs-couchbase\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400\">Mongo<\/span><\/a><span style=\"font-weight: 400\"> calls attention to the Stack Overflow Developer Survey from 2020, which is now two years out of date. It\u2019s true that Couchbase was ranked low on that survey. However, it\u2019s not because developers ticked a box that said &#8220;I dread this database&#8221; (it\u2019s inferred from checkboxes about projects planned over the next year).<\/span><\/p>\n<p><span style=\"font-weight: 400\">Furthermore, the name &#8220;Couchbase&#8221; is often confused with the similarly named but otherwise very different &#8220;CouchDB&#8221; (a <\/span><a href=\"https:\/\/web.archive.org\/web\/20210810020126\/https:\/\/www.mongodb.com\/mongodb-vs-couchbase\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400\">common mistaken assumption that even Mongo made<\/span><\/a><span style=\"font-weight: 400\"> on their webpage). That\u2019s been proven out with the most recent results from the <\/span><a href=\"https:\/\/survey.stackoverflow.co\/2022\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400\">2022 Developer Survey<\/span><\/a><span style=\"font-weight: 400\">, which added CouchDB as a distinct option. Since 2020, Couchbase has continued to climb in the 2021 and 2022 survey results, with an increase of over 11 points since 2021.<\/span><\/p>\n<p><span style=\"font-weight: 400\">And even more important to point out, is that while Couchbase certainly has work to do in terms of awareness, the top two databases in the survey are PostgreSQL and Redis. These are two databases that provide excellent SQL support and caching, as two separate products. Clearly, SQL and memory-first architecture are two things that developers want, and Couchbase already brings those things together.<\/span><\/p>\n<p><span style=\"font-weight: 400\">For the 6,803 developers who &#8220;dread&#8221; working with Mongo, you might consider checking out <\/span><a href=\"https:\/\/cloud.couchbase.com\/sign-up\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400\">Couchbase Capella<\/span><\/a><span style=\"font-weight: 400\">, if you\u2019re looking for the flexibility of JSON and the familiarity of SQL (two of the top three languages in the survey are JavaScript and SQL, after all).<\/span><\/p>\n<p><span style=\"font-weight: 400\">Stack Overflow\u2019s Developer Survey is important, and Couchbase is always working to improve the developer experience. If you\u2019re interested in other surveys and awards where Couchbase did well, check out:<\/span><\/p>\n<ul>\n<li style=\"list-style-type: none\">\n<ul>\n<li style=\"font-weight: 400\"><a href=\"https:\/\/www.couchbase.com\/blog\/couchbase-trustradius-top-rated-awards-2022\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400\">TrustRadius Top Rated<\/span><\/a><span style=\"font-weight: 400\">, awarded based on feedback directly from customers<\/span><\/li>\n<li style=\"font-weight: 400\"><a href=\"https:\/\/www.dbta.com\/Editorial\/Trends-and-Applications\/DBTA-100-2022-The-Companies-That-Matter-Most-in-Data-153094.aspx\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400\">DBTA 100<\/span><\/a><span style=\"font-weight: 400\"> &#8211; the companies that matter most, according to Database Trends and Applications<\/span><\/li>\n<li style=\"font-weight: 400\"><a href=\"https:\/\/www.inspiring-workplaces.com\/stories\/top-50-inspiring-workplaces-across-emea-announced\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400\">Top 50 inspiring workplaces<\/span><\/a><\/li>\n<li style=\"font-weight: 400\"><a href=\"https:\/\/www.crn.com\/slide-shows\/applications-os\/the-coolest-database-system-companies-of-the-2022-big-data-100\/3\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400\">The Coolest Database System Companies of 2022<\/span><\/a><\/li>\n<li style=\"font-weight: 400\"><a href=\"https:\/\/www.couchbase.com\/blog\/couchbase-database-leader-spring-2022-g2-reports\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400\">7 awards from G2<\/span><\/a><span style=\"font-weight: 400\">, a peer-to-peer reviewing site<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">A <\/span><a href=\"https:\/\/www.crn.com\/slide-shows\/cloud\/crn-s-2021-products-of-the-year\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400\">Product of the year<\/span><\/a><span style=\"font-weight: 400\"> from CRN.<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><span style=\"font-weight: 400\">Yes, we still have a lot work to do. But Couchbase cares about developers and will continue to build and improve to meet your needs.<\/span><\/p>\n<h2><b>Can\u2019t every database use memory?<\/b><\/h2>\n<p><span style=\"font-weight: 400\">This last misconception is about how databases use memory. It can be a complex issue, but generally speaking, memory usage in databases breaks down into two categories:<\/span><\/p>\n<ul>\n<li style=\"list-style-type: none\">\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Buffering<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Caching<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><span style=\"font-weight: 400\">These terms describe very different things, but are often used (mistakenly) interchangeably.<\/span><\/p>\n<h3><b>What\u2019s a buffer?<\/b><\/h3>\n<p><span style=\"font-weight: 400\">Simply put, a <\/span><b>buffer<\/b><span style=\"font-weight: 400\"> is used to smooth out the speeds at which data is moved around. Results of a query could be put into a buffer, so that the client can read from the buffer instead of directly from the query process. Once the results are consumed, the data is no longer in the buffer.<\/span><\/p>\n<h3><b>What\u2019s a cache?<\/b><\/h3>\n<p><span style=\"font-weight: 400\">On the other hand, <\/span><b>caching<\/b><span style=\"font-weight: 400\"> is used to provide fast access to data repeatedly. The result of a key-value lookup fetched from disk the first time, can be stored in memory for the next time it needs to be accessed. Data will stay in the cache until it\u2019s &#8220;invalidated&#8221; (expired, or kicked out, or whatever the caching mechanism is).<\/span><\/p>\n<p><span style=\"font-weight: 400\">This presentation from <a href=\"https:\/\/www.youtube.com\/watch?v=mXQ2uv63Wjk\" target=\"_blank\" rel=\"noopener\">Couchbase customer UPS<\/a> discusses (among other things) Couchbase\u2019s Managed Cache implementation, and the benefits of a managed cache:<\/span><\/p>\n<p><iframe loading=\"lazy\" title=\"Customer Spotlight: Couchbase Use Cases at UPS\" width=\"900\" height=\"506\" src=\"https:\/\/www.youtube.com\/embed\/mXQ2uv63Wjk?feature=oembed&#038;enablejsapi=1&#038;origin=https:\/\/www.couchbase.com\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe><\/p>\n<p><span style=\"font-weight: 400\">It\u2019s true that just about every database uses buffering and it\u2019s true that the space for buffering could be adjusted, and that may improve performance. But it\u2019s NOT true that every database has a built-in managed cache. This is why, for instance, Redis (a caching system) is often paired with databases that <\/span><i><span style=\"font-weight: 400\">don\u2019t<\/span><\/i><span style=\"font-weight: 400\"> have any caching capabilities.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Couchbase has a <em>built-in managed cache<\/em>, so you don\u2019t need to bolt on any additional tooling for caching, or worry about it getting out of sync: it\u2019s all automatic.<\/span><\/p>\n<p><span style=\"font-weight: 400\">So, just keep this in mind when evaluating database memory configuration: does it affect buffering, caching, or both?<\/span><\/p>\n<h3><b>Should I just put everything in memory?<\/b><\/h3>\n<p><span style=\"font-weight: 400\">Well, sure. That\u2019s one way to go. For certain databases sizes, this is feasible and affordable. For larger database sizes (e.g., multiple terabytes), that may not be the most affordable route. And you might not even be using enough of that data on a regular basis anyway.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Enter: Couchbase\u2019s new <\/span><a href=\"https:\/\/www.couchbase.com\/blog\/low-tco-with-couchbase\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400\">Magma storage engine<\/span><\/a><span style=\"font-weight: 400\">, which can bring multiple terabyte support to your data with as low as a 1% memory-to-data ratio.<\/span><\/p>\n<h2><b>What\u2019s next?<\/b><\/h2>\n<p><span style=\"font-weight: 400\">Thanks for reading this series on NoSQL misconceptions.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Want to discuss further? You are welcome to join the <\/span><a href=\"https:\/\/www.couchbase.com\/blog\/couchbase-on-discord\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400\">Couchbase Discord<\/span><\/a><span style=\"font-weight: 400\"> for further conversation, questions, and answers with the Couchbase staff and community. Also check out the new <\/span><a href=\"https:\/\/www.couchbase.com\/blog\/introducing-the-couchbase-community-hub\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400\">Couchbase Community Hub<\/span><\/a><span style=\"font-weight: 400\">.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Misconceptions on NoSQL have been around for a long time. This blog series is now wrapping up with a discussion of what it means to be &#8220;most dreaded&#8221; and what it means to give memory to a database. Be sure [&hellip;]<\/p>\n","protected":false},"author":71,"featured_media":12777,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[1816,6319,9417,1812],"tags":[9699,1309,9639,1725,9601],"ppma_author":[8937],"class_list":["post-13610","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-couchbase-server","category-customers","category-performance","category-n1ql-query","tag-in-memory","tag-mongodb","tag-mongodb-query","tag-nosql-database","tag-stack-overflow"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.3 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Memory Usage in Databases: Buffering &amp; Caching (Part 5)<\/title>\n<meta name=\"description\" content=\"This blog series is now wrapping up with a discussion of what it means to be &quot;most dreaded&quot; and what it means to give memory to a database.\" \/>\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\/couchbase-mongodb-nosql-misconceptions-5\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Couchbase vs MongoDB: NoSQL Misconceptions Part 5\" \/>\n<meta property=\"og:description\" content=\"This blog series is now wrapping up with a discussion of what it means to be &quot;most dreaded&quot; and what it means to give memory to a database.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.couchbase.com\/blog\/couchbase-mongodb-nosql-misconceptions-5\/\" \/>\n<meta property=\"og:site_name\" content=\"The Couchbase Blog\" \/>\n<meta property=\"article:published_time\" content=\"2022-07-27T16:24:22+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-14T00:32:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/02\/image-3-1024x572.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"572\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Matthew Groves\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@mgroves\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Matthew Groves\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/couchbase-mongodb-nosql-misconceptions-5\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/couchbase-mongodb-nosql-misconceptions-5\\\/\"},\"author\":{\"name\":\"Matthew Groves\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/#\\\/schema\\\/person\\\/3929663e372020321b0152dc4fa65a58\"},\"headline\":\"Couchbase vs MongoDB: NoSQL Misconceptions Part 5\",\"datePublished\":\"2022-07-27T16:24:22+00:00\",\"dateModified\":\"2025-06-14T00:32:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/couchbase-mongodb-nosql-misconceptions-5\\\/\"},\"wordCount\":887,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/couchbase-mongodb-nosql-misconceptions-5\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/1\\\/2022\\\/02\\\/image-3.png\",\"keywords\":[\"in-memory\",\"mongodb\",\"mongodb query\",\"NoSQL Database\",\"stack overflow\"],\"articleSection\":[\"Couchbase Server\",\"Customers\",\"High Performance\",\"SQL++ \\\/ N1QL Query\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/couchbase-mongodb-nosql-misconceptions-5\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/couchbase-mongodb-nosql-misconceptions-5\\\/\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/couchbase-mongodb-nosql-misconceptions-5\\\/\",\"name\":\"Memory Usage in Databases: Buffering & Caching (Part 5)\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/couchbase-mongodb-nosql-misconceptions-5\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/couchbase-mongodb-nosql-misconceptions-5\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/1\\\/2022\\\/02\\\/image-3.png\",\"datePublished\":\"2022-07-27T16:24:22+00:00\",\"dateModified\":\"2025-06-14T00:32:02+00:00\",\"description\":\"This blog series is now wrapping up with a discussion of what it means to be \\\"most dreaded\\\" and what it means to give memory to a database.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/couchbase-mongodb-nosql-misconceptions-5\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/couchbase-mongodb-nosql-misconceptions-5\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/couchbase-mongodb-nosql-misconceptions-5\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/1\\\/2022\\\/02\\\/image-3.png\",\"contentUrl\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/1\\\/2022\\\/02\\\/image-3.png\",\"width\":1789,\"height\":1000},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/couchbase-mongodb-nosql-misconceptions-5\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Couchbase vs MongoDB: NoSQL Misconceptions Part 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\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/#organization\",\"name\":\"The Couchbase Blog\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@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\\\/3929663e372020321b0152dc4fa65a58\",\"name\":\"Matthew Groves\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/70feb1b28a099ad0112b8d21fe1e81e1a4524beed3e20b7f107d5370e85a07ab?s=96&d=mm&r=gba51e6aacc53995c323a634e4502ef54\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/70feb1b28a099ad0112b8d21fe1e81e1a4524beed3e20b7f107d5370e85a07ab?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/70feb1b28a099ad0112b8d21fe1e81e1a4524beed3e20b7f107d5370e85a07ab?s=96&d=mm&r=g\",\"caption\":\"Matthew Groves\"},\"description\":\"Matthew D. Groves is a guy who loves to code. It doesn't matter if it's C#, jQuery, or PHP: he'll submit pull requests for anything. He has been coding professionally ever since he wrote a QuickBASIC point-of-sale app for his parent's pizza shop back in the 90s. He currently works as a Senior Product Marketing Manager for Couchbase. His free time is spent with his family, watching the Reds, and getting involved in the developer community. He is the author of AOP in .NET, Pro Microservices in .NET, a Pluralsight author, and a Microsoft MVP.\",\"sameAs\":[\"https:\\\/\\\/crosscuttingconcerns.com\",\"https:\\\/\\\/x.com\\\/mgroves\"],\"url\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/author\\\/matthew-groves\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Memory Usage in Databases: Buffering & Caching (Part 5)","description":"This blog series is now wrapping up with a discussion of what it means to be \"most dreaded\" and what it means to give memory to a database.","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\/couchbase-mongodb-nosql-misconceptions-5\/","og_locale":"en_US","og_type":"article","og_title":"Couchbase vs MongoDB: NoSQL Misconceptions Part 5","og_description":"This blog series is now wrapping up with a discussion of what it means to be \"most dreaded\" and what it means to give memory to a database.","og_url":"https:\/\/www.couchbase.com\/blog\/couchbase-mongodb-nosql-misconceptions-5\/","og_site_name":"The Couchbase Blog","article_published_time":"2022-07-27T16:24:22+00:00","article_modified_time":"2025-06-14T00:32:02+00:00","og_image":[{"width":1024,"height":572,"url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/02\/image-3-1024x572.png","type":"image\/png"}],"author":"Matthew Groves","twitter_card":"summary_large_image","twitter_creator":"@mgroves","twitter_misc":{"Written by":"Matthew Groves","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.couchbase.com\/blog\/couchbase-mongodb-nosql-misconceptions-5\/#article","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/couchbase-mongodb-nosql-misconceptions-5\/"},"author":{"name":"Matthew Groves","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/3929663e372020321b0152dc4fa65a58"},"headline":"Couchbase vs MongoDB: NoSQL Misconceptions Part 5","datePublished":"2022-07-27T16:24:22+00:00","dateModified":"2025-06-14T00:32:02+00:00","mainEntityOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/couchbase-mongodb-nosql-misconceptions-5\/"},"wordCount":887,"commentCount":0,"publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/couchbase-mongodb-nosql-misconceptions-5\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/02\/image-3.png","keywords":["in-memory","mongodb","mongodb query","NoSQL Database","stack overflow"],"articleSection":["Couchbase Server","Customers","High Performance","SQL++ \/ N1QL Query"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.couchbase.com\/blog\/couchbase-mongodb-nosql-misconceptions-5\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.couchbase.com\/blog\/couchbase-mongodb-nosql-misconceptions-5\/","url":"https:\/\/www.couchbase.com\/blog\/couchbase-mongodb-nosql-misconceptions-5\/","name":"Memory Usage in Databases: Buffering & Caching (Part 5)","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/couchbase-mongodb-nosql-misconceptions-5\/#primaryimage"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/couchbase-mongodb-nosql-misconceptions-5\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/02\/image-3.png","datePublished":"2022-07-27T16:24:22+00:00","dateModified":"2025-06-14T00:32:02+00:00","description":"This blog series is now wrapping up with a discussion of what it means to be \"most dreaded\" and what it means to give memory to a database.","breadcrumb":{"@id":"https:\/\/www.couchbase.com\/blog\/couchbase-mongodb-nosql-misconceptions-5\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.couchbase.com\/blog\/couchbase-mongodb-nosql-misconceptions-5\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.couchbase.com\/blog\/couchbase-mongodb-nosql-misconceptions-5\/#primaryimage","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/02\/image-3.png","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/02\/image-3.png","width":1789,"height":1000},{"@type":"BreadcrumbList","@id":"https:\/\/www.couchbase.com\/blog\/couchbase-mongodb-nosql-misconceptions-5\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.couchbase.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Couchbase vs MongoDB: NoSQL Misconceptions Part 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":"en-US"},{"@type":"Organization","@id":"https:\/\/www.couchbase.com\/blog\/#organization","name":"The Couchbase Blog","url":"https:\/\/www.couchbase.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@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\/3929663e372020321b0152dc4fa65a58","name":"Matthew Groves","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/70feb1b28a099ad0112b8d21fe1e81e1a4524beed3e20b7f107d5370e85a07ab?s=96&d=mm&r=gba51e6aacc53995c323a634e4502ef54","url":"https:\/\/secure.gravatar.com\/avatar\/70feb1b28a099ad0112b8d21fe1e81e1a4524beed3e20b7f107d5370e85a07ab?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/70feb1b28a099ad0112b8d21fe1e81e1a4524beed3e20b7f107d5370e85a07ab?s=96&d=mm&r=g","caption":"Matthew Groves"},"description":"Matthew D. Groves is a guy who loves to code. It doesn't matter if it's C#, jQuery, or PHP: he'll submit pull requests for anything. He has been coding professionally ever since he wrote a QuickBASIC point-of-sale app for his parent's pizza shop back in the 90s. He currently works as a Senior Product Marketing Manager for Couchbase. His free time is spent with his family, watching the Reds, and getting involved in the developer community. He is the author of AOP in .NET, Pro Microservices in .NET, a Pluralsight author, and a Microsoft MVP.","sameAs":["https:\/\/crosscuttingconcerns.com","https:\/\/x.com\/mgroves"],"url":"https:\/\/www.couchbase.com\/blog\/author\/matthew-groves\/"}]}},"acf":[],"authors":[{"term_id":8937,"user_id":71,"is_guest":0,"slug":"matthew-groves","display_name":"Matthew Groves","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/70feb1b28a099ad0112b8d21fe1e81e1a4524beed3e20b7f107d5370e85a07ab?s=96&d=mm&r=g","0":null,"1":"","2":"","3":"","4":"","5":"","6":"","7":"","8":""}],"_links":{"self":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/posts\/13610","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/users\/71"}],"replies":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/comments?post=13610"}],"version-history":[{"count":0,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/posts\/13610\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/media\/12777"}],"wp:attachment":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/media?parent=13610"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/categories?post=13610"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/tags?post=13610"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=13610"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}