{"id":13804,"date":"2022-10-17T09:24:10","date_gmt":"2022-10-17T16:24:10","guid":{"rendered":"https:\/\/www.couchbase.com\/blog\/?p=13804"},"modified":"2024-05-03T18:28:19","modified_gmt":"2024-05-04T01:28:19","slug":"magma-next-gen-document-storage-engine","status":"publish","type":"post","link":"https:\/\/www.couchbase.com\/blog\/magma-next-gen-document-storage-engine\/","title":{"rendered":"Magma: The Next-Generation Document Storage Engine"},"content":{"rendered":"<p><span style=\"font-weight: 400\">The Couchbase database platform supports two storage mechanisms: Couchstore, the default, and Magma, the recently released engine. Both offer benefits under various scenarios. This blog post gives a brief overview of the new Magma storage engine, <\/span><span style=\"font-weight: 400\">provides a comparison of each engine, and summarizes the results of the <a href=\"https:\/\/www.couchbase.com\/benchmarks\/\">performance benchmarks<\/a>.<\/span><span style=\"font-weight: 400\">\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400\">Couchstore is a mature storage engine that is optimized for high performance with large datasets, particularly ones that can fit in memory. The minimum bucket size for Couchstore is 100MB. It\u2019s ideal for caching use cases and situations where data compression is not a primary deciding factor.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400\">Magma is a new storage engine that is designed to be highly performant even with very large datasets that do not fit in memory. It is transcendent for use cases where disk access is paramount. Magma is optimized to run on very low amounts of memory even with very large datasets. Magma really shines when used for <\/span><span style=\"font-weight: 400\">datasets that will not fit into available memory and that require maximum data compression<\/span><span style=\"font-weight: 400\">.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Below is a comparison table that summarizes each storage mechanism.<\/span><\/p>\n<h2><span style=\"font-weight: 400\">Couchstore and Magma Comparison<\/span><\/h2>\n<table>\n<tbody>\n<tr>\n<td><b>Criteria<\/b><\/td>\n<td><b>Couchstore<\/b><\/td>\n<td><b>Magma<\/b><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">Minimum bucket memory quota<\/span><\/td>\n<td><span style=\"font-weight: 400\">100MB<\/span><\/td>\n<td><span style=\"font-weight: 400\">1GB<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">Minimum memory to data ratio<\/span><\/td>\n<td><span style=\"font-weight: 400\">10%<\/span><\/td>\n<td><span style=\"font-weight: 400\">1%<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">Maximum data per node<\/span><\/td>\n<td><span style=\"font-weight: 400\">3TB<\/span><\/td>\n<td><span style=\"font-weight: 400\">10TB<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">Data size optimization<\/span><\/td>\n<td><span style=\"font-weight: 400\">Best when the working dataset can fit into memory<\/span><\/td>\n<td><span style=\"font-weight: 400\">Best when the <\/span><span style=\"font-weight: 400\">working set is much larger than the available memory and you need disk access speed only<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">Store and access<\/span><\/td>\n<td><span style=\"font-weight: 400\">Access data up to ~ 1TB<\/span><\/td>\n<td><span style=\"font-weight: 400\">Store and access several terabytes of data<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">Hardware<\/span><\/td>\n<td><span style=\"font-weight: 400\">Can run on low-end hardware<\/span><\/td>\n<td><span style=\"font-weight: 400\">Quality hardware is preferred<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">Supported services<\/span><\/td>\n<td><span style=\"font-weight: 400\">All services including full-text search, eventing, and analytics are available<\/span><\/td>\n<td>All services including full-text search, eventing, and analytics are available with the 7.1.2 GA release<\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">Data persistence<\/span><\/td>\n<td><span style=\"font-weight: 400\">Most data is accessed from the memory cache<\/span><\/td>\n<td><span style=\"font-weight: 400\">Applications need large amounts of persistent, durable data<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">Use cases<\/span><\/td>\n<td><span style=\"font-weight: 400\">Use case primarily requires memory access<\/span><\/td>\n<td><span style=\"font-weight: 400\">Use case primarily requires disk access<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2><span style=\"font-weight: 400\">Magma Overview<\/span><\/h2>\n<p><span style=\"font-weight: 400\">Magma is the next-generation document storage engine of Couchbase Server. It was designed with the goals of improving both data density and write performance on each cluster node. It achieves these goals by separating index and document data to minimize write amplification (WA). Write amplification relates to writing data to file storage where the write is multiplied due to factors like immutable data. Magma also includes an incremental compaction method to maintain space and allow for high data density and lower memory requirements. Lowering write amplification increases write throughput and also extends the life expectancy of SSDs by reducing the number of write-erase cycles.<\/span><\/p>\n<p><span style=\"font-weight: 400\">\u00a0<\/span><span style=\"font-weight: 400\">Other design goals for the Magma project included:<\/span><\/p>\n<p style=\"padding-left: 40px\"><b>Scalable concurrent compactions <\/b><span style=\"font-weight: 400\">\u2013 Full database compaction is an expensive operation. Managing a high-density database requires small, concurrent, incremental compactions to reclaim space.<\/span><\/p>\n<p style=\"padding-left: 40px\"><b>Solid state drive (SSD) optimization<\/b><span style=\"font-weight: 400\"> \u2013 Random I\/O was minimized to only occur during point lookup operations. While sequential read and write I\/O access patterns are leveraged to take advantage of the full bandwidth of the SSDs.<\/span><\/p>\n<p style=\"padding-left: 40px\"><b>Low memory footprint<\/b><span style=\"font-weight: 400\"> \u2013 High-density data decreases the possibility for read and write caching. So Magma is optimized to utilize a small memory footprint.<\/span><\/p>\n<p style=\"padding-left: 40px\"><b>Garbage collection<\/b><span style=\"font-weight: 400\"> \u2013 Magma includes a method of estimating the fragmentation in the log-structured object store and accurately calculating the disk fragmentation. This is used to calculate the garbage size per log segment which triggers compactions when the fragmentation reaches a threshold of 50%.<\/span><\/p>\n<p><span style=\"font-weight: 400\">One key aspect of the Magma architecture is the log-structured object store which stores documents on an append-only segmented log. The log-structured store maintains an index that allows the querying of a document by seqno (sequence number). The object store contains log segment files that are arranged sequentially using a growing log with a tail for accepting incoming writes (see the Magma object store architecture diagram below). The background thread appends the document mutations to the tail log with each document receiving a unique segno.\u00a0<\/span><\/p>\n<div id=\"attachment_13808\" style=\"width: 910px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-13808\" class=\"size-large wp-image-13808\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2022\/10\/image_2022-10-17_092323410-1024x350.png\" alt=\"Magma object store architecture\" width=\"900\" height=\"308\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/10\/image_2022-10-17_092323410-1024x350.png 1024w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/10\/image_2022-10-17_092323410-300x102.png 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/10\/image_2022-10-17_092323410-768x262.png 768w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/10\/image_2022-10-17_092323410.png 1160w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><p id=\"caption-attachment-13808\" class=\"wp-caption-text\"><em>Magma object store architecture<\/em><\/p><\/div>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400\">Although the log can contain multiple immutable document versions with the same key, the older document versions become stale when new versions are appended. The read operations always read the latest version, so when a key lookup is performed the latest version of the document is returned. Eventually, the stale records are removed from storage and a separate garbage collection process is used to reclaim space.<\/span><\/p>\n<h2><span style=\"font-weight: 400\">Performance Summary<\/span><\/h2>\n<p><span style=\"font-weight: 400\">Magma was performance tested against RocksDB and Couchstore. The evaluation focused on throughput and write and space amplification for various Yahoo! Cloud Serving Benchmark (YCSB) workloads with data that was too large to fit in memory. During two rounds of testing the conclusions were:<\/span><\/p>\n<p style=\"padding-left: 40px\"><span style=\"font-weight: 400\">Round 1<\/span><\/p>\n<ul>\n<li style=\"list-style-type: none\">\n<ul>\n<li style=\"list-style-type: none\">\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Magma is 1.77x faster and has 3.38x less write amplification than RocksDB<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Magma is 36x faster and has 5x less write amplification than Couchstore<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p style=\"padding-left: 40px\"><span style=\"font-weight: 400\">Round 2<\/span><\/p>\n<ul>\n<li style=\"list-style-type: none\">\n<ul>\n<li style=\"list-style-type: none\">\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Magma is 1.25x faster and has 2.36x less write amplification than RocksDB<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Magma is 21x faster and has 3.37x less write amplification than Couchstore<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2><span style=\"font-weight: 400\">Conclusion<\/span><\/h2>\n<p><span style=\"font-weight: 400\">Through the efficiency improvements in Magma, the single machine data density supported by Couchbase Server was increased by 3.3x and the memory requirement by 10x, which reduced the total cost of ownership (TCO) up to 10x. The performance evaluation results showed that Magma outperformed both Couchstore and RocksDB engines in write-heavy YCSB workloads with datasets that were too large for memory.<\/span><\/p>\n<p><span style=\"font-weight: 400\">To learn more about the next-gen document storage engine, check out the following paper: <\/span><a href=\"https:\/\/vldb.org\/pvldb\/vol15\/p3496-lakshman.pdf\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400\">Magma: A High Data Density Storage Engine Used in Couchbase<\/span><\/a><span style=\"font-weight: 400\">. <\/span><span style=\"font-weight: 400\">Thanks for taking the time to learn why Magma IS the next-generation document storage engine!<\/span><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Couchbase database platform supports two storage mechanisms: Couchstore, the default, and Magma, the recently released engine. Both offer benefits under various scenarios. This blog post gives a brief overview of the new Magma storage engine, provides a comparison of [&hellip;]<\/p>\n","protected":false},"author":82066,"featured_media":13806,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[1821,1816,9417],"tags":[9728,9597,9729,2278],"ppma_author":[9657],"class_list":["post-13804","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-couchbase-architecture","category-couchbase-server","category-performance","tag-couchstore","tag-magma","tag-ssd-optimization","tag-ycsb"],"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>Magma Storage Engine &amp; Couchstore Comparison | Couchbase<\/title>\n<meta name=\"description\" content=\"Learn about the next-generation document storage engine Magma here. We provide a comparison with Couchstore so you can choose the right one for you.\" \/>\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\/magma-next-gen-document-storage-engine\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Magma: The Next-Generation Document Storage Engine\" \/>\n<meta property=\"og:description\" content=\"Learn about the next-generation document storage engine Magma here. We provide a comparison with Couchstore so you can choose the right one for you.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.couchbase.com\/blog\/magma-next-gen-document-storage-engine\/\" \/>\n<meta property=\"og:site_name\" content=\"The Couchbase Blog\" \/>\n<meta property=\"article:published_time\" content=\"2022-10-17T16:24:10+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-04T01:28:19+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2022\/10\/magma-object-store-scaled.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"2560\" \/>\n\t<meta property=\"og:image:height\" content=\"1440\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Couchbase Product Marketing\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Couchbase Product Marketing\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/magma-next-gen-document-storage-engine\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/magma-next-gen-document-storage-engine\/\"},\"author\":{\"name\":\"Couchbase Product Marketing\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/befa2a9de827aed2f8354f939cd6598e\"},\"headline\":\"Magma: The Next-Generation Document Storage Engine\",\"datePublished\":\"2022-10-17T16:24:10+00:00\",\"dateModified\":\"2024-05-04T01:28:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/magma-next-gen-document-storage-engine\/\"},\"wordCount\":923,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/magma-next-gen-document-storage-engine\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/10\/magma-object-store-scaled.jpg\",\"keywords\":[\"couchstore\",\"magma\",\"ssd optimization\",\"ycsb\"],\"articleSection\":[\"Couchbase Architecture\",\"Couchbase Server\",\"High Performance\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/magma-next-gen-document-storage-engine\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/magma-next-gen-document-storage-engine\/\",\"url\":\"https:\/\/www.couchbase.com\/blog\/magma-next-gen-document-storage-engine\/\",\"name\":\"Magma Storage Engine & Couchstore Comparison | Couchbase\",\"isPartOf\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/magma-next-gen-document-storage-engine\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/magma-next-gen-document-storage-engine\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/10\/magma-object-store-scaled.jpg\",\"datePublished\":\"2022-10-17T16:24:10+00:00\",\"dateModified\":\"2024-05-04T01:28:19+00:00\",\"description\":\"Learn about the next-generation document storage engine Magma here. We provide a comparison with Couchstore so you can choose the right one for you.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/magma-next-gen-document-storage-engine\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/magma-next-gen-document-storage-engine\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/magma-next-gen-document-storage-engine\/#primaryimage\",\"url\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/10\/magma-object-store-scaled.jpg\",\"contentUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/10\/magma-object-store-scaled.jpg\",\"width\":2560,\"height\":1440,\"caption\":\"Magma Object Store Architecture\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/magma-next-gen-document-storage-engine\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.couchbase.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Magma: The Next-Generation Document Storage Engine\"}]},{\"@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\/befa2a9de827aed2f8354f939cd6598e\",\"name\":\"Couchbase Product Marketing\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/image\/5112ed57023bd2807ae7086c2fe68752\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/4760a19fc4ed6b8b830ba98f0869ed0d8ee6729e2593881e1a68032b9c281d5d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/4760a19fc4ed6b8b830ba98f0869ed0d8ee6729e2593881e1a68032b9c281d5d?s=96&d=mm&r=g\",\"caption\":\"Couchbase Product Marketing\"},\"url\":\"https:\/\/www.couchbase.com\/blog\/author\/couchbase-pmm\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Magma Storage Engine & Couchstore Comparison | Couchbase","description":"Learn about the next-generation document storage engine Magma here. We provide a comparison with Couchstore so you can choose the right one for you.","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\/magma-next-gen-document-storage-engine\/","og_locale":"en_US","og_type":"article","og_title":"Magma: The Next-Generation Document Storage Engine","og_description":"Learn about the next-generation document storage engine Magma here. We provide a comparison with Couchstore so you can choose the right one for you.","og_url":"https:\/\/www.couchbase.com\/blog\/magma-next-gen-document-storage-engine\/","og_site_name":"The Couchbase Blog","article_published_time":"2022-10-17T16:24:10+00:00","article_modified_time":"2024-05-04T01:28:19+00:00","og_image":[{"width":2560,"height":1440,"url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2022\/10\/magma-object-store-scaled.jpg","type":"image\/jpeg"}],"author":"Couchbase Product Marketing","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Couchbase Product Marketing","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.couchbase.com\/blog\/magma-next-gen-document-storage-engine\/#article","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/magma-next-gen-document-storage-engine\/"},"author":{"name":"Couchbase Product Marketing","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/befa2a9de827aed2f8354f939cd6598e"},"headline":"Magma: The Next-Generation Document Storage Engine","datePublished":"2022-10-17T16:24:10+00:00","dateModified":"2024-05-04T01:28:19+00:00","mainEntityOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/magma-next-gen-document-storage-engine\/"},"wordCount":923,"commentCount":0,"publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/magma-next-gen-document-storage-engine\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/10\/magma-object-store-scaled.jpg","keywords":["couchstore","magma","ssd optimization","ycsb"],"articleSection":["Couchbase Architecture","Couchbase Server","High Performance"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.couchbase.com\/blog\/magma-next-gen-document-storage-engine\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.couchbase.com\/blog\/magma-next-gen-document-storage-engine\/","url":"https:\/\/www.couchbase.com\/blog\/magma-next-gen-document-storage-engine\/","name":"Magma Storage Engine & Couchstore Comparison | Couchbase","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/magma-next-gen-document-storage-engine\/#primaryimage"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/magma-next-gen-document-storage-engine\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/10\/magma-object-store-scaled.jpg","datePublished":"2022-10-17T16:24:10+00:00","dateModified":"2024-05-04T01:28:19+00:00","description":"Learn about the next-generation document storage engine Magma here. We provide a comparison with Couchstore so you can choose the right one for you.","breadcrumb":{"@id":"https:\/\/www.couchbase.com\/blog\/magma-next-gen-document-storage-engine\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.couchbase.com\/blog\/magma-next-gen-document-storage-engine\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.couchbase.com\/blog\/magma-next-gen-document-storage-engine\/#primaryimage","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/10\/magma-object-store-scaled.jpg","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/10\/magma-object-store-scaled.jpg","width":2560,"height":1440,"caption":"Magma Object Store Architecture"},{"@type":"BreadcrumbList","@id":"https:\/\/www.couchbase.com\/blog\/magma-next-gen-document-storage-engine\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.couchbase.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Magma: The Next-Generation Document Storage Engine"}]},{"@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\/befa2a9de827aed2f8354f939cd6598e","name":"Couchbase Product Marketing","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/image\/5112ed57023bd2807ae7086c2fe68752","url":"https:\/\/secure.gravatar.com\/avatar\/4760a19fc4ed6b8b830ba98f0869ed0d8ee6729e2593881e1a68032b9c281d5d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4760a19fc4ed6b8b830ba98f0869ed0d8ee6729e2593881e1a68032b9c281d5d?s=96&d=mm&r=g","caption":"Couchbase Product Marketing"},"url":"https:\/\/www.couchbase.com\/blog\/author\/couchbase-pmm\/"}]}},"authors":[{"term_id":9657,"user_id":82066,"is_guest":0,"slug":"couchbase-pmm","display_name":"Couchbase Product Marketing","avatar_url":{"url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/06\/image_2022-06-17_105452255.png","url2x":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/06\/image_2022-06-17_105452255.png"},"author_category":"","last_name":"","first_name":"Couchbase Product Marketing","job_title":"","user_url":"","description":""}],"_links":{"self":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/posts\/13804","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\/82066"}],"replies":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/comments?post=13804"}],"version-history":[{"count":0,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/posts\/13804\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/media\/13806"}],"wp:attachment":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/media?parent=13804"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/categories?post=13804"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/tags?post=13804"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=13804"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}