{"id":105842,"date":"2022-12-05T21:36:57","date_gmt":"2022-12-05T19:36:57","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/vypusk-ferretdb-0-7-realizaczii-mongodb-na-baze-subd-postgresq"},"modified":"2022-12-05T21:36:57","modified_gmt":"2022-12-05T19:36:57","slug":"vypusk-ferretdb-0-7-realizaczii-mongodb-na-baze-subd-postgresq","status":"publish","type":"post","link":"https:\/\/prohoster.info\/hu\/blog\/news\/vypusk-ferretdb-0-7-realizaczii-mongodb-na-baze-subd-postgresq","title":{"rendered":"FerretDB 0.7 kiad\u00e1sa, a MongoDB PostgreSQL alap\u00fa megval\u00f3s\u00edt\u00e1sa","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Megjelent a FerretDB 0.7 projekt kiad\u00e1sa, amely lehet\u0151v\u00e9 teszi a dokumentum-orient\u00e1lt MongoDB adatb\u00e1zis helyettes\u00edt\u00e9s\u00e9t PostgreSQL-lel an\u00e9lk\u00fcl, hogy m\u00f3dos\u00edt\u00e1sokat kellene v\u00e9gezni az alkalmaz\u00e1sok k\u00f3dj\u00e1ban. A FerretDB proxy-k\u00e9nt m\u0171k\u00f6dik, amely a MongoDB-ra vonatkoz\u00f3 k\u00e9r\u00e9seket SQL-lek\u00e9rdez\u00e9sekk\u00e9 alak\u00edtja \u00e1t a PostgreSQL sz\u00e1m\u00e1ra, ezzel lehet\u0151v\u00e9 t\u00e9ve, hogy a PostgreSQL t\u00e9nyleges t\u00e1rol\u00f3k\u00e9nt m\u0171k\u00f6dj\u00f6n. A k\u00f3d Go nyelven \u00edr\u00f3dott, \u00e9s az Apache 2.0 licenc alatt terjesztik.    <\/p>\n<p>A migr\u00e1ci\u00f3s ig\u00e9ny a MongoDB SSPL nem szabad licenc\u00e9re val\u00f3 \u00e1tt\u00e9tele miatt mer\u00fclhet fel, amely az AGPLv3 licenc alapj\u00e1n k\u00e9sz\u00fclt, de nem tekinthet\u0151 ny\u00edlt forr\u00e1sk\u00f3d\u00fa szoftvernek, mivel diszkr\u00e9t k\u00f6vetelm\u00e9nyt tartalmaz az SSPL licenc al\u00e1 tartoz\u00f3 nemcsak az alkalmaz\u00e1s k\u00f3dj\u00e1nak, hanem az \u00f6sszes \u00e9rintett komponenst forr\u00e1sk\u00f3dj\u00e1nak biztos\u00edt\u00e1s\u00e1ra, amelyek a felh\u0151szolg\u00e1ltat\u00e1s ny\u00fajt\u00e1s\u00e1ban r\u00e9szt vesznek.     <\/p>\n<p>A FerretDB f\u0151 c\u00e9lk\u00f6z\u00f6ns\u00e9ge azok a felhaszn\u00e1l\u00f3k, akik nem haszn\u00e1lj\u00e1k a MongoDB kiterjesztett funkci\u00f3it az alkalmaz\u00e1saikban, de teljesen ny\u00edlt forr\u00e1sk\u00f3d\u00fa szoftverstackot k\u00edv\u00e1nnak haszn\u00e1lni. Jelenlegi fejleszt\u00e9si szakasz\u00e1ban a FerretDB csak a MongoDB leggyakrabban haszn\u00e1lt funkci\u00f3it t\u00e1mogatja, de a j\u00f6v\u0151ben v\u00e1rhat\u00f3an teljes kompatibilit\u00e1st fog el\u00e9rni a MongoDB illeszt\u0151programj\u00e1val, \u00e9s lehet\u0151s\u00e9get k\u00edn\u00e1l a FerretDB \u00e1tl\u00e1tsz\u00f3 helyettes\u00edt\u00e9s\u00e9re a MongoDB sz\u00e1m\u00e1ra.      <\/p>\n<p>A MongoDB a gyors \u00e9s sk\u00e1l\u00e1zhat\u00f3 rendszerek \u00e9s a rel\u00e1ci\u00f3s adatb\u00e1zisok k\u00f6z\u00f6tt helyezkedik el, amelyek funkcionalit\u00e1sa \u00e9s k\u00e9rd\u00e9sform\u00e1l\u00e1si egyszer\u0171s\u00e9ge jelent\u0151s. A MongoDB t\u00e1mogatja a dokumentumok t\u00e1rol\u00e1s\u00e1t JSON-szer\u0171 form\u00e1tumban, el\u00e9g rugalmas lek\u00e9rdez\u00e9si nyelv\u00e9nek k\u00f6sz\u00f6nhet\u0151en k\u00fcl\u00f6nf\u00e9le t\u00e1rolt attrib\u00fatumok indexel\u00e9s\u00e9re k\u00e9pes, hat\u00e9konyan biztos\u00edtja a nagy bin\u00e1ris objektumok t\u00e1rol\u00e1s\u00e1t, t\u00e1mogatja az adatok m\u00f3dos\u00edt\u00e1s\u00e1ra \u00e9s hozz\u00e1ad\u00e1s\u00e1ra vonatkoz\u00f3 m\u0171veletek napl\u00f3z\u00e1s\u00e1t, m\u0171k\u00f6dhet a Map\/Reduce paradigm\u00e1j\u00e1ban, \u00e9s t\u00e1mogatja a replik\u00e1ci\u00f3t \u00e9s a hibat\u0171r\u0151 konfigu\u00e1ci\u00f3k fel\u00e1ll\u00edt\u00e1s\u00e1t.     <\/p>\n<p>A FerretDB 0.7-es kiad\u00e1s\u00e1ban t\u00f6rt\u00e9nt v\u00e1ltoz\u00e1sok k\u00f6z\u00f6tt:  <\/p>\n<ul>\n<li class=\"l\"> Megval\u00f3s\u00edtott\u00e1k a msg_explain diagnosztikai parancsot, amely sz\u00fcks\u00e9ges a Tigris platformhoz.\n<li class=\"l\"> A listCollections parancsba be\u00e9p\u00edtett\u00e9k a sz\u0171r\u0151k t\u00e1mogat\u00e1s\u00e1t (a &#171;filter&#187; opci\u00f3).\n<li class=\"l\"> Megengedett a &#171;-&#187; karakter haszn\u00e1lata az adatb\u00e1zisok neveiben.\n<li class=\"l\"> Megn\u00f6velt\u00e9k az find parancs \u00e1ltal t\u00e1mogatott param\u00e9terek sz\u00e1m\u00e1t.\n<li class=\"l\"> A wire csomag, amely a &#171;wire&#187; protokollt (a MongoDB-vel val\u00f3 interakci\u00f3s protokollt) val\u00f3s\u00edtja meg, lehet\u0151v\u00e9 tette a dokumentumok ellen\u0151rz\u00e9s\u00e9t. A minim\u00e1lisan t\u00e1mogatott wire protokoll verzi\u00f3t 13-ra cs\u00f6kkentett\u00e9k, ami a MongoDB 5.0-nak felel meg.  <\/ul>\n<p>Forr\u00e1s: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=58267\">opennet.ru<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d \u0432\u044b\u043f\u0443\u0441\u043a \u043f\u0440\u043e\u0435\u043a\u0442\u0430 FerretDB 0.7, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0435\u0433\u043e \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e-\u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0443\u044e \u0421\u0423\u0411\u0414 MongoDB \u043d\u0430 PostgreSQL \u0431\u0435\u0437 \u0432\u043d\u0435\u0441\u0435\u043d\u0438\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0432 \u043a\u043e\u0434 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439. FerretDB \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d \u043a\u0430\u043a \u043f\u0440\u043e\u043a\u0441\u0438-\u0441\u0435\u0440\u0432\u0435\u0440, \u0442\u0440\u0430\u043d\u0441\u043b\u0438\u0440\u0443\u044e\u0449\u0438\u0439 \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u044f \u043a MongoDB \u0432 SQL-\u0437\u0430\u043f\u0440\u043e\u0441\u044b \u043a PostgreSQL, \u0447\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c PostgreSQL \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0444\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0430. \u041a\u043e\u0434 \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Go \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 Apache 2.0. \u041f\u043e\u0442\u0440\u0435\u0431\u043d\u043e\u0441\u0442\u044c \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u0438 \u043c\u043e\u0436\u0435\u0442 \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u0443\u0442\u044c \u0432 \u0441\u0432\u044f\u0437\u0438 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-105842","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.3 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d \u0432\u044b\u043f\u0443\u0441\u043a \u043f\u0440\u043e\u0435\u043a\u0442\u0430 FerretDB 0.7, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0435\u0433\u043e \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e-\u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0443\u044e \u0421\u0423\u0411\u0414 MongoDB \u043d\u0430 PostgreSQL \u0431\u0435\u0437 \u0432\u043d\u0435\u0441\u0435\u043d\u0438\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0432 \u043a\u043e\u0434 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439.\" \/>\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\/hu\/blog\/news\/vypusk-ferretdb-0-7-realizaczii-mongodb-na-baze-subd-postgresq\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<meta property=\"og:locale\" content=\"hu_HU\" \/>\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 FerretDB 0.7, \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 MongoDB \u043d\u0430 \u0431\u0430\u0437\u0435 \u0421\u0423\u0411\u0414 PostgreSQ | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d \u0432\u044b\u043f\u0443\u0441\u043a \u043f\u0440\u043e\u0435\u043a\u0442\u0430 FerretDB 0.7, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0435\u0433\u043e \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e-\u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0443\u044e \u0421\u0423\u0411\u0414 MongoDB \u043d\u0430 PostgreSQL \u0431\u0435\u0437 \u0432\u043d\u0435\u0441\u0435\u043d\u0438\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0432 \u043a\u043e\u0434 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/hu\/blog\/news\/vypusk-ferretdb-0-7-realizaczii-mongodb-na-baze-subd-postgresq\" \/>\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=\"2022-12-05T19:36:57+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2022-12-05T19:36:57+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\udd47A FerretDB 0.7 kiad\u00e1sa, a PostgreSQL adatb\u00e1zison alapul\u00f3 MongoDB megval\u00f3s\u00edt\u00e1sa | ProHoster","description":"Megjelent a FerretDB 0.7 kiad\u00e1sa, amely lehet\u0151v\u00e9 teszi a MongoDB dokumentum-orient\u00e1lt DBMS PostgreSQL-re val\u00f3 helyettes\u00edt\u00e9s\u00e9t a programok k\u00f3dj\u00e1nak m\u00f3dos\u00edt\u00e1sa n\u00e9lk\u00fcl.","canonical_url":"https:\/\/prohoster.info\/hu\/blog\/news\/vypusk-ferretdb-0-7-realizaczii-mongodb-na-baze-subd-postgresq","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"hu_HU","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 FerretDB 0.7, \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 MongoDB \u043d\u0430 \u0431\u0430\u0437\u0435 \u0421\u0423\u0411\u0414 PostgreSQ | ProHoster","og:description":"\u041e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d \u0432\u044b\u043f\u0443\u0441\u043a \u043f\u0440\u043e\u0435\u043a\u0442\u0430 FerretDB 0.7, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0435\u0433\u043e \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e-\u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0443\u044e \u0421\u0423\u0411\u0414 MongoDB \u043d\u0430 PostgreSQL \u0431\u0435\u0437 \u0432\u043d\u0435\u0441\u0435\u043d\u0438\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0432 \u043a\u043e\u0434 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439.","og:url":"https:\/\/prohoster.info\/hu\/blog\/news\/vypusk-ferretdb-0-7-realizaczii-mongodb-na-baze-subd-postgresq","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":"2022-12-05T19:36:57+00:00","article:modified_time":"2022-12-05T19:36:57+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":[],"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts\/105842","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/comments?post=105842"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts\/105842\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/media?parent=105842"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/categories?post=105842"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/tags?post=105842"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}