0 ratings0% found this document useful (0 votes) 21 views9 pagesNGT Unit 2
i conatins information about subject knowlege for bsc it student
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here.
Available Formats
Download as PDF or read online on Scribd
ON tclonht 5
C) function 19 Monge GB:gagaur
THIFFIFTIVPVUGEEEEBUUULUUUUUNN
é
te Copped collecHon aye Fixed StL Collechian
con,
that com store clata in the samz orde, aS
[inserted ond fetch in order fo sup port
Thigh performanc for treate , road and
aie be" operations
fFyou wante log fhe achyi Hes cache
dake or huge volume clala vathin on
opplicahHon and youu amt to store the
data in the fame order itis inserteel :
MlongoDb prvides upped mm this, a minimum of 4
ae ree Nodes ave yeguibeel: 4
ah " pie 4a
this opetraton of replication, —
E Ta opB assumes one Nade o
replita set asprimay node B the 4
remainine art, se céncloiy nodes. 4
ia om _withtn the IIMOTH Modk j
| data gets rplic ieee Se condory _ 4
| Nodes + 7
© Hew Pumory node = eb
tn cose thet is autem
maintenance ot —Failove|
[kes
Ihe yecavel
[Hrike note on tdentitiers: i
JA key ts a label for querin dala
from dociment like RpBMms TueGos
1 uniquely identi iy each clocument
Within a collechon’
T+ you have cm « splicing, specified veel
fora key, o unigue value will be
gc joa automah cally amd assign
fo it by MlengoDB:
ft Key vel. 12 15 immutable ond cam be
of Gn Aout typ < except CONG
TRe ae Feld! ts the frst Held of omy
clocoument :
TF Ihe server receive the document
thot d not have the first field, phon
Lyove the fied fo the
fet Rreld tn 2 decument}: 4
Jentifier is also Known as ob)
THis the default primer Ss key for d
ongePB SSE
iS implicitly created by thi
velie |S ae gerbil €
= of an ny ded af.
“aby odOe| Date
YP i+ a-
First 4 bytes in the obyed \d stoy
the. dels~about time in second
Idhet has been pastin Phe spar
laf Hme,
eh 4
| The Nex} 3 bytes Shyes+ne rchino
lingermatton cheae dale ts of
Fes) Ving
|
3) | 8 to 4
The next 2 bylet shores the
|about tire process |
[the obyect-td-
yi to tea —
[The next 8 byks basicall
| Hhe th Cremenh cCoumteyDates /
©. |Explan A944) eaate C) fumchon 19 Teens D8
The se cy fomeian ip Ton goDR
1s a powtttul fool wued4 Precess
| clata Sac! rerun cem ol results +
a4 allows 4 cu to peterm complex dara
_|teensfoxrn akon and "com ubadions on
|eolkecHhons of cho curman
J pdeng 0D6's agqrega ce 0 will
clus STL outthe rec a tn ne foirn ot
ollecHon which con be then emp ied
Wize SMney,
_provic ding operahens
mM mam Rance mum , ei >
Me aggrsjet jon framework enables
{you to Wrd sut +he agaregate ves
tothe ud using MapRecuct TumcHon:
OTMaNnce. € ote amenotk
Foster trom Mapred ou)
a performin 9, an. ogggale fumcHon |
i
Passrgel iS hod js We
40 far! i i
lab: ColNecdion=name-aqq a
i (sSpgale epalatond.
% [Aggregate - Fumchon — e
ge ui,
Sums up the Acfincd yale:
| clocuments in tne col)
|
{
|
|4
2) | pavg — Pr ORR
: ee the average ot AVG ie) oe
waluer Grom all dousments in the
collection:
RRALAA
>| $mn = Cs =e
Gcets the. minimum of the corresponding
value) from cl) documenisin tne 2
To }le Hon e
F max — Awe B |
Gets Fhe maximum ofthe ae 7
rovresponding yalues from al)
documents |Athe collechon: =
x e
Slim) - et. bs =
Umit the number of documents ee =
passed to the next sjaqge. ©
i at ee
%oush -_ Sct 2 a
Adds exha values inte +he onayu®
f the res ng do cuments =
$oddTose} -
adds Unique verliey fe orn)