{"id":100759,"date":"2021-07-14T10:23:10","date_gmt":"2021-07-14T08:23:11","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/dostupna-dokumento-orientirovannaya-subd-mongodb-5-0"},"modified":"2021-07-14T10:23:10","modified_gmt":"2021-07-14T08:23:11","slug":"dostupna-dokumento-orientirovannaya-subd-mongodb-5-0","status":"publish","type":"post","link":"https:\/\/prohoster.info\/en\/blog\/news\/dostupna-dokumento-orientirovannaya-subd-mongodb-5-0","title":{"rendered":"The document-oriented database MongoDB 5.0 is now available","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>The release of the document-oriented database MongoDB 5.0 has been introduced, which occupies a niche between fast and scalable systems that operate with key\/value data formats, and relational databases that are functional and easy to query. The MongoDB code is written in C++ and is distributed under the SSPL license, which is based on the AGPLv3 license but is not open source because it includes a discriminatory requirement for delivery under the SSPL license not only for the application code but also for the source texts of all components involved in providing cloud service.      <\/p>\n<p>MongoDB supports storing documents in a JSON-like format, has a sufficiently flexible language for forming queries, can create indexes for various stored attributes, efficiently handles large binary objects, supports logging of operations for modifying and adding data to the DB, can work according to the Map\/Reduce paradigm, supports replication, and facilitates the creation of fault-tolerant configurations.     <\/p>\n<p>MongoDB has built-in tools for segmenting (distributing a dataset across servers based on a specific key), which, combined with replication, allow the creation of a horizontally scalable storage cluster that does not have a single point of failure (a failure of any node does not affect the operation of the DB), supports automatic recovery after a failure, and load balancing from a failed node. Expanding the cluster or transforming one <a class=\"wpil_keyword_link\" href=\"https:\/\/prohoster.info\/en\/server\/dts-los-angeles\/\"   title=\"server\" data-wpil-keyword-link=\"linked\"  data-wpil-monitor-id=\"3732\">server<\/a> into a cluster is performed without stopping the DB operation by simply adding new machines.         <\/p>\n<p>Features of the new release:  <\/p>\n<ul>\n<li class=\"l\"> Time series collections have been added, optimized for storing slices of parameter values recorded at specific intervals (time and the set of corresponding values at that time). The need to store such data arises in monitoring systems, financial platforms, and sensor state polling systems. Working with time series data is done like with regular document collections, but the indexes and storage method for them are optimized considering time binding, which significantly reduces disk space consumption, decreases query execution latency, and implements real-time data analysis capabilities.\n<p>MongoDB treats such collections as writable, materialized views created based on internal collections that automatically group time series data into an optimized storage format upon insertion. Each time-bound record is interpreted as a separate document upon querying. Data is automatically sorted and indexed by time (there is no need to explicitly create time indexes).        <\/p>\n<li class=\"l\"> Support for windowed operators (analytic functions) has been added, allowing actions to be performed on a specific set of documents within a collection. Unlike aggregate functions, window functions do not collapse the grouped set but rather perform aggregation based on the contents of a 'window' that includes one or more documents from the resulting set. A new stage, $setWindowFields, has been introduced for manipulating a subset of documents, enabling tasks such as identifying differences between two documents in a collection, calculating sales rankings, and analyzing information in complex time series.\n<li class=\"l\"> API versioning support has been added, allowing an application to be tied to a specific state of the API and mitigating risks associated with potential backward compatibility issues when transitioning to new releases of the DBMS. API versioning separates the application lifecycle from the DBMS lifecycle and allows developers to make changes to the application when the need arises to harness new capabilities rather than only during a transition to a new DBMS version.\n<li class=\"l\"> Support for the Live Resharding mechanism has been added, enabling the shard keys to change on the fly without stopping the DBMS.\n<li class=\"l\"> The capabilities for client-side field-level encryption have been enhanced. It is now possible to reconfigure audit filters and rotate x509 certificates without stopping the DBMS. Support has been added for configuring the cipher suite for TLS 1.3.\n<li class=\"l\"> A new command-line shell for MongoDB, called MongoDB Shell (mongosh), has been proposed. It is being developed as a separate project, written in JavaScript using the Node.js platform, and is distributed under the Apache 2.0 license. MongoDB Shell allows users to connect to the database, change settings, and send queries. It features intelligent method, command, and MQL expression input autocompletion, syntax highlighting, contextual hints, error message parsing, and extensibility via plugins. The old CLI shell 'mongo' has been deprecated and will be removed in a future release.      <center><img decoding=\"async\" alt=\"The document-oriented database MongoDB 5.0 is now available \" src=\"\/wp-content\/uploads\/2021\/07\/18b2004d16ec7cb4632f7b9b804a24eb.png\" style=\"display:block;margin: 0 auto;\" \/><\/center>\n<li class=\"l\"> New operators have been added: $count, $dateAdd, $dateDiff, $dateSubtract, $sampleRate, and $rand.\n<li class=\"l\"> Indexing is ensured when using the operators $eq, $lt, $lte, $gt, and $gte within the $expr expression.\n<li class=\"l\"> In the aggregate, find, findAndModify, update, delete commands, and in db.collection.aggregate(), db.collection.findAndModify(), db.collection.update(), and db.collection.remove() methods, support for the 'let' option has been implemented to define a list of variables, making the commands more readable by separating variable definitions from the query text.\n<li class=\"l\"> The find, count, distinct, aggregate, mapReduce, listCollections, and listIndexes operations are no longer blocked when a parallel operation is executing that acquires an exclusive lock on the document collection.\n<li class=\"l\"> As part of the initiative to eliminate politically incorrect terms, the isMaster command and the db.isMaster() method have been renamed to hello and db.hello() respectively.\n<li class=\"l\"> The release numbering scheme has been changed, and a predictable release schedule has been adopted. A significant release (5.0, 6.0, 7.0) will be produced once a year, with intermediate releases featuring new capabilities (5.1, 5.2, 5.3) every three months, along with corrective updates for bug fixes and vulnerabilities (5.1.1, 5.1.2, 5.1.3) as needed. Intermediate releases will introduce functionality for the next major release, meaning that new features for MongoDB 6.0 will be developed in MongoDB 5.1, 5.2, and 5.3.          <\/ul>\n<p>Source: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=55481\">opennet.ru<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u0432\u044b\u043f\u0443\u0441\u043a \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e-\u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u0421\u0423\u0411\u0414 MongoDB 5.0, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 \u043d\u0438\u0448\u0443 \u043c\u0435\u0436\u0434\u0443 \u0431\u044b\u0441\u0442\u0440\u044b\u043c\u0438 \u0438 \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u0443\u0435\u043c\u044b\u043c\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u043c\u0438, \u043e\u043f\u0435\u0440\u0438\u0440\u0443\u044e\u0449\u0438\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 \u043a\u043b\u044e\u0447\/\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435, \u0438 \u0440\u0435\u043b\u044f\u0446\u0438\u043e\u043d\u043d\u044b\u043c\u0438 \u0421\u0423\u0411\u0414, \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u0438 \u0443\u0434\u043e\u0431\u043d\u044b\u043c\u0438 \u0432 \u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432. \u041a\u043e\u0434 MongoDB \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 C++ \u0438 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u044f\u0435\u0442\u0441\u044f \u043f\u043e\u0434 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0435\u0439 SSPL, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0430 \u043d\u0430 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0438 AGPLv3, \u043d\u043e \u043d\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u0439, \u0442\u0430\u043a \u043a\u0430\u043a \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0434\u0438\u0441\u043a\u0440\u0438\u043c\u0438\u043d\u0438\u0440\u0443\u044e\u0449\u0435\u0435 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u043e\u0441\u0442\u0430\u0432\u043a\u0438 \u043f\u043e\u0434 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":100760,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-100759","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u0432\u044b\u043f\u0443\u0441\u043a \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e-\u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u0421\u0423\u0411\u0414 MongoDB 5.0, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 \u043d\u0438\u0448\u0443 \u043c\u0435\u0436\u0434\u0443 \u0431\u044b\u0441\u0442\u0440\u044b\u043c\u0438 \u0438 \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u0443\u0435\u043c\u044b\u043c\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u043c\u0438, \u043e\u043f\u0435\u0440\u0438\u0440\u0443\u044e\u0449\u0438\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 \u043a\u043b\u044e\u0447\/\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435, \u0438 \u0440\u0435\u043b\u044f\u0446\u0438\u043e\u043d\u043d\u044b\u043c\u0438 \u0421\u0423\u0411\u0414, \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u0438.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/en\/blog\/news\/dostupna-dokumento-orientirovannaya-subd-mongodb-5-0\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0414\u043e\u0441\u0442\u0443\u043f\u043d\u0430 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e-\u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0430\u044f \u0421\u0423\u0411\u0414 MongoDB 5.0 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u0432\u044b\u043f\u0443\u0441\u043a \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e-\u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u0421\u0423\u0411\u0414 MongoDB 5.0, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 \u043d\u0438\u0448\u0443 \u043c\u0435\u0436\u0434\u0443 \u0431\u044b\u0441\u0442\u0440\u044b\u043c\u0438 \u0438 \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u0443\u0435\u043c\u044b\u043c\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u043c\u0438, \u043e\u043f\u0435\u0440\u0438\u0440\u0443\u044e\u0449\u0438\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 \u043a\u043b\u044e\u0447\/\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435, \u0438 \u0440\u0435\u043b\u044f\u0446\u0438\u043e\u043d\u043d\u044b\u043c\u0438 \u0421\u0423\u0411\u0414, \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u0438.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/en\/blog\/news\/dostupna-dokumento-orientirovannaya-subd-mongodb-5-0\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2021-07-14T08:23:11+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2021-07-14T08:23:11+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47The document-oriented database MongoDB 5.0 is now available | ProHoster","description":"The release of the document-oriented database MongoDB 5.0 has been introduced, which occupies a niche between fast and scalable systems that operate data in key\/value format and functional relational databases.","canonical_url":"https:\/\/prohoster.info\/en\/blog\/news\/dostupna-dokumento-orientirovannaya-subd-mongodb-5-0","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"en_US","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0414\u043e\u0441\u0442\u0443\u043f\u043d\u0430 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e-\u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0430\u044f \u0421\u0423\u0411\u0414 MongoDB 5.0 | ProHoster","og:description":"\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u0432\u044b\u043f\u0443\u0441\u043a \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e-\u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u0421\u0423\u0411\u0414 MongoDB 5.0, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 \u043d\u0438\u0448\u0443 \u043c\u0435\u0436\u0434\u0443 \u0431\u044b\u0441\u0442\u0440\u044b\u043c\u0438 \u0438 \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u0443\u0435\u043c\u044b\u043c\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u043c\u0438, \u043e\u043f\u0435\u0440\u0438\u0440\u0443\u044e\u0449\u0438\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 \u043a\u043b\u044e\u0447\/\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435, \u0438 \u0440\u0435\u043b\u044f\u0446\u0438\u043e\u043d\u043d\u044b\u043c\u0438 \u0421\u0423\u0411\u0414, \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u0438.","og:url":"https:\/\/prohoster.info\/en\/blog\/news\/dostupna-dokumento-orientirovannaya-subd-mongodb-5-0","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2021-07-14T08:23:11+00:00","article:modified_time":"2021-07-14T08:23:11+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"100759","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-07-14 09:16:51","updated":"2026-02-22 15:30:24","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/100759","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/comments?post=100759"}],"version-history":[{"count":1,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/100759\/revisions"}],"predecessor-version":[{"id":162260,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/100759\/revisions\/162260"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/media\/100760"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/media?parent=100759"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/categories?post=100759"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/tags?post=100759"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}