MongoDB 5.0 inouya nedata muchimiro chenguva nhevedzano, kuverenga manhamba uye zvimwe

Shanduro itsva ye MongoDB 5.0 yakatoburitswa kare uye mune iyi vhezheni itsva dzimwe nhau dzinonakidza dzinoburitswa yatinogona kuratidza iyo kuunganidzwa kwedatha muchimiro chenguva yenguva, pamwe nerutsigiro rwe API vhezheni yekudzora, tsigiro yeiyo Live Resharding michina, pakati pevamwe.

Kune avo vasina kujairana neMongoDB, iwe unofanirwa kuziva izvo iyi DB inotsigira kuchengetedza magwaro muJSON-senge fomati, ine mutauro wakasununguka unogadzira mibvunzo, inogona kugadzira indekisi yezvimiro zvakasiyana zvakachengetwa, inonyatso chengetedza zvinhu zvakakura zvebhinari, inotsigira mashandiro erejista kuti ishandure uye iwedzere dhata kudhatabhesi, inogona kushanda zvinoenderana neparadigm Mepu / Kuderedza, inotsigira kudzokorora. uye kuvaka kukanganisa kushivirira kumisikidzwa.

Main nyowani maficha eMongoDB 5.0

Mune iyi vhezheni itsva tinogona kuwana izvo dambudziko rekuverenga scheme rakachinjwa uye yakachinjirwa kuchirongwa chekufungidzira. Kamwe pagore, yakakosha vhezheni ichaumbwa . .

Shanduro dzenguva pfupi dzichagadzira mashandiro ekuburitswa kukuru kunotevera, ndiko kuti, MongoDB 5.1, 5.2 uye 5.3 ichawedzera maficha matsva ekuburitswa kweMongoDB 6.0.

Kana zviri zvitsva izvo zvinoratidzwa mune iyi nyowani vhezheni ye MongoDB 5.0 Tinogona kuona kuti ndinoziva yakawedzera rutsigiro rwe API vhezheni yekudzora, iyo inokutendera kuti usunge chishandiso kune yakasarudzika API nyika uye kubvisa njodzi dzinosanganisirwa nekukanganisa kwekudzokera kumashure kwekukanganisa paunenge uchienda kushanduro nyowani dzeDBMS. API vhezheni yekudzora inoparadzanisa iyo yehupenyu hwekutenderera kubva ku database hupenyu hupenyu uye inogonesa vanogadzira kuti vaite shanduko kuchishandiswa panodiwa kuti vatore mukana wekugona nyowani, pane kana vachichinjira kune itsva vhezheni yedhatabhesi.

Chimwe chinhu chitsva chakakosha ndeichi kuunganidzwa kwedatha muchimiro chenguva yenguva ayo akatogadzirirwa kuchengetedza zvikamu zveparamende kukosha kwakanyorwa mune imwe nguva nguva (nguva uye seti yemitengo inoenderana nenguva ino). MongoDB inobata idzi kuunganidzwa senge isina mweya uye anotaridzika maonero yakagadzirwa kubva kuunganidzwa kwemukati uye otomatiki mapoka enhoroondo dhata mune yakasarudzika fomati yekuchengetedza kana yaiswa

Zvinotaridzawo kuti yakawedzerwa tsigiro yeRarama Resharding mashini, iyo inobvumidza iwe kuti uchinje makiyi ekusharding anoshandiswa pakushongedza pane iyo nhunzi usinga mise iyo DBMS.

Naizvozvowo tsigiro yemabasa ekuongorora ayo anotendera iwe kuti uite zviito zvine yakatarwa seti yemagwaro ari muunganidzwa. Kusiyana nemabasa akaunganidzwa, mashandiro ewindows haadonhe kuita seti yakarongedzwa, asi akaunganidzwa zvichibva pane zvemukati me "hwindo" iro rinosanganisira rimwe kana mamwe magwaro mune yakatarwa mhedzisiro.

Uyewo, Munda encryption kugona kwakawedzerwa padivi revatengisezvo iwe uchigona ikozvino kugadzirisa x509 maficha ekuongorora uye chitupa kutenderera pasina kumisa iyo DBMS. Wakawedzera rutsigiro rwekugadzirisa iyo cipher suite yeTLS 1.3.

Kune rimwe divi, zvinomirawo mukuzivisa kweshanduro iyi nyowani iyo mutsva wekuraira mutsara shell MongoDB Shell yakafemerwa (mongosh), iri kuvandudzwa seprojekti yakaparadzana, yakanyorwa muJavaScript uchishandisa Node.js chikuva uye ichigoverwa pasi peApache 2.0 rezinesi.

MongoDB Shell inokutendera kuti ubatanidze kune DBMS, chinja kumisikidza uye utumire mibvunzo. Inotsigira smart autocompletion yeMQL expression, yekuraira uye nzira yekuisa, kujekesa syntax, maratidziro emamiriro ezvinhu, parse meseji yekukanganisa, uye kugona kuwedzera mashandiro kuburikidza nemapulagi

Yeimwe shanduko yakaiswa:

  • Tsvaga, kuverenga, zvakasiyana, zviyero, mepuReduce, rondedzeroKusarudzwa, uye rondedzeroIndexes haachavharwe kana oparesheni ikamhanya panguva imwe cheteyo sezvo ichiwana yekukiya yega pane muunganidzwa wemagwaro.
  • Sechikamu chekuyedza kubvisa mazwi ezvematongerwo enyika asiri iwo, iyo isMaster rairo uye iyo db.isMaster () nzira yakapihwa zita rekuti hello uye db.hello ().
  • Iyo yekare "mongo" CLI yadzikiswa uye ichazobviswa mukuburitswa mune ramangwana.

Chekupedzisira, kana iwe uchifarira kuziva zvakawanda nezvazvo, unogona kubvunza iyo ruzivo mune inotevera chinongedzo.


Izvo zviri muchinyorwa zvinoomerera pamisimboti yedu ye tsika dzekunyora. Kuti utaure chikanganiso tinya pano.

Iva wekutanga kutaura

Siya yako yekutaura

Your kero e havazobvumirwi ichibudiswa. Raida minda anozivikanwa ne *

*

*

  1. Inotarisira iyo data: Miguel Ángel Gatón
  2. Chinangwa cheiyo data: Kudzora SPAM, manejimendi manejimendi.
  3. Legitimation: Kubvuma kwako
  4. Kutaurirana kwedata
  5. Dhata yekuchengetedza: Dhatabhesi inobatwa neOccentus Networks (EU)
  6. Kodzero: Panguva ipi neipi iwe unogona kudzora, kupora uye kudzima ruzivo rwako