{"id":36634,"date":"2019-10-31T22:12:47","date_gmt":"2019-10-31T19:12:47","guid":{"rendered":"https:\/\/prohoster.info\/blog\/globaly-mechi-kladentsy-dlya-hraneniya-dannyh-derevya-chast-1\/"},"modified":"2019-10-31T22:12:47","modified_gmt":"2019-10-31T19:12:47","slug":"globaly-mechi-kladentsy-dlya-hraneniya-dannyh-derevya-chast-1","status":"publish","type":"post","link":"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/globaly-mechi-kladentsy-dlya-hraneniya-dannyh-derevya-chast-1","title":{"rendered":"Global\u00ebt \u2014 shkurtime t\u00eb ndryshme p\u00ebr ruajtjen e t\u00eb dh\u00ebnave. Pem\u00ebt. Pjesa 1","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><noindex><a rel=\"nofollow\" href=\"http:\/\/habrahabr.ru\/company\/intersystems\/blog\/263791\/\"><img decoding=\"async\" alt=\"Global\u00ebt \u2014 shkurtime t\u00eb ndryshme p\u00ebr ruajtjen e t\u00eb dh\u00ebnave. Pem\u00ebt. Pjesa 1\" src=\"\/wp-content\/uploads\/2019\/07\/83b8e36bff66516e2c331d75d8434e13.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/a><\/noindex> Me\u00e7al e v\u00ebrteta t\u00eb bazave t\u00eb t\u00eb dh\u00ebnave \u2013 global\u00ebt \u2013 jan\u00eb t\u00eb njohura prej koh\u00ebsh, por ende shum\u00eb pak njer\u00ebz din\u00eb t'i p\u00ebrdorin ato n\u00eb m\u00ebnyr\u00eb efektive ose nuk e zot\u00ebrojn\u00eb fare k\u00ebt\u00eb superarm\u00eb.<\/p>\n<p>N\u00ebse p\u00ebrdorni global\u00ebt p\u00ebr t\u00eb zgjidhur problemet ku ata jan\u00eb v\u00ebrtet t\u00eb mir\u00eb, mund t\u00eb arrini rezultate t\u00eb shk\u00eblqyera. Ose n\u00eb performanc\u00eb, ose n\u00eb p\u00ebrmir\u00ebsimin e zgjidhjes s\u00eb problemit (<noindex><a rel=\"nofollow\" href=\"http:\/\/www.intersystems.ru\/press\/2013\/gaia-mission-1yr-later.html\">1<\/a><\/noindex>, <noindex><a rel=\"nofollow\" href=\"http:\/\/intersystems.ru\/cache\/technology\/techguide\/cache_tech-guide_01.html\">2<\/a><\/noindex>).<\/p>\n<p>Global\u00ebt jan\u00eb nj\u00eb m\u00ebnyr\u00eb speciale e ruajtjes dhe p\u00ebrpunimit t\u00eb t\u00eb dh\u00ebnave, krejt\u00ebsisht ndryshe nga tabelat n\u00eb SQL. Ata u shfaq\u00ebn n\u00eb vitin 1966 n\u00eb gjuh\u00ebn <noindex><a rel=\"nofollow\" href=\"https:\/\/en.wikipedia.org\/wiki\/MUMPS\">M(UMPS)<\/a><\/noindex> (evolucioni \u2013 <noindex><a rel=\"nofollow\" href=\"http:\/\/www.intersystems.com\/our-products\/cache\/tech-guide\/chapter-3\/#cache-objectscript\">Cach\u00e9 ObjectScript<\/a><\/noindex>, m\u00eb pas COS) n\u00eb bazat e t\u00eb dh\u00ebnave mjek\u00ebsore dhe ende atje <noindex><a rel=\"nofollow\" href=\"https:\/\/ru.wikipedia.org\/wiki\/VistA\">p\u00ebrdoren aktivisht<\/a><\/noindex>, si dhe kan\u00eb dep\u00ebrtuar n\u00eb disa fusha t\u00eb tjera ku k\u00ebrkohet besueshm\u00ebri dhe performanc\u00eb e lart\u00eb: financa, tregtimi etj.<\/p>\n<p>Global\u00ebt n\u00eb sistemet moderne t\u00eb menaxhimit t\u00eb t\u00eb dh\u00ebnave mb\u00ebshtesin transaksionet, regjistrimin, replikimin, dhe ndarjen. Pra, mbi ta mund t\u00eb nd\u00ebrtohen sisteme moderne, t\u00eb besueshme, t\u00eb shp\u00ebrndara dhe t\u00eb shpejta.<\/p>\n<p>Global\u00ebt nuk ju kufizojn\u00eb brenda kufijve t\u00eb modelit relacionar. Ata ofrojn\u00eb liri p\u00ebr zhvillimin e strukturave t\u00eb t\u00eb dh\u00ebnave, t\u00eb optimizuara p\u00ebr detyra specifike. P\u00ebr shumic\u00ebn e aplikacioneve, p\u00ebrdorimi i arsyesh\u00ebm i global\u00ebve mund t\u00eb jet\u00eb me t\u00eb v\u00ebrtet\u00eb arma e fsheht\u00eb, duke ofruar performanc\u00ebn p\u00ebr t\u00eb cil\u00ebn zhvilluesit e aplikacioneve relacionale mund t\u00eb \u00ebnd\u00ebrrojn\u00eb.<\/p>\n<p>Global\u00ebt si nj\u00eb m\u00ebnyr\u00eb p\u00ebr t\u00eb ruajtur t\u00eb dh\u00ebnat mund t\u00eb p\u00ebrdoren n\u00eb shum\u00eb gjuh\u00eb moderne programimi, si n\u00eb ato t\u00eb nivelit t\u00eb lart\u00eb ashtu edhe n\u00eb ato t\u00eb nivelit t\u00eb ul\u00ebt. Prandaj, n\u00eb k\u00ebt\u00eb artikull do t\u00eb fokusoh\u00ebm pik\u00ebrisht te global\u00ebt, dhe jo n\u00eb gjuh\u00ebn nga e cila ata jan\u00eb nxjerr\u00eb dikur.<br \/>\n<noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><\/p>\n<h2>2. Si funksionojn\u00eb global\u00ebt<\/h2>\n<p>\nLe t\u00eb kuptojm\u00eb s\u00eb pari se si funksionojn\u00eb global\u00ebt dhe cili \u00ebsht\u00eb forca e tyre. Global\u00ebt mund t\u00eb shihen nga k\u00ebndv\u00ebshtrime t\u00eb ndryshme. N\u00eb k\u00ebt\u00eb pjes\u00eb t\u00eb artikullit ne do t'i shohim ata si pem\u00eb. Ose si depo t\u00eb hierarkizuara t\u00eb t\u00eb dh\u00ebnave.<\/p>\n<p>Th\u00ebn\u00eb thjesht\u00eb, nj\u00eb global \u00ebsht\u00eb nj\u00eb masiv i q\u00ebndruesh\u00ebm. Nj\u00eb masiv q\u00eb ruhet automatikisht n\u00eb disk.<br \/>\n\u00cbsht\u00eb e v\u00ebshtir\u00eb t\u00eb imagjinosh di\u00e7ka m\u00eb t\u00eb thjesht\u00eb p\u00ebr ruajtjen e t\u00eb dh\u00ebnave. N\u00eb kod (n\u00eb gjuh\u00ebt COS\/M) ai dallon nga nj\u00eb masiv asociativ t\u00eb zakonsh\u00ebm vet\u00ebm me simbolet <b>^<\/b> para emrit.<\/p>\n<p>P\u00ebr t\u00eb ruajtur t\u00eb dh\u00ebnat n\u00eb nj\u00eb global, nuk \u00ebsht\u00eb e nevojshme t\u00eb m\u00ebsosh gjuh\u00ebn e pyetjeve SQL, komandat p\u00ebr t\u00eb punuar me to jan\u00eb shum\u00eb t\u00eb thjesht\u00eb. Mund t\u00eb m\u00ebsohen brenda nj\u00eb ore. <\/p>\n<p>T\u00eb fillojm\u00eb me shembullin m\u00eb t\u00eb thjesht\u00eb. Nj\u00eb pem\u00eb nj\u00eb-niveli me 2 deg\u00eb. Shembujt jan\u00eb shkruar n\u00eb COS.<\/p>\n<p><img decoding=\"async\" alt=\"Global\u00ebt \u2014 shkurtime t\u00eb ndryshme p\u00ebr ruajtjen e t\u00eb dh\u00ebnave. Pem\u00ebt. Pjesa 1\" src=\"\/wp-content\/uploads\/2019\/07\/5e1503716eac1eaadf49fcf3651e7fbf.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<pre><code class=\"bash\">Set ^a(\"+7926X\") = \"John Sidorov\"\nSet ^a(\"+7916Y\") = \"Sergey Smith\"<\/code><\/pre>\n<p><br clear=\"left\"\/><br \/>\nKur shtoni informacion n\u00eb global (komanda Set) ndodhin automatikisht 3 gj\u00ebra:<\/p>\n<ol>\n<li><b>Ruajtja e t\u00eb dh\u00ebnave n\u00eb disk.<\/b>\n<\/li>\n<li><b>Indeksimi.<\/b> \u00c7far\u00eb \u00ebsht\u00eb n\u00eb kllapa vepron si \u00e7el\u00ebs (n\u00eb literatur\u00ebn anglisht - \"subscript\"), nd\u00ebrsa djathtas nga barazimi \u00ebsht\u00eb vlera (\"node value\").\n<\/li>\n<li><b>Klasifikimi.<\/b> T\u00eb dh\u00ebnat klasifikohen sipas \u00e7el\u00ebsit. N\u00eb vijim, gjat\u00eb kalimit t\u00eb mas\u00ebs, elementi i par\u00eb do t\u00eb jet\u00eb \"Sergey Smith\", dhe i dyti \"John Sidorov\". Kur merrni nj\u00eb list\u00eb p\u00ebrdoruesish nga global, baza nuk e shpenzon koh\u00ebn p\u00ebr klasifikim. P\u00ebr m\u00eb tep\u00ebr, \u00ebsht\u00eb e mundur t\u00eb k\u00ebrkoni shfaqjen e nj\u00eb liste t\u00eb klasifikuar, duke filluar nga \u00e7do \u00e7el\u00ebs, madje edhe ai q\u00eb nuk ekziston (shfaqja do t\u00eb filloj\u00eb nga \u00e7el\u00ebsi real i par\u00eb q\u00eb vjen pas atij q\u00eb nuk ekziston).\n<\/li>\n<\/ol>\n<p>\nT\u00eb gjitha k\u00ebto operacione ndodhin jasht\u00ebzakonisht shpejt. N\u00eb kompjuterin tim sht\u00ebpiak kam marr\u00eb deri n\u00eb 750,000 futje\/sekon n\u00eb nj\u00eb proces. N\u00eb procesor\u00eb multinivel, vlerat mund t\u00eb arrijn\u00eb <noindex><a rel=\"nofollow\" href=\"http:\/\/habrahabr.ru\/company\/intersystems\/blog\/257501\/\">dhjetra miliona<\/a><\/noindex> futje\/sekon.<\/p>\n<p>Natyrisht, shpejt\u00ebsia e futjes vetvetiu nuk tregon shum\u00eb. P\u00ebr shembull, \u00ebsht\u00eb shum\u00eb e shpejt\u00eb t\u00eb shkruani informacion n\u00eb skedar\u00eb tekstual\u00eb - k\u00ebshtu <noindex><a rel=\"nofollow\" href=\"http:\/\/habrahabr.ru\/post\/176345\/#comment_6220633\">sipas thashethemeve<\/a><\/noindex> funksionon procesimi i Visa. Por n\u00eb rastin e global\u00ebve, ne marrim nj\u00eb depo t\u00eb strukturuar t\u00eb indeksuar, me t\u00eb cilin m\u00eb pas \u00ebsht\u00eb e leht\u00eb dhe shpejt t\u00eb punojm\u00eb.<\/p>\n<p><img decoding=\"async\" alt=\"Global\u00ebt \u2014 shkurtime t\u00eb ndryshme p\u00ebr ruajtjen e t\u00eb dh\u00ebnave. Pem\u00ebt. Pjesa 1\" src=\"\/wp-content\/uploads\/2019\/07\/ce447c81cf3a7d570518711c7103dbf0.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<ul>\n<li><b>Pika m\u00eb e fort\u00eb e global\u00ebve \u00ebsht\u00eb shpejt\u00ebsia e futjes s\u00eb nyjave t\u00eb reja.<\/b>\n<\/li>\n<li><b>T\u00eb dh\u00ebnat n\u00eb global jan\u00eb gjithmon\u00eb t\u00eb indeksuara. Kalimi i tyre si n\u00eb nj\u00eb nivel, ashtu edhe thell\u00eb n\u00eb pem\u00eb, \u00ebsht\u00eb gjithmon\u00eb i shpejt\u00eb.<\/b><\/li>\n<\/ul>\n<p>\nLe t\u00eb shtojm\u00eb n\u00eb global disa deg\u00eb t\u00eb nivelit t\u00eb dyt\u00eb dhe t\u00eb tret\u00eb.<\/p>\n<pre><code class=\"bash\">Set ^a(\"+7926X\", \"city\") = \"Moscow\"\nSet ^a(\"+7926X\", \"city\", \"street\") = \"Req Square\"\nSet ^a(\"+7926X\", \"age\") = 25\nSet ^a(\"+7916Y\", \"city\") = \"London\"\nSet ^a(\"+7916Y\", \"city\", \"street\") = \"Baker Street\"\nSet ^a(\"+7916Y\", \"age\") = 36<\/code><\/pre>\n<p>\n<img decoding=\"async\" alt=\"Global\u00ebt \u2014 shkurtime t\u00eb ndryshme p\u00ebr ruajtjen e t\u00eb dh\u00ebnave. Pem\u00ebt. Pjesa 1\" src=\"\/wp-content\/uploads\/2019\/07\/47244a6d96b589ada53ba9f53b2b3a2f.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n\u00c8sht\u00eb e qart\u00eb se mbi baz\u00ebn e global\u00ebve mund t\u00eb nd\u00ebrtohen pem\u00eb me shum\u00eb nivele. Dhe aksesin n\u00eb \u00e7do nyje \u00ebsht\u00eb praktikisht momental p\u00ebr shkak t\u00eb autoindeksimit gjat\u00eb futjes. Dhe n\u00eb \u00e7do nivel t\u00eb pem\u00ebs, t\u00eb gjitha deg\u00ebt jan\u00eb t\u00eb klasifikuara sipas \u00e7el\u00ebsit.<\/p>\n<p>Si\u00e7 duket, informacioni mund t\u00eb ruhet si n\u00eb \u00e7el\u00ebs ashtu edhe n\u00eb vler\u00eb. Gjat\u00ebsia totale e \u00e7el\u00ebsit (shuma e gjat\u00ebsi t\u00eb gjitha indekset) mund t\u00eb arrij\u00eb <noindex><a rel=\"nofollow\" href=\"http:\/\/docs.intersystems.com\/ens20152\/csp\/docbook\/DocBook.UI.Page.cls?KEY=GGBL_structure#GGBL_structure_maxsubscrlen\">511 byte<\/a><\/noindex>, nd\u00ebrsa vlerat <noindex><a rel=\"nofollow\" href=\"http:\/\/docs.intersystems.com\/cache20152\/csp\/docbook\/DocBook.UI.Page.cls?KEY=GORIENT_appx_limits_long_string\">3.6 MB<\/a><\/noindex> p\u00ebr Cach\u00e9. Numri i niveleve n\u00eb pem\u00eb (numri i dimensioneve) \u00ebsht\u00eb 31.<\/p>\n<p>Nj\u00eb pik\u00eb tjet\u00ebr interesante. Mund t\u00eb nd\u00ebrtoni nj\u00eb pem\u00eb, pa p\u00ebrcaktuar vlerat e nyjave t\u00eb niveleve t\u00eb sip\u00ebrme.<\/p>\n<p><img decoding=\"async\" alt=\"Global\u00ebt \u2014 shkurtime t\u00eb ndryshme p\u00ebr ruajtjen e t\u00eb dh\u00ebnave. Pem\u00ebt. Pjesa 1\" src=\"\/wp-content\/uploads\/2019\/07\/f37f81a87a13adb13bbd3583dda06928.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<pre><code class=\"bash\">Set ^b(\"a\", \"b\", \"c\", \"d\") = 1\nSet ^b(\"a\", \"b\", \"c\", \"e\") = 2\nSet ^b(\"a\", \"b\", \"f\", \"g\") = 3<\/code><\/pre>\n<p>\nRrethet e zbraz\u00ebt jan\u00eb nyje t\u00eb cil\u00ebve nuk u \u00ebsht\u00eb caktuar asnj\u00eb vler\u00eb.<br clear=\"left\"\/><br \/>\nP\u00ebr t\u00eb kuptuar m\u00eb mir\u00eb global\u00ebt, le t\u00eb krahasojm\u00eb ata me struktura t\u00eb tjera: me pem\u00eb kop\u00ebshtesh dhe me pem\u00ebt e sistemeve t\u00eb skedar\u00ebve.<\/p>\n<p>Le t\u00eb krahasojm\u00eb pem\u00ebt n\u00eb global\u00eb me strukturat hierarkike m\u00eb t\u00eb njohura p\u00ebr ne: me pem\u00ebt e zakonshme, q\u00eb rriten n\u00eb kopshte dhe fusha, si dhe me sistemet e skedar\u00ebve.<\/p>\n<p><img decoding=\"async\" alt=\"Global\u00ebt \u2014 shkurtime t\u00eb ndryshme p\u00ebr ruajtjen e t\u00eb dh\u00ebnave. Pem\u00ebt. Pjesa 1\" src=\"\/wp-content\/uploads\/2019\/07\/c6b00c70867c3eb2e2d8233e0fc6b6c6.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nSi\u00e7 e shohim te pem\u00ebt e kopshteve, gjethet dhe frutat ndodhen vet\u00ebm n\u00eb fundin e deg\u00ebve.<br \/>\nSistemet e skedar\u00ebve \u2013 informacioni ruhet vet\u00ebm n\u00eb fundet e deg\u00ebve, t\u00eb cilat jan\u00eb emra t\u00eb plot\u00eb skedar\u00ebsh.<\/p>\n<p>Ja struktura e t\u00eb dh\u00ebnave n\u00eb global.<\/p>\n<p><img decoding=\"async\" alt=\"Global\u00ebt \u2014 shkurtime t\u00eb ndryshme p\u00ebr ruajtjen e t\u00eb dh\u00ebnave. Pem\u00ebt. Pjesa 1\" src=\"\/wp-content\/uploads\/2019\/07\/288a5d964b4bf859944c0a0ecd000bc7.jpg\" style=\"display:block;margin: 0 auto;\" \/>Dallimet:<\/p>\n<ol>\n<li><b>Nyjet e brendshme:<\/b> informacioni n\u00eb global mund t\u00eb ruhet n\u00eb \u00e7do nyje, dhe jo vet\u00ebm n\u00eb fundet e deg\u00ebve.<\/li>\n<li><b>Nyjet e jashtme:<\/b> n\u00eb global, \u00ebsht\u00eb e domosdoshme q\u00eb t\u00eb jen\u00eb t\u00eb caktuara vlerat n\u00eb fundet e deg\u00ebve, nd\u00ebrsa te pem\u00ebt e FS dhe atyre t\u00eb kopshteve \u2013 jo.<\/li>\n<\/ol>\n<p><br clear=\"left\"\/><br \/>\nP\u00ebr pjes\u00ebn e nyjeve t\u00eb brendshme, mund t\u00eb themi se struktura e global \u00ebsht\u00eb nj\u00eb n\u00ebnkuptim i struktur\u00ebs s\u00eb pem\u00ebve t\u00eb emrave n\u00eb sistemet e skedar\u00ebve dhe pem\u00ebve t\u00eb kopshteve. Dometh\u00ebn\u00eb, m\u00eb fleksibile.<\/p>\n<p>N\u00eb rastin m\u00eb t\u00eb p\u00ebrgjithsh\u00ebm, globali p\u00ebrfaq\u00ebson <b>nj\u00eb pem\u00eb t\u00eb renditur me mund\u00ebsi p\u00ebr ruajtjen e t\u00eb dh\u00ebnave n\u00eb \u00e7do nyje.<\/b>.<\/p>\n<p>P\u00ebr t\u00eb kuptuar m\u00eb mir\u00eb funksionimin e global\u00ebve, le t\u00eb imagjinojm\u00eb se \u00e7far\u00eb do t\u00eb kishte ndodhur, n\u00ebse krijuesit e sistemeve t\u00eb skedar\u00ebve do t\u00eb kishin p\u00ebrdorur nj\u00eb qasje t\u00eb ngjashme me at\u00eb t\u00eb global\u00ebve p\u00ebr ruajtjen e informacionit?<\/p>\n<ol>\n<li>Me fshirjen e nj\u00eb skedari t\u00eb vet\u00ebm n\u00eb nj\u00eb dosje, automatikisht do t\u00eb fshiheshin edhe dosja dhe t\u00eb gjitha dosjet mbi t\u00eb q\u00eb p\u00ebrmbanin vet\u00ebm at\u00eb dosje t\u00eb sapofshir\u00eb.\n<\/li>\n<li>Nevoj\u00ebn p\u00ebr dosje do ta humbisnim. Thjesht do t\u00eb ishim skedar\u00eb me n\u00ebnskedare dhe skedar\u00eb pa n\u00ebnskedare. N\u00ebse e krahasojm\u00eb me nj\u00eb pem\u00eb t\u00eb zakonshme, secila deg\u00eb do t\u00eb b\u00ebhej nj\u00eb frut.\n<p><img decoding=\"async\" alt=\"Global\u00ebt \u2014 shkurtime t\u00eb ndryshme p\u00ebr ruajtjen e t\u00eb dh\u00ebnave. Pem\u00ebt. Pjesa 1\" src=\"\/wp-content\/uploads\/2019\/07\/8e5e5681c191869da23c32da6e6d8d7b.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n\n<\/li>\n<li>Gj\u00ebrat si skedari README.txt, ndoshta, do t\u00eb ishin eliminuar. \u00c7do gj\u00eb q\u00eb duhej t\u00eb thoshte rreth p\u00ebrmbajtjes s\u00eb dosjes mund t\u00eb ishte shkruar brenda skedarit t\u00eb dosjes. N\u00eb hap\u00ebsir\u00ebn e rrug\u00ebve, emri i skedarit nuk \u00ebsht\u00eb i diferencuesh\u00ebm nga emri i dosjes, k\u00ebshtu q\u00eb mund t\u00eb shkonim vet\u00ebm me skedar\u00eb.\n<\/li>\n<li>Shpejt\u00ebsia e fshirjes s\u00eb dosjeve me n\u00ebn-dosje dhe skedar\u00eb do t\u00eb rritej ndjesh\u00ebm. Shum\u00eb her\u00eb n\u00eb Habr\u00eb kan\u00eb kaluar artikuj rreth sa e gjat\u00eb dhe e v\u00ebshtir\u00eb \u00ebsht\u00eb t\u00eb fshijm\u00eb miliona skedar\u00eb t\u00eb vegj\u00ebl.<noindex><a rel=\"nofollow\" href=\"http:\/\/habrahabr.ru\/post\/152193\/\">1<\/a><\/noindex>, <noindex><a rel=\"nofollow\" href=\"http:\/\/habrahabr.ru\/post\/157613\/\">2<\/a><\/noindex>). Megjithat\u00eb, n\u00ebse krijoni nj\u00eb sistem pseudo-fajllor n\u00eb global, kjo do t\u00eb marr\u00eb sekonda ose disa pjes\u00eb t\u00eb tyre. Kur testova fshirjen e n\u00ebnpjerrjeve n\u00eb kompjuterin tim t\u00eb sht\u00ebpis\u00eb, 96-341 milion nyje n\u00eb nj\u00eb pem\u00eb me dy nivele fshiheshin p\u00ebr 1 sekond\u00eb nga HDD (jo SSD). Dhe \u00ebsht\u00eb fjala p\u00ebr fshirjen e nj\u00eb pjese t\u00eb pem\u00ebs, jo thjesht t\u00eb gjith\u00eb skedarit me globalet.<\/li>\n<\/ol>\n<p>\n<img decoding=\"async\" alt=\"Global\u00ebt \u2014 shkurtime t\u00eb ndryshme p\u00ebr ruajtjen e t\u00eb dh\u00ebnave. Pem\u00ebt. Pjesa 1\" src=\"\/wp-content\/uploads\/2019\/07\/7f700eeafb3e552923139024f38c6661.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<b>Fshirja e n\u00ebnpjerrjeve \u00ebsht\u00eb nj\u00eb tjet\u00ebr pik\u00eb e fort\u00eb e global\u00ebve. P\u00ebr k\u00ebt\u00eb nuk nevojitet rekursivitet.<\/b> Kjo ndodh jasht\u00ebzakonisht shpejt.<\/p>\n<p>N\u00eb pem\u00ebn ton\u00eb, kjo mund t\u00eb b\u00ebhet me komand\u00ebn <b>Kill<\/b>.<\/p>\n<pre><code class=\"bash\">Kill ^a(\"+7926X\")<\/code><\/pre>\n<p>\n<img decoding=\"async\" alt=\"Global\u00ebt \u2014 shkurtime t\u00eb ndryshme p\u00ebr ruajtjen e t\u00eb dh\u00ebnave. Pem\u00ebt. Pjesa 1\" src=\"\/wp-content\/uploads\/2019\/07\/89d5b69c6e80832c6865824782d9754d.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nP\u00ebr nj\u00eb kuptim m\u00eb t\u00eb mir\u00eb t\u00eb veprimeve q\u00eb na jan\u00eb n\u00eb dispozicion mbi globalet, do t\u00eb jap nj\u00eb tabel\u00eb t\u00eb shkurt\u00ebr.<\/p>\n<p>Komandat dhe funksionet kryesore p\u00ebr pun\u00ebn me globalet n\u00eb COS<\/p>\n<p><noindex><a rel=\"nofollow\" href=\"http:\/\/docs.intersystems.com\/cache20152\/csp\/docbook\/DocBook.UI.Page.cls?KEY=RCOS_cset\">Caktoni<\/a><\/noindex><br \/>\nVendosja e degeve deri n\u00eb nyje (n\u00ebse ende nuk jan\u00eb t\u00eb p\u00ebrcaktuara) dhe vlera e nyjes<\/p>\n<p><noindex><a rel=\"nofollow\" href=\"http:\/\/docs.intersystems.com\/cache20152\/csp\/docbook\/DocBook.UI.Page.cls?KEY=RCOS_cmerge\">Merge<\/a><\/noindex><br \/>\nKopjimi i n\u00ebnpjerrjeve<\/p>\n<p><noindex><a rel=\"nofollow\" href=\"http:\/\/docs.intersystems.com\/cache20152\/csp\/docbook\/DocBook.UI.Page.cls?KEY=RCOS_ckill\">Kill<\/a><\/noindex><br \/>\nFshirja e n\u00ebnpjerrjes<\/p>\n<p><noindex><a rel=\"nofollow\" href=\"http:\/\/docs.intersystems.com\/cache20152\/csp\/docbook\/DocBook.UI.Page.cls?KEY=RCOS_czkill\">ZKill<\/a><\/noindex><br \/>\nFshirja e vler\u00ebs s\u00eb nj\u00eb nyjeje specifike. N\u00ebnpjerrja q\u00eb del nga nyja nuk preket<\/p>\n<p><noindex><a rel=\"nofollow\" href=\"http:\/\/docs.intersystems.com\/cache20152\/csp\/docbook\/DocBook.UI.Page.cls?KEY=RCOS_fquery\">$Query<\/a><\/noindex><br \/>\nShfryt\u00ebzimi i plot\u00eb i pem\u00ebs me futje n\u00eb thell\u00ebsi<\/p>\n<p><noindex><a rel=\"nofollow\" href=\"http:\/\/docs.intersystems.com\/cache20152\/csp\/docbook\/DocBook.UI.Page.cls?KEY=RCOS_forder\">$Order<\/a><\/noindex><br \/>\nP\u00ebrshkimin e deg\u00ebve t\u00eb nj\u00eb nyjeje specifike<\/p>\n<p><noindex><a rel=\"nofollow\" href=\"http:\/\/docs.intersystems.com\/cache20152\/csp\/docbook\/DocBook.UI.Page.cls?KEY=RCOS_fdata\">$Data<\/a><\/noindex><br \/>\nKontrolli n\u00ebse nyja \u00ebsht\u00eb e p\u00ebrcaktuar<\/p>\n<p><noindex><a rel=\"nofollow\" href=\"http:\/\/docs.intersystems.com\/cache20152\/csp\/docbook\/DocBook.UI.Page.cls?KEY=RCOS_fincrement\">$Increment<\/a><\/noindex><br \/>\nInkrementimi atomik i vler\u00ebs s\u00eb nyjes. P\u00ebr t\u00eb mos b\u00ebr\u00eb lexime dhe shkrime, p\u00ebr ACID. S\u00eb fundmi rekomandohet ta nd\u00ebrroni n\u00eb <noindex><a rel=\"nofollow\" href=\"http:\/\/habrahabr.ru\/company\/intersystems\/blog\/263793\/\">$Sequence<\/a><\/noindex><\/p>\n<p>Faleminderit p\u00ebr v\u00ebmendjen, jemi t\u00eb gatsh\u00ebm t\u00eb p\u00ebrgjigjemi p\u00ebr pyetjet tuaja.<\/p>\n<p><b>Kufizimi<\/b>: <i>Ky artikull dhe komentet e mia p\u00ebr t\u00eb jan\u00eb mendimi im dhe nuk kan\u00eb t\u00eb b\u00ebjn\u00eb me pozitat zyrtare t\u00eb kompanis\u00eb InterSystems.<\/i><\/p>\n<p><i><b>Vazhdimi<\/b> <noindex><a rel=\"nofollow\" href=\"http:\/\/habrahabr.ru\/company\/intersystems\/blog\/264173\/\">Global\u00ebt - shpata t\u00eb fshehura p\u00ebr ruajtjen e t\u00eb dh\u00ebnave. Pem\u00ebt. Pjesa 2<\/a><\/noindex>. Ju do t\u00eb m\u00ebsoni se cilat lloje t\u00eb t\u00eb dh\u00ebnave mund t\u00eb shfaqen n\u00eb global dhe p\u00ebr cilat detyra ato ofrojn\u00eb p\u00ebrfitimin maksimal.<\/i><br \/>\n<br \/>Burimi: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/company\/intersystems\/blog\/263791\/\">habr.com<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041d\u0430\u0441\u0442\u043e\u044f\u0449\u0438\u0435 \u043c\u0435\u0447\u0438-\u043a\u043b\u0430\u0434\u0435\u043d\u0446\u044b \u0431\u0430\u0437 \u0434\u0430\u043d\u043d\u044b\u0445 \u2014 \u0433\u043b\u043e\u0431\u0430\u043b\u044b \u2014 \u0434\u0430\u0432\u043d\u043e \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b, \u043d\u043e \u0434\u043e \u0441\u0438\u0445 \u043f\u043e\u0440 \u043d\u0435\u043c\u043d\u043e\u0433\u0438\u0435 \u0443\u043c\u0435\u044e\u0442 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e \u0438\u043c\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0438\u043b\u0438 \u0432\u043e\u0432\u0441\u0435 \u043d\u0435 \u0432\u043b\u0430\u0434\u0435\u044e\u0442 \u044d\u0442\u0438\u043c \u0441\u0443\u043f\u0435\u0440\u043e\u0440\u0443\u0436\u0438\u0435\u043c. \u0415\u0441\u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0433\u043b\u043e\u0431\u0430\u043b\u044b \u0432 \u0440\u0435\u0448\u0435\u043d\u0438\u0438 \u0442\u0435\u0445 \u0437\u0430\u0434\u0430\u0447, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043e\u043d\u0438 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0445\u043e\u0440\u043e\u0448\u0438, \u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f \u0432\u044b\u0434\u0430\u044e\u0449\u0438\u0445\u0441\u044f \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432. \u041b\u0438\u0431\u043e \u0432 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438, \u043b\u0438\u0431\u043e \u0432 \u0443\u043f\u0440\u043e\u0449\u0435\u043d\u0438\u0438 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0437\u0430\u0434\u0430\u0447\u0438 (1, 2). \u0413\u043b\u043e\u0431\u0430\u043b\u044b \u2014 \u044d\u0442\u043e \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":27434,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[688],"tags":[],"class_list":["post-36634","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-administrirovanie"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2.1 - aioseo.com -->\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\/administrirovanie\/globaly-mechi-kladentsy-dlya-hraneniya-dannyh-derevya-chast-1\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2.1\" \/>\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\u0413\u043b\u043e\u0431\u0430\u043b\u044b \u2014 \u043c\u0435\u0447\u0438-\u043a\u043b\u0430\u0434\u0435\u043d\u0446\u044b \u0434\u043b\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445. \u0414\u0435\u0440\u0435\u0432\u044c\u044f. \u0427\u0430\u0441\u0442\u044c 1 | ProHoster\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/globaly-mechi-kladentsy-dlya-hraneniya-dannyh-derevya-chast-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=\"2019-10-31T19:12:47+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2019-10-31T19:12:47+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\udd47Globalet \u2014 shpatat e fshehura p\u00ebr ruajtjen e t\u00eb dh\u00ebnave. Pem\u00ebt. Pjesa 1 | ProHoster","description":"","canonical_url":"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/globaly-mechi-kladentsy-dlya-hraneniya-dannyh-derevya-chast-1","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\u0413\u043b\u043e\u0431\u0430\u043b\u044b \u2014 \u043c\u0435\u0447\u0438-\u043a\u043b\u0430\u0434\u0435\u043d\u0446\u044b \u0434\u043b\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445. \u0414\u0435\u0440\u0435\u0432\u044c\u044f. \u0427\u0430\u0441\u0442\u044c 1 | ProHoster","og:url":"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/globaly-mechi-kladentsy-dlya-hraneniya-dannyh-derevya-chast-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":"2019-10-31T19:12:47+00:00","article:modified_time":"2019-10-31T19:12:47+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"36634","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":"2026-01-22 04:13:19","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-03-01 01:41:52","updated":"2026-01-22 04:13:19","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts\/36634","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=36634"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts\/36634\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/media\/27434"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/media?parent=36634"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/categories?post=36634"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/tags?post=36634"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}