<br />
<b>Warning</b>:  Undefined array key "global_protection_id" in <b>/home/wikitechy/public_html/interview-questions/wp-content/plugins/content-protector/inc/class-ps-rest-handler.php</b> on line <b>51</b><br />
{"id":4118,"date":"2022-04-16T05:29:32","date_gmt":"2022-04-16T05:29:32","guid":{"rendered":"https:\/\/www.wikitechy.com\/interview-questions\/?p=4118"},"modified":"2022-04-16T05:29:32","modified_gmt":"2022-04-16T05:29:32","slug":"pros-and-cons-of-mongodb","status":"publish","type":"post","link":"https:\/\/www.wikitechy.com\/interview-questions\/mongodb\/pros-and-cons-of-mongodb\/","title":{"rendered":"Pros and Cons of Mongodb ?"},"content":{"rendered":"<h3 id=\"advantages-of-mongodb\" style=\"text-align: justify;\"><strong>Advantages of MongoDB :<\/strong><\/h3>\n<p style=\"text-align: justify;\"><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-full wp-image-4119\" src=\"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/04\/advantages-of-mongodb.png\" alt=\"Advantages of mongodb\" width=\"1134\" height=\"781\" srcset=\"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/04\/advantages-of-mongodb.png 1134w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/04\/advantages-of-mongodb-300x207.png 300w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/04\/advantages-of-mongodb-1024x705.png 1024w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/04\/advantages-of-mongodb-768x529.png 768w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/04\/advantages-of-mongodb-390x269.png 390w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/04\/advantages-of-mongodb-820x565.png 820w\" sizes=\"(max-width: 1134px) 100vw, 1134px\" \/><\/p>\n<h4 id=\"developer-ux\" style=\"text-align: justify;\">Developer UX :<\/h4>\n<ul style=\"text-align: justify;\">\n<li>It is created in such a way that ensures that the developers have an excellent experience while creating apps.<\/li>\n<li>Programming languages like <a href=\"https:\/\/www.wikitechy.com\/tutorials\/javascript\/javascript-tutorial\">JavaScript<\/a> , <a href=\"https:\/\/www.wikitechy.com\/tutorials\/java\/\">Java<\/a> , <a href=\"https:\/\/www.wikitechy.com\/tutorials\/golang\/\">Go<\/a> , C, <a href=\"https:\/\/www.wikitechy.com\/tutorials\/c++\/\">C#<\/a> , <a href=\"https:\/\/www.wikitechy.com\/tutorials\/python\/\">Python<\/a> , <a href=\"https:\/\/www.wikitechy.com\/php\/\">PHP<\/a> , Swift, Scala, Rust, and Ruby on Rails were <a href=\"https:\/\/www.wikitechy.com\/tutorial\/mongodb\/\">MongoDB<\/a> used.<\/li>\n<li>In Enterprise, IT new features are being added for supporting operations of MongoDB as an increasing number of businesses are opting for this database.<\/li>\n<li>For MongoDB customers, excellent tech support is also available.<\/li>\n<li>Assigning clusters straight away and you can start coding with just a couple of clicks in the web UI.<\/li>\n<\/ul>\n<h4 id=\"scalability-transactionality\" style=\"text-align: justify;\">Scalability &amp; Transactionality :<\/h4>\n<ul style=\"text-align: justify;\">\n<li>In Scalability, you can develop apps that are capable of handling traffic spikes smoothly. It is one of the biggest advantages of MongoDB.<\/li>\n<li>Massive volumes of the read and write operations are supported, Due to the many innovations by MongoDB.<\/li>\n<li>Information clusters can be stored in one place, though the information itself is stored on numerous computer clusters, Due to the manner of Sharding in MongoDB.<\/li>\n<li>This is in stark contrast to the relational database architecture which scales up in order to create computers they are more powerful and speeder, therefore limited.<\/li>\n<li>In MongoDB objects can be embedded within one another during data modeling.<\/li>\n<\/ul>\n<h4 id=\"platform-ecosystem-maturity\" style=\"text-align: justify;\">Platform &amp; Ecosystem maturity :<\/h4>\n<ul style=\"text-align: justify;\">\n<li>MongoDB was launched in 2007, and till now thousands of apps have been used for various purposes.<\/li>\n<li>Ergo is one of the best platforms that has been updated to ensure that emerging demands can be fulfilled.<\/li>\n<li>There is a huge, vibrant community of MongoDB developers around the world in the open-source arena, consulting firms, academia, system integrators and so on.<\/li>\n<\/ul>\n<h4 id=\"disadvantages-of-mongodb\" style=\"text-align: justify;\"><strong>Disadvantages of MongoDB :<\/strong><\/h4>\n<p style=\"text-align: justify;\"><img decoding=\"async\" class=\"alignnone size-full wp-image-4121\" src=\"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/04\/disadvantages-of-mongodb.png\" alt=\"\" width=\"974\" height=\"764\" srcset=\"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/04\/disadvantages-of-mongodb.png 974w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/04\/disadvantages-of-mongodb-300x235.png 300w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/04\/disadvantages-of-mongodb-768x602.png 768w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/04\/disadvantages-of-mongodb-390x306.png 390w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/04\/disadvantages-of-mongodb-820x643.png 820w\" sizes=\"(max-width: 974px) 100vw, 974px\" \/><\/p>\n<h4 id=\"joins-not-supported\" style=\"text-align: justify;\">Joins not supported :<\/h4>\n<ul style=\"text-align: justify;\">\n<li>In MongoDB joins like relational database doesn\u2019t support.<\/li>\n<li>It is manually, can use joins functionality by adding by coding.<\/li>\n<li>It may affect performance and slow execution.<\/li>\n<\/ul>\n<h4 id=\"high-memory-usage\" style=\"text-align: justify;\">High memory usage :<\/h4>\n<ul style=\"text-align: justify;\">\n<li>In MongoDB stores key names for each value pair.<\/li>\n<li>There is data redundancy, due to no functionality of joins.<\/li>\n<li>This results in increasing unnecessary usage of memory.<\/li>\n<\/ul>\n<h4 id=\"limited-data-size\" style=\"text-align: justify;\">Limited Data Size :<\/h4>\n<ul style=\"text-align: justify;\">\n<li>Document size should not have more than 16MB.<\/li>\n<\/ul>\n<h4 id=\"limited-nesting\" style=\"text-align: justify;\">Limited Nesting:<\/h4>\n<ul style=\"text-align: justify;\">\n<li>The nesting documents cannot perform for more than 100 levels.<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">\n<p style=\"text-align: justify;\">\n<p style=\"text-align: justify;\"><strong>\u00a0<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Advantages of MongoDB : Developer UX : It is created in such a way that ensures that the developers have an excellent experience while creating apps. Programming languages like JavaScript , Java , Go , C, C# , Python , PHP , Swift, Scala, Rust, and Ruby on Rails were MongoDB used. In Enterprise, IT [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"passster_activate_protection":false,"passster_protect_child_pages":"","passster_protection_type":"password","passster_password":"","passster_activate_overwrite_defaults":"","passster_headline":"","passster_instruction":"","passster_placeholder":"","passster_button":"","passster_id":"","passster_activate_misc_settings":"","passster_redirect_url":"","passster_hide":"no","passster_area_shortcode":"","gtb_hide_title":false,"gtb_wrap_title":false,"gtb_class_title":"","gtb_remove_headerfooter":false,"footnotes":""},"categories":[16831],"tags":[16993,16982,16987,16980,16989,16990,16992,16994,16991,16995,16988,16981,16985,16984,16983,16986],"class_list":["post-4118","post","type-post","status-publish","format-standard","hentry","category-mongodb","tag-advantages-and-disadvantages-of-mongodb","tag-advantages-and-disadvantages-of-mongodb-nosql-database","tag-advantages-and-disadvantages-of-nosql","tag-advantages-of-mongodb","tag-disadvantage-of-mongodb","tag-disadvantages-of-mongodb-over-rdbms","tag-disadvantages-of-mongodb-over-sql","tag-disadvantages-of-using-mongodb-over-mysql","tag-drawbacks-of-mongodb-mcq","tag-limitations-of-mongodb","tag-mongodb-advantages","tag-mongodb-nosql-database","tag-pros-and-cons-of-mongodb","tag-the-pros-and-cons-of-mongodb","tag-understanding-the-pros-and-cons-of-mongodb","tag-what-are-the-disadvantages-of-mongodb"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Pros and Cons of Mongodb ? - MongoDB Interview Questions &amp; Answers<\/title>\n<meta name=\"description\" content=\"Pros and Cons of Mongodb ? - Developer UX - Scalability &amp; Transactionality - Joins not supported - High memory usage\" \/>\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.wikitechy.com\/interview-questions\/mongodb\/pros-and-cons-of-mongodb\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Pros and Cons of Mongodb ? - MongoDB Interview Questions &amp; Answers\" \/>\n<meta property=\"og:description\" content=\"Pros and Cons of Mongodb ? - Developer UX - Scalability &amp; Transactionality - Joins not supported - High memory usage\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wikitechy.com\/interview-questions\/mongodb\/pros-and-cons-of-mongodb\/\" \/>\n<meta property=\"og:site_name\" content=\"Wikitechy\" \/>\n<meta property=\"article:published_time\" content=\"2022-04-16T05:29:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/04\/advantages-of-mongodb.png\" \/>\n<meta name=\"author\" content=\"webmaster\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"webmaster\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/mongodb\/pros-and-cons-of-mongodb\/\",\"url\":\"https:\/\/www.wikitechy.com\/interview-questions\/mongodb\/pros-and-cons-of-mongodb\/\",\"name\":\"Pros and Cons of Mongodb ? - MongoDB Interview Questions & Answers\",\"isPartOf\":{\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/mongodb\/pros-and-cons-of-mongodb\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/mongodb\/pros-and-cons-of-mongodb\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/04\/advantages-of-mongodb.png\",\"datePublished\":\"2022-04-16T05:29:32+00:00\",\"dateModified\":\"2022-04-16T05:29:32+00:00\",\"author\":{\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/f785ba3ecc599133e65ab6138042a3e4\"},\"description\":\"Pros and Cons of Mongodb ? - Developer UX - Scalability & Transactionality - Joins not supported - High memory usage\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wikitechy.com\/interview-questions\/mongodb\/pros-and-cons-of-mongodb\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/mongodb\/pros-and-cons-of-mongodb\/#primaryimage\",\"url\":\"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/04\/advantages-of-mongodb.png\",\"contentUrl\":\"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/04\/advantages-of-mongodb.png\",\"width\":1134,\"height\":781,\"caption\":\"Advantages of mongodb\"},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#website\",\"url\":\"https:\/\/www.wikitechy.com\/interview-questions\/\",\"name\":\"Wikitechy\",\"description\":\"Interview Questions\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wikitechy.com\/interview-questions\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/f785ba3ecc599133e65ab6138042a3e4\",\"name\":\"webmaster\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/155b77fd8cdda3d0913fcb7e7ee63543b0c345d2d8f6dcebda5b0583ab61f967?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/155b77fd8cdda3d0913fcb7e7ee63543b0c345d2d8f6dcebda5b0583ab61f967?s=96&d=mm&r=g\",\"caption\":\"webmaster\"},\"sameAs\":[\"https:\/\/www.wikitechy.com\/interview-questions\"],\"url\":\"https:\/\/www.wikitechy.com\/interview-questions\/author\/webmaster\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Pros and Cons of Mongodb ? - MongoDB Interview Questions & Answers","description":"Pros and Cons of Mongodb ? - Developer UX - Scalability & Transactionality - Joins not supported - High memory usage","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.wikitechy.com\/interview-questions\/mongodb\/pros-and-cons-of-mongodb\/","og_locale":"en_US","og_type":"article","og_title":"Pros and Cons of Mongodb ? - MongoDB Interview Questions & Answers","og_description":"Pros and Cons of Mongodb ? - Developer UX - Scalability & Transactionality - Joins not supported - High memory usage","og_url":"https:\/\/www.wikitechy.com\/interview-questions\/mongodb\/pros-and-cons-of-mongodb\/","og_site_name":"Wikitechy","article_published_time":"2022-04-16T05:29:32+00:00","og_image":[{"url":"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/04\/advantages-of-mongodb.png"}],"author":"webmaster","twitter_card":"summary_large_image","twitter_misc":{"Written by":"webmaster","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wikitechy.com\/interview-questions\/mongodb\/pros-and-cons-of-mongodb\/","url":"https:\/\/www.wikitechy.com\/interview-questions\/mongodb\/pros-and-cons-of-mongodb\/","name":"Pros and Cons of Mongodb ? - MongoDB Interview Questions & Answers","isPartOf":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/mongodb\/pros-and-cons-of-mongodb\/#primaryimage"},"image":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/mongodb\/pros-and-cons-of-mongodb\/#primaryimage"},"thumbnailUrl":"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/04\/advantages-of-mongodb.png","datePublished":"2022-04-16T05:29:32+00:00","dateModified":"2022-04-16T05:29:32+00:00","author":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/f785ba3ecc599133e65ab6138042a3e4"},"description":"Pros and Cons of Mongodb ? - Developer UX - Scalability & Transactionality - Joins not supported - High memory usage","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wikitechy.com\/interview-questions\/mongodb\/pros-and-cons-of-mongodb\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wikitechy.com\/interview-questions\/mongodb\/pros-and-cons-of-mongodb\/#primaryimage","url":"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/04\/advantages-of-mongodb.png","contentUrl":"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/04\/advantages-of-mongodb.png","width":1134,"height":781,"caption":"Advantages of mongodb"},{"@type":"WebSite","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#website","url":"https:\/\/www.wikitechy.com\/interview-questions\/","name":"Wikitechy","description":"Interview Questions","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wikitechy.com\/interview-questions\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/f785ba3ecc599133e65ab6138042a3e4","name":"webmaster","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/155b77fd8cdda3d0913fcb7e7ee63543b0c345d2d8f6dcebda5b0583ab61f967?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/155b77fd8cdda3d0913fcb7e7ee63543b0c345d2d8f6dcebda5b0583ab61f967?s=96&d=mm&r=g","caption":"webmaster"},"sameAs":["https:\/\/www.wikitechy.com\/interview-questions"],"url":"https:\/\/www.wikitechy.com\/interview-questions\/author\/webmaster\/"}]}},"_links":{"self":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/4118","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/comments?post=4118"}],"version-history":[{"count":1,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/4118\/revisions"}],"predecessor-version":[{"id":4122,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/4118\/revisions\/4122"}],"wp:attachment":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/media?parent=4118"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/categories?post=4118"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/tags?post=4118"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}