{"id":107696,"date":"2023-04-04T12:48:31","date_gmt":"2023-04-04T10:48:31","guid":{"rendered":"https:\/\/prohoster.info\/?p=107696"},"modified":"2023-04-04T19:05:56","modified_gmt":"2023-04-04T17:05:56","slug":"pervyj-stabilnyj-vypusk-ferretdb-realizaczii-mongodb-na-baze-subd-postgresql","status":"publish","type":"post","link":"https:\/\/prohoster.info\/hu\/blog\/news\/pervyj-stabilnyj-vypusk-ferretdb-realizaczii-mongodb-na-baze-subd-postgresql","title":{"rendered":"A FerretDB els\u0151 stabil kiad\u00e1sa, amely a PostgreSQL adatb\u00e1zisra \u00e9p\u00edtett MongoDB megval\u00f3s\u00edt\u00e1sa","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Megjelent a FerretDB 1.0 verzi\u00f3ja, amely lehet\u0151v\u00e9 teszi a MongoDB dokumentum-orient\u00e1lt adatb\u00e1zis PostgreSQL-ra val\u00f3 cser\u00e9j\u00e9t an\u00e9lk\u00fcl, hogy m\u00f3dos\u00edt\u00e1sokat kellene v\u00e9gezni az alkalmaz\u00e1sok k\u00f3dj\u00e1ban. A FerretDB proxy szerverk\u00e9nt m\u0171k\u00f6dik, amely a MongoDB h\u00edv\u00e1sokat SQL-lek\u00e9rdez\u00e9sekk\u00e9 alak\u00edtja \u00e1t a PostgreSQL sz\u00e1m\u00e1ra, lehet\u0151v\u00e9 t\u00e9ve ezzel a PostgreSQL t\u00e9nyleges adatt\u00e1rol\u00f3k\u00e9nt val\u00f3 haszn\u00e1lat\u00e1t. Az 1.0 verzi\u00f3t az els\u0151 stabil kiad\u00e1sk\u00e9nt jelzik, amely k\u00e9sz a sz\u00e9les k\u00f6r\u0171 haszn\u00e1latra. A k\u00f3d Go nyelven k\u00e9sz\u00fclt, \u00e9s Apache 2.0 licenc alatt terjesztik.        <\/p>\n<p>A FerretDB f\u0151 c\u00e9lcsoportj\u00e1t azon felhaszn\u00e1l\u00f3k alkotj\u00e1k, akik nem haszn\u00e1lj\u00e1k a MongoDB kiterjesztett funkci\u00f3it az alkalmaz\u00e1saikban, de szeretn\u00e9k ig\u00e9nybe venni a teljesen ny\u00edlt forr\u00e1sk\u00f3d\u00fa szoftverstacket. A FerretDB jelenlegi fejleszt\u00e9si szakasz\u00e1ban a MongoDB leggyakrabban haszn\u00e1lt funkci\u00f3inak egy r\u00e9szhalmaz\u00e1t t\u00e1mogatja. A FerretDB bevezet\u00e9s\u00e9nek sz\u00fcks\u00e9gess\u00e9ge felmer\u00fclhet a MongoDB SSPL nem szabad licenszre val\u00f3 \u00e1tt\u00e9r\u00e9se miatt, amely az AGPLv3 licenszen alapul, de nem ny\u00edlt, mivel diszkr\u00e9t k\u00f6vetelm\u00e9nyt tartalmaz az SSPL licensz alatt nemcsak az alkalmaz\u00e1s k\u00f3dj\u00e1nak, hanem az \u00f6sszes \u00f6sszetev\u0151 forr\u00e1sk\u00f3dj\u00e1nak \u00e1tad\u00e1s\u00e1ra is, amely r\u00e9szt vesz a felh\u0151szolg\u00e1ltat\u00e1s ny\u00fajt\u00e1s\u00e1ban.         <\/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 1.0 verzi\u00f3j\u00e1nak v\u00e1ltoz\u00e1sai:  <\/p>\n<ul>\n<li class=\"l\"> Megval\u00f3s\u00edtott\u00e1k a createIndexes \u00e9s dropIndexes parancsokat egy vagy t\u00f6bb index l\u00e9trehoz\u00e1s\u00e1ra \u00e9s elt\u00e1vol\u00edt\u00e1s\u00e1ra a gy\u0171jtem\u00e9nyhez.\n<li class=\"l\"> Megval\u00f3s\u00edtott\u00e1k a getMore parancsot, amely \u00fajabb r\u00e9szt ad ki azon eredm\u00e9nyekb\u0151l, amelyeket a kurzort visszaad\u00f3 parancsokb\u00f3l, p\u00e9ld\u00e1ul a find \u00e9s aggregate, kaptak.\n<li class=\"l\"> Hozz\u00e1adt\u00e1k az $sum aggreg\u00e1l\u00f3 oper\u00e1tor t\u00e1mogat\u00e1s\u00e1t a csoportban l\u00e9v\u0151 \u00e9rt\u00e9kek \u00f6sszeg\u00e9nek kisz\u00e1m\u00edt\u00e1s\u00e1hoz.\n<li class=\"l\"> Hozz\u00e1adt\u00e1k a $limit \u00e9s $skip oper\u00e1torok t\u00e1mogat\u00e1s\u00e1t, amelyek korl\u00e1tozz\u00e1k a dokumentumok sz\u00e1m\u00e1t \u00e9s \u00e1tugorj\u00e1k \u0151ket aggreg\u00e1ci\u00f3 sor\u00e1n.\n<li class=\"l\"> Hozz\u00e1adt\u00e1k a $count oper\u00e1tor t\u00e1mogat\u00e1s\u00e1t a dokumentumok sz\u00e1ml\u00e1l\u00e1s\u00e1hoz aggreg\u00e1l\u00e1skor.\n<li class=\"l\"> Hozz\u00e1adt\u00e1k az $unwind oper\u00e1tor t\u00e1mogat\u00e1s\u00e1t a bej\u00f6v\u0151 dokumentumok t\u00f6mbmez\u0151inek kib\u0151v\u00edt\u00e9s\u00e9hez, \u00e9s t\u00e1rolnak egy k\u00fcl\u00f6n dokumentumot minden t\u00f6mbelemhez.\n<li class=\"l\"> R\u00e9szleges t\u00e1mogat\u00e1st adtak a collStats, dbStats \u00e9s dataSize parancsokhoz a gy\u0171jtem\u00e9ny \u00e9s az adatb\u00e1zis statisztik\u00e1inak, valamint az adatok m\u00e9ret\u00e9nek lek\u00e9rdez\u00e9s\u00e9hez.            <\/ul>\n<p>Forr\u00e1s: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=58915\">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 1.0, \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. \u0412\u0435\u0440\u0441\u0438\u044f 1.0 \u043e\u0442\u043c\u0435\u0447\u0435\u043d\u0430 \u043a\u0430\u043a \u043f\u0435\u0440\u0432\u044b\u0439 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u044b\u0439 \u0432\u044b\u043f\u0443\u0441\u043a, \u0433\u043e\u0442\u043e\u0432\u044b\u0439 \u0434\u043b\u044f \u043f\u043e\u0432\u0441\u0435\u043c\u0435\u0441\u0442\u043d\u043e\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f. \u041a\u043e\u0434 \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Go \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-107696","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 1.0, \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\/pervyj-stabilnyj-vypusk-ferretdb-realizaczii-mongodb-na-baze-subd-postgresql\" \/>\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\u041f\u0435\u0440\u0432\u044b\u0439 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u044b\u0439 \u0432\u044b\u043f\u0443\u0441\u043a FerretDB, \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 MongoDB \u043d\u0430 \u0431\u0430\u0437\u0435 \u0421\u0423\u0411\u0414 PostgreSQL | 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 1.0, \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\/pervyj-stabilnyj-vypusk-ferretdb-realizaczii-mongodb-na-baze-subd-postgresql\" \/>\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=\"2023-04-04T10:48:31+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2023-04-04T17:05:56+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 els\u0151 stabil kiad\u00e1sa, amely a MongoDB PostgreSQL alap\u00fa megval\u00f3s\u00edt\u00e1sa | ProHoster","description":"Megjelent a FerretDB 1.0 verzi\u00f3ja, amely lehet\u0151v\u00e9 teszi a MongoDB dokumentum-orient\u00e1lt adatb\u00e1zis PostgreSQL-ra val\u00f3 cser\u00e9j\u00e9t an\u00e9lk\u00fcl, hogy m\u00f3dos\u00edt\u00e1sokat kellene v\u00e9gezni az alkalmaz\u00e1sok k\u00f3dj\u00e1ban.","canonical_url":"https:\/\/prohoster.info\/hu\/blog\/news\/pervyj-stabilnyj-vypusk-ferretdb-realizaczii-mongodb-na-baze-subd-postgresql","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\u041f\u0435\u0440\u0432\u044b\u0439 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u044b\u0439 \u0432\u044b\u043f\u0443\u0441\u043a FerretDB, \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 MongoDB \u043d\u0430 \u0431\u0430\u0437\u0435 \u0421\u0423\u0411\u0414 PostgreSQL | 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 1.0, \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\/pervyj-stabilnyj-vypusk-ferretdb-realizaczii-mongodb-na-baze-subd-postgresql","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":"2023-04-04T10:48:31+00:00","article:modified_time":"2023-04-04T17:05:56+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\/107696","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=107696"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts\/107696\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/media?parent=107696"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/categories?post=107696"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/tags?post=107696"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}