{"id":95653,"date":"2020-10-01T13:42:30","date_gmt":"2020-10-01T11:42:30","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/vypusk-kompaktnoj-vstraivaemoj-subd-libmdbx-0-9-1"},"modified":"2020-10-01T13:42:30","modified_gmt":"2020-10-01T11:42:30","slug":"vypusk-kompaktnoj-vstraivaemoj-subd-libmdbx-0-9-1","status":"publish","type":"post","link":"https:\/\/prohoster.info\/en\/blog\/news\/vypusk-kompaktnoj-vstraivaemoj-subd-libmdbx-0-9-1","title":{"rendered":"The release of the compact embedded database system libmdbx 0.9.1","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/erthink\/libmdbx\/releases\">Released<\/a><\/noindex> version 0.9.1 of the library <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/erthink\/libmdbx\">libmdbx<\/a><\/noindex> (MDBX) with an implementation of a high-performance, compact embedded key-value database. The libmdbx code is distributed under the license <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/erthink\/libmdbx\/blob\/master\/LICENSE\">OpenLDAP Public License.<\/a><\/noindex>.<\/p>\n<p>The current version is a compromise between the intent to release a long-term stable version 1.0 with full C++ support and the reluctance to postpone releases due to the unpreparedness for freezing the new C++ API. The presented release is the result of 9 months of work aimed at stabilizing the library and improving its usability, and also includes a preliminary version <noindex><a rel=\"nofollow\" href=\"https:\/\/erthink.github.io\/libmdbx\/mdbx_8h_09_09.html\">C++ API<\/a><\/noindex>. <\/p>\n<p>The libmdbx library is not just a 'fork', but a fundamentally reworked descendant. <noindex><a rel=\"nofollow\" href=\"https:\/\/symas.com\/lmdb\/\">LMDB<\/a><\/noindex> \u2014 a transactional embedded database of the \"key-value\" class based on <noindex><a rel=\"nofollow\" href=\"https:\/\/ru.wikipedia.org\/wiki\/B%E2%81%BA-%D0%B4%D0%B5%D1%80%D0%B5%D0%B2%D0%BE\">B+ tree<\/a><\/noindex> without <noindex><a rel=\"nofollow\" href=\"https:\/\/ru.wikipedia.org\/wiki\/%D0%A3%D0%BF%D1%80%D0%B5%D0%B6%D0%B4%D0%B0%D1%8E%D1%89%D0%B0%D1%8F_%D0%B6%D1%83%D1%80%D0%BD%D0%B0%D0%BB%D0%B8%D0%B7%D0%B0%D1%86%D0%B8%D1%8F\">anticipatory journaling<\/a><\/noindex>, which allows multithreaded processes to work concurrently and efficiently with a locally shared (not networked) database without a dedicated server process. Libmdbx fundamentally <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/erthink\/libmdbx#improvements-beyond-lmdb\">expands<\/a><\/noindex> enhances the capabilities of its predecessor while eliminating or mitigating its shortcomings. At the same time, according to the developers, libmdbx is slightly faster and significantly more reliable than LMDB.<\/p>\n<p>libmdbx offers <noindex><a rel=\"nofollow\" href=\"https:\/\/ru.wikipedia.org\/wiki\/ACID\">ACID<\/a><\/noindex>, strict serialization of changes and non-blocking reading with linear scaling across CPU cores. Performance testing results (sending parallel read\/search requests in 1-2-4-8 threads on an i7-4600U CPU with 2 physical cores in 4-thread HyperThreading mode):<br \/>\n<center><noindex><a rel=\"nofollow\" href=\"https:\/\/raw.githubusercontent.com\/wiki\/erthink\/libmdbx\/img\/perf-slide-2.png\"><img decoding=\"async\" alt=\"The release of the compact embedded database system libmdbx 0.9.1\" src=\"\/wp-content\/uploads\/2020\/10\/ed2aaa014641ef00f52ce87b0119ece0.png\" style=\"display:block;margin: 0 auto;\" \/><\/a><\/noindex><\/center><\/p>\n<p>The most important differences of MDBX compared to LMDB:<\/p>\n<ul>\n<li class=\"l\">  Significantly more attention is paid to code quality, the 'robustness' of the API, testing, and automated checks.\n<li class=\"l\">  Substantially more control during operations, from parameter checks to internal audits of database structures.\n<li class=\"l\">  Auto-compaction and automatic size management of the database.\n<li class=\"l\">  A unified database format for 32-bit and 64-bit builds.\n<li class=\"l\">  Estimation of the volume of samples by ranges.\n<li class=\"l\">  Support for keys twice the length and a user-selectable database page size.\n<li class=\"l\">  A structure integrity check utility for the database with some recovery capabilities.\n<\/ul>\n<p>The main innovations and improvements after <noindex><a rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=52147\">the previous news<\/a><\/noindex> presenting version 0.5 in January 2020:<\/p>\n<ul>\n<li class=\"l\">  An open <noindex><a rel=\"nofollow\" href=\"https:\/\/t.me\/libmdbx\">group has been created in Telegram for operational support and questions<\/a><\/noindex>.\n<li class=\"l\">  Over ten bugs and shortcomings have been fixed (see <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/erthink\/libmdbx\/blob\/master\/ChangeLog.md\">change log<\/a><\/noindex>).\n<li class=\"l\">  Numerous typos and spelling mistakes have been corrected, along with multiple cosmetic improvements.\n<li class=\"l\">  Test scenarios have been expanded.\n<li class=\"l\">  Support for iOS, Android, <noindex><a rel=\"nofollow\" href=\"https:\/\/en.wikipedia.org\/wiki\/Buildroot\">buildroot<\/a><\/noindex>, <noindex><a rel=\"nofollow\" href=\"https:\/\/ru.wikipedia.org\/wiki\/Musl\">Musl<\/a><\/noindex>, <noindex><a rel=\"nofollow\" href=\"https:\/\/ru.wikipedia.org\/wiki\/UClibc\">uClibc<\/a><\/noindex>, <noindex><a rel=\"nofollow\" href=\"https:\/\/ru.wikipedia.org\/wiki\/Windows_Subsystem_for_Linux\">WSL1<\/a><\/noindex> and <noindex><a rel=\"nofollow\" href=\"https:\/\/ru.wikipedia.org\/wiki\/Wine\">Wine<\/a><\/noindex>.\n<li class=\"l\">  A preliminary version of the C++ API has been introduced in <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/erthink\/libmdbx\/blob\/master\/mdbx.h%2B%2B\">a single header file<\/a><\/noindex>.\n<li class=\"l\">  Built-in documentation has been formatted in Doxygen and automatic generation of <noindex><a rel=\"nofollow\" href=\"https:\/\/erthink.github.io\/libmdbx\/\">Online documentation has been implemented<\/a><\/noindex>.\n<li class=\"l\">  Automatic archive generation with amalgamated source texts has been implemented.\n<li class=\"l\">  Support for preparing transactions and cursors, along with user contexts for transactions and cursors, has been added.\n<li class=\"l\">  Additional methods for controlling referential integrity in MVCC snapshots of B+tree have been implemented.\n<li class=\"l\">  Support for checking the MVCC snapshot of the database, accessible through any meta-page with the possibility of switching for recovery, has been added.\n<li class=\"l\">  Support for reopening the database from a single process for testing purposes and more has been implemented.\n<li class=\"l\">  Automatic handling of the MDBX_NOSUBDIR option when opening the database has been implemented.\n<li class=\"l\">  Functions have been added to generate integer keys from floating-point values and 'universal' JavaScript numbers.\n<li class=\"l\">  A total of 430 changes affecting 93 files have been made, with over 25,000 lines added and more than 8,500 lines removed.\n<\/ul>\n<p>Future development of libmdbx will focus on finalizing the C++ API, further stabilizing the core code, improving library usability, and creating packages for popular Linux distributions. Notable upcoming enhancements include support for keys in the format <noindex><a rel=\"nofollow\" href=\"https:\/\/en.wikipedia.org\/wiki\/MessagePack\">MessagePack<\/a><\/noindex>.<\/p>\n<p><noindex><a rel=\"nofollow\" name=\"link\"><\/a><\/noindex><\/p>\n<p>Source: <a \ncontent=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=53812\">opennet.ru<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0412\u044b\u043f\u0443\u0449\u0435\u043d\u0430 \u0432\u0435\u0440\u0441\u0438\u044f 0.9.1 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 libmdbx (MDBX) \u0441 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0435\u0439 \u0432\u044b\u0441\u043e\u043a\u043e\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0439, \u043a\u043e\u043c\u043f\u0430\u043a\u0442\u043d\u043e\u0439 \u0432\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c\u043e\u0439 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u043a\u043b\u0430\u0441\u0441\u0430 \u043a\u043b\u044e\u0447-\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435. \u041a\u043e\u0434 libmdbx \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 OpenLDAP Public License. \u0422\u0435\u043a\u0443\u0449\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043a\u043e\u043c\u043f\u0440\u043e\u043c\u0438\u0441\u0441\u043e\u043c \u043c\u0435\u0436\u0434\u0443 \u043d\u0430\u043c\u0435\u0440\u0435\u043d\u0438\u0435\u043c \u0432\u044b\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0434\u043e\u043b\u0433\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e 1.0 \u0441 \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u043e\u0439 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 C++ \u0438 \u043d\u0435\u0436\u0435\u043b\u0430\u043d\u0438\u0435\u043c \u043e\u0442\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0442\u044c \u0440\u0435\u043b\u0438\u0437\u044b \u0438\u0437-\u0437\u0430 \u043d\u0435\u0433\u043e\u0442\u043e\u0432\u043d\u043e\u0441\u0442\u0438 \u043a \u0437\u0430\u043c\u043e\u0440\u043e\u0437\u043a\u0435 \u043d\u043e\u0432\u043e\u0433\u043e C++ API. \u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0439 \u0440\u0435\u043b\u0438\u0437 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u043c 9 \u043c\u0435\u0441\u044f\u0446\u0435\u0432 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":95654,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-95653","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=\"\u0412\u044b\u043f\u0443\u0449\u0435\u043d\u0430 \u0432\u0435\u0440\u0441\u0438\u044f 0.9.1 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 libmdbx.\" \/>\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\/vypusk-kompaktnoj-vstraivaemoj-subd-libmdbx-0-9-1\" \/>\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\u0412\u044b\u043f\u0443\u0441\u043a \u043a\u043e\u043c\u043f\u0430\u043a\u0442\u043d\u043e\u0439 \u0432\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c\u043e\u0439 \u0421\u0423\u0411\u0414 libmdbx 0.9.1 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0412\u044b\u043f\u0443\u0449\u0435\u043d\u0430 \u0432\u0435\u0440\u0441\u0438\u044f 0.9.1 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 libmdbx.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/en\/blog\/news\/vypusk-kompaktnoj-vstraivaemoj-subd-libmdbx-0-9-1\" \/>\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=\"2020-10-01T11:42:30+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-10-01T11:42:30+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\udd47Release of the compact embedded database libmdbx 0.9.1 | ProHoster","description":"Version 0.9.1 of the libmdbx library has been released.","canonical_url":"https:\/\/prohoster.info\/en\/blog\/news\/vypusk-kompaktnoj-vstraivaemoj-subd-libmdbx-0-9-1","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\u0412\u044b\u043f\u0443\u0441\u043a \u043a\u043e\u043c\u043f\u0430\u043a\u0442\u043d\u043e\u0439 \u0432\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c\u043e\u0439 \u0421\u0423\u0411\u0414 libmdbx 0.9.1 | ProHoster","og:description":"\u0412\u044b\u043f\u0443\u0449\u0435\u043d\u0430 \u0432\u0435\u0440\u0441\u0438\u044f 0.9.1 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 libmdbx.","og:url":"https:\/\/prohoster.info\/en\/blog\/news\/vypusk-kompaktnoj-vstraivaemoj-subd-libmdbx-0-9-1","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":"2020-10-01T11:42:30+00:00","article:modified_time":"2020-10-01T11:42:30+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"95653","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-02-28 11:01:22","updated":"2022-10-03 04:30:17","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\/95653","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=95653"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/95653\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/media\/95654"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/media?parent=95653"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/categories?post=95653"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/tags?post=95653"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}