{"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\/sq\/blog\/news\/pervyj-stabilnyj-vypusk-ferretdb-realizaczii-mongodb-na-baze-subd-postgresql","title":{"rendered":"L\u00ebshimi i par\u00eb stabil i FerretDB, realizimi i MongoDB mbi baz\u00ebn e DBMS PostgreSQL","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>\u00cbsht\u00eb publikuar dalja e projektit FerretDB 1.0, i cili lejon z\u00ebvend\u00ebsimin e DBMS me orientim dokumentesh MongoDB me PostgreSQL pa b\u00ebr\u00eb ndryshime n\u00eb kodin e aplikacioneve. FerretDB \u00ebsht\u00eb realizuar si nj\u00eb server proxy, i cili transmeton k\u00ebrkesat nga MongoDB n\u00eb pyetje SQL p\u00ebr PostgreSQL, duke lejuar k\u00ebshtu p\u00ebrdorimin e PostgreSQL si magazin\u00ebn faktike. Versioni 1.0 \u00ebsht\u00eb shpallur si dalja e par\u00eb stabile, e gatshme p\u00ebr p\u00ebrdorim n\u00eb mas\u00eb. Kodi \u00ebsht\u00eb shkruar n\u00eb gjuh\u00ebn Go dhe shp\u00ebrndahet n\u00ebn licenc\u00ebn Apache 2.0.        <\/p>\n<p>Audienca kryesore e FerretDB jan\u00eb p\u00ebrdoruesit q\u00eb nuk shfryt\u00ebzojn\u00eb mund\u00ebsit\u00eb e avancuara t\u00eb MongoDB n\u00eb aplikacionet e tyre, por d\u00ebshirojn\u00eb t\u00eb p\u00ebrdorin nj\u00eb grup t\u00eb plot\u00eb t\u00eb softuer\u00ebve t\u00eb hapur. N\u00eb k\u00ebt\u00eb faz\u00eb t\u00eb zhvillimit, FerretDB mb\u00ebshtet nj\u00eb n\u00ebngrup t\u00eb mund\u00ebsive m\u00eb t\u00eb zakonshme t\u00eb MongoDB, t\u00eb cilat p\u00ebrdoren shpesh n\u00eb aplikacionet standarde. Nevoja p\u00ebr implementimin e FerretDB mund t\u00eb lind\u00eb si pasoj\u00eb e kalimit t\u00eb MongoDB n\u00eb nj\u00eb licenc\u00eb jo t\u00eb lir\u00eb SSPL, e cila bazohet n\u00eb licenc\u00ebn AGPLv3, por nuk \u00ebsht\u00eb e hapur, pasi p\u00ebrfshin nj\u00eb k\u00ebrkes\u00eb diskriminuese p\u00ebr dor\u00ebzimin n\u00ebn licenc\u00ebn SSPL jo vet\u00ebm t\u00eb kodit t\u00eb aplikacionit, por edhe t\u00eb burimeve t\u00eb t\u00eb gjitha komponent\u00ebve t\u00eb involvuar n\u00eb ofrimin e sh\u00ebrbimit n\u00eb re.         <\/p>\n<p>MongoDB z\u00eb nj\u00eb ni\u015f\u00eb midis sistemeve t\u00eb shpejta dhe t\u00eb shkall\u00ebzueshme q\u00eb operojn\u00eb t\u00eb dh\u00ebnat n\u00eb formatin \u00e7el\u00ebs\/vler\u00eb dhe bazave t\u00eb t\u00eb dh\u00ebnave relacional, funksionale dhe t\u00eb p\u00ebrshtatshme p\u00ebr formimin e k\u00ebrkesave. MongoDB mb\u00ebshtet ruajtjen e dokumenteve n\u00eb formatin e ngjash\u00ebm me JSON, ka nj\u00eb gjuh\u00eb mjaft fleksibile p\u00ebr formimin e k\u00ebrkesave, mund t\u00eb krijoj\u00eb indekse p\u00ebr atributet e ndryshme t\u00eb ruajtura, siguron efektivisht ruajtjen e objekteve t\u00eb m\u00ebdha binar\u00eb, mb\u00ebshtet regjistrimin e operacioneve p\u00ebr ndryshimin dhe shtimin e t\u00eb dh\u00ebnave n\u00eb databaz\u00eb, mund t\u00eb punoj\u00eb n\u00eb pajtueshm\u00ebri me paradigmat Map\/Reduce, mb\u00ebshtet replikimin dhe nd\u00ebrtimin e konfigurimeve q\u00eb jan\u00eb t\u00eb q\u00ebndrueshme ndaj d\u00ebshtimeve.     <\/p>\n<p>Nd\u00ebr ndryshimet n\u00eb FerretDB 1.0:  <\/p>\n<ul>\n<li class=\"l\"> Jan\u00eb implementuar komandat createIndexes dhe dropIndexes p\u00ebr krijimin dhe fshirjen e nj\u00eb ose disa indekseve n\u00eb koleksion.\n<li class=\"l\"> Jan\u00eb implementuar komand\u00ebn getMore p\u00ebr tregimin e nj\u00eb s\u00ebr\u00eb t\u00eb re rezultatesh t\u00eb marra nga ekzekutimi i komandave q\u00eb kthejn\u00eb kursora, si find dhe aggregate.\n<li class=\"l\"> \u00cbsht\u00eb shtuar mb\u00ebshtetje p\u00ebr operatorin agregues $sum p\u00ebr llogaritjen e shum\u00ebs s\u00eb vlerave t\u00eb grupit.\n<li class=\"l\"> \u00cbsht\u00eb shtuar mb\u00ebshtetje p\u00ebr operator\u00ebt $limit dhe $skip p\u00ebr kufizimin e numrit dhe kalimin e dokumenteve gjat\u00eb agregimit.\n<li class=\"l\"> \u00cbsht\u00eb shtuar mb\u00ebshtetje p\u00ebr operatorin $count p\u00ebr num\u00ebrimin e dokumenteve gjat\u00eb agregimit.\n<li class=\"l\"> \u00cbsht\u00eb shtuar mb\u00ebshtetje p\u00ebr operatorin $unwind p\u00ebr t\u00eb analizuar fushat e array nga dokumentet hyr\u00ebse dhe p\u00ebr t\u00eb formuar nj\u00eb list\u00eb me nj\u00eb dokument t\u00eb ve\u00e7ant\u00eb p\u00ebr \u00e7do element t\u00eb array.\n<li class=\"l\"> \u00cbsht\u00eb shtuar mb\u00ebshtetje e pjesshme p\u00ebr komandat collStats, dbStats dhe dataSize p\u00ebr marrjen e statistikave mbi koleksionin dhe DB-n\u00eb, si dhe mbi madh\u00ebsin\u00eb e t\u00eb dh\u00ebnave.            <\/ul>\n<p>Burimi: <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.2 - 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\/sq\/blog\/news\/pervyj-stabilnyj-vypusk-ferretdb-realizaczii-mongodb-na-baze-subd-postgresql\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2\" \/>\n\t\t<meta property=\"og:locale\" content=\"sq_AL\" \/>\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\/sq\/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\udd47Dalja e par\u00eb stabile FerretDB, realizimi i MongoDB mbi baz\u00ebn e DBMS PostgreSQL | ProHoster","description":"\u00cbsht\u00eb publikuar dalja e projektit FerretDB 1.0, i cili lejon z\u00ebvend\u00ebsimin e DBMS me orientim dokumentesh MongoDB me PostgreSQL pa b\u00ebr\u00eb ndryshime n\u00eb kodin e aplikacioneve.","canonical_url":"https:\/\/prohoster.info\/sq\/blog\/news\/pervyj-stabilnyj-vypusk-ferretdb-realizaczii-mongodb-na-baze-subd-postgresql","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"sq_AL","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\/sq\/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\/sq\/wp-json\/wp\/v2\/posts\/107696","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/comments?post=107696"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts\/107696\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/media?parent=107696"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/categories?post=107696"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/tags?post=107696"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}