{"id":2939,"date":"2022-01-21T21:40:25","date_gmt":"2022-01-21T18:40:25","guid":{"rendered":"https:\/\/riarts.ru\/?p=2939"},"modified":"2022-02-13T00:43:38","modified_gmt":"2022-02-12T21:43:38","slug":"the-mongodb-database","status":"publish","type":"post","link":"https:\/\/riarts.ru\/en\/the-mongodb-database\/","title":{"rendered":"The MongoDB database"},"content":{"rendered":"\n<h2>The MongoDB database is a groundbreaking programming solution<\/h2>\n\n\n\n<p>The lack of schemas, tables, foreign keys, queries, etc. &#8211; This is what the MongoDB database  is famous for. Before Mongo DB was born, all data was stored in SQL relational databases, and nobody ever wondered if they were suitable for storing this or that kind of data. Mongo DB came from the other side, and offered a new model for document-centric data storage.<\/p>\n\n\n\n<h3>Increasing speed through storage models<\/h3>\n\n\n\n<p>The innovation among storage models increased the speed of work, opened new frontiers for scalability, and simplified the overall process of working with the database. However, it didn&#8217;t lead to a total rejection of traditional databases, because tasks are different and the optimal solution may also differ from one another. In addition, there are cases where it would be useful to use a mixed scheme to store data, some of which will be in the classic database and another part in Mongo DB.<\/p>\n\n\n\n<p>Overall, Mongo DB JS has many significant differences from traditional databases, the first of which is the C++ that Mongo is written in. Because of this, the database can be deployed on a wide variety of platforms, which broadens its scope. Classic databases used strings to store data, but in Mongo DB we encounter documents that can store information with a complex structure. Documents can be built into collections and move away from the rigid table structure typical of SQL databases. It allows you to collect objects with different structures and properties.<\/p>\n\n\n\n<h3>Robust storage system<\/h3>\n\n\n\n<p>Another advantage Mongo DB programming offered in the storage system. It is a set of replicas that has primary and secondary nodes. The secondary nodes are in integrity and are not updated after but along with the main node, which affects the reliability of the storage. In the case where the main node ceases to function properly, or at all disconnected, the main becomes one of the secondary nodes, around which the remaining secondary nodes form a new holistic structure.<\/p>\n\n\n\n<p>To summarize, many developers breathed a sigh of relief after Mongo DB appeared. After all, they no longer need to re-create the data storage schema even with a minor change in the storage concept. Time spent building complex queries can now be spent on other tasks for which they haven&#8217;t yet invented a silver bullet like Mongo DB for databases.<\/p>\n\n\n\n<p class=\"visible-hidden\"> <a href=\"https:\/\/riarts.ru\/sites\/\">\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0441\u0430\u0439\u0442\u043e\u0432<\/a> <\/p>\n","protected":false},"excerpt":{"rendered":"<p>The MongoDB database is a groundbreaking programming solution The lack of schemas, tables, foreign keys, queries, etc. &#8211; This is what the MongoDB database is famous for. Before Mongo DB was born, all data was stored {&#8230;}<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[80],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v18.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<meta name=\"description\" content=\"The MongoDB database is renowned for its capabilities that have made programming work a lot easier as a storage module\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/riarts.ru\/en\/the-mongodb-database\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"The MongoDB database - RIART\" \/>\n<meta property=\"og:description\" content=\"The MongoDB database is renowned for its capabilities that have made programming work a lot easier as a storage module\" \/>\n<meta property=\"og:url\" content=\"https:\/\/riarts.ru\/en\/the-mongodb-database\/\" \/>\n<meta property=\"og:site_name\" content=\"RIART\" \/>\n<meta property=\"article:published_time\" content=\"2022-01-21T18:40:25+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-02-12T21:43:38+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"adminRi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/riarts.ru\/#website\",\"url\":\"https:\/\/riarts.ru\/\",\"name\":\"RIART\",\"description\":\"DIGITAL ARTS \/ GRAPHICS &amp; WEB BY RIMMA ISMAILOVA\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/riarts.ru\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/riarts.ru\/en\/the-mongodb-database\/#webpage\",\"url\":\"https:\/\/riarts.ru\/en\/the-mongodb-database\/\",\"name\":\"The MongoDB database - RIART\",\"isPartOf\":{\"@id\":\"https:\/\/riarts.ru\/#website\"},\"datePublished\":\"2022-01-21T18:40:25+00:00\",\"dateModified\":\"2022-02-12T21:43:38+00:00\",\"author\":{\"@id\":\"https:\/\/riarts.ru\/#\/schema\/person\/3baaa24a53dbf02b3c7aaff4932c2a2c\"},\"description\":\"The MongoDB database is renowned for its capabilities that have made programming work a lot easier as a storage module\",\"breadcrumb\":{\"@id\":\"https:\/\/riarts.ru\/en\/the-mongodb-database\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/riarts.ru\/en\/the-mongodb-database\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/riarts.ru\/en\/the-mongodb-database\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\",\"item\":\"https:\/\/riarts.ru\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"The MongoDB database\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/riarts.ru\/#\/schema\/person\/3baaa24a53dbf02b3c7aaff4932c2a2c\",\"name\":\"adminRi\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/riarts.ru\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/9910f5569c41dbd6ee0235f9925ea8f8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/9910f5569c41dbd6ee0235f9925ea8f8?s=96&d=mm&r=g\",\"caption\":\"adminRi\"},\"sameAs\":[\"https:\/\/riarts.ru\"],\"url\":\"https:\/\/riarts.ru\/en\/author\/adminri\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"description":"The MongoDB database is renowned for its capabilities that have made programming work a lot easier as a storage module","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:\/\/riarts.ru\/en\/the-mongodb-database\/","og_locale":"en_US","og_type":"article","og_title":"The MongoDB database - RIART","og_description":"The MongoDB database is renowned for its capabilities that have made programming work a lot easier as a storage module","og_url":"https:\/\/riarts.ru\/en\/the-mongodb-database\/","og_site_name":"RIART","article_published_time":"2022-01-21T18:40:25+00:00","article_modified_time":"2022-02-12T21:43:38+00:00","twitter_card":"summary_large_image","twitter_misc":{"Written by":"adminRi","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/riarts.ru\/#website","url":"https:\/\/riarts.ru\/","name":"RIART","description":"DIGITAL ARTS \/ GRAPHICS &amp; WEB BY RIMMA ISMAILOVA","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/riarts.ru\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/riarts.ru\/en\/the-mongodb-database\/#webpage","url":"https:\/\/riarts.ru\/en\/the-mongodb-database\/","name":"The MongoDB database - RIART","isPartOf":{"@id":"https:\/\/riarts.ru\/#website"},"datePublished":"2022-01-21T18:40:25+00:00","dateModified":"2022-02-12T21:43:38+00:00","author":{"@id":"https:\/\/riarts.ru\/#\/schema\/person\/3baaa24a53dbf02b3c7aaff4932c2a2c"},"description":"The MongoDB database is renowned for its capabilities that have made programming work a lot easier as a storage module","breadcrumb":{"@id":"https:\/\/riarts.ru\/en\/the-mongodb-database\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/riarts.ru\/en\/the-mongodb-database\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/riarts.ru\/en\/the-mongodb-database\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430","item":"https:\/\/riarts.ru\/en\/"},{"@type":"ListItem","position":2,"name":"The MongoDB database"}]},{"@type":"Person","@id":"https:\/\/riarts.ru\/#\/schema\/person\/3baaa24a53dbf02b3c7aaff4932c2a2c","name":"adminRi","image":{"@type":"ImageObject","@id":"https:\/\/riarts.ru\/#personlogo","inLanguage":"en-US","url":"https:\/\/secure.gravatar.com\/avatar\/9910f5569c41dbd6ee0235f9925ea8f8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9910f5569c41dbd6ee0235f9925ea8f8?s=96&d=mm&r=g","caption":"adminRi"},"sameAs":["https:\/\/riarts.ru"],"url":"https:\/\/riarts.ru\/en\/author\/adminri\/"}]}},"_links":{"self":[{"href":"https:\/\/riarts.ru\/en\/wp-json\/wp\/v2\/posts\/2939"}],"collection":[{"href":"https:\/\/riarts.ru\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/riarts.ru\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/riarts.ru\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/riarts.ru\/en\/wp-json\/wp\/v2\/comments?post=2939"}],"version-history":[{"count":5,"href":"https:\/\/riarts.ru\/en\/wp-json\/wp\/v2\/posts\/2939\/revisions"}],"predecessor-version":[{"id":3521,"href":"https:\/\/riarts.ru\/en\/wp-json\/wp\/v2\/posts\/2939\/revisions\/3521"}],"wp:attachment":[{"href":"https:\/\/riarts.ru\/en\/wp-json\/wp\/v2\/media?parent=2939"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/riarts.ru\/en\/wp-json\/wp\/v2\/categories?post=2939"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/riarts.ru\/en\/wp-json\/wp\/v2\/tags?post=2939"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}