MongoDB? ?? ?? ????? ?? ???? ???? ? ??? NOSQL ?????????. 1) ??? ???? ???? ???? ?????. ??? JSON ??? ???? ???? SQL ???? ?????. 2) MongoDB? B-Tree Indexing ? Sharding? ?? ???? ??? ??? ?????. 3) ?? ???? ?? ??, ?? ? ??? ?????. ?? ??? ??? ?? ?? ??? ??? ??? ??? ?? ? ? ????. 4) ???? ???? ??? ???? ??? ?? ??? ??????. 5) ?? ????? ??? ???, ??, ?? ?? ?? ? ??? ???? ?????.
??
MongoDB? ?? ?? ?? ????? ?? ???? ???? ? ? ?? ?????. ??? ?????? ??? ??? ?? ???? ???? ???? ?????. ??? MongoDB? ?? ??????? ?? ??? ?? ? ?? ???? ????. ??? ??? ????, ??? ? ? ???, ??? ?? ?? ?????? ???? ???? ???? ??? ? ? ????.
?? ?? ??
??, MongoDB? NOSQL ?????????. ?, ?? SQL ??????? ?? ???? ???? ?? ???? ?? ???? ?? ?? ?? ??? ????. ? ??? ???, ??, ?? ? ?? ? ??? ?? ??? ??? ???? ?? ? ??? JSON ?????. ??? ???? ?? ??? ??? ??? ?? ? ? MongoDB? ??? ? ? ????.
MongoDB? ?? ?? - ?? ? ??? ?? ??? ? ???. ???? SQL? ???? ????? ??? ???? ?? ????? ???? ??? ?? ??? ?? ? ??? ????. ?? ???? ???? ?? ? ? ?? ?????.
?? ?? ?? ?? ??
?? ? ???? ?? ? ??
MongoDB? ??? ?????. ??? ??? ??? ??? ?? ? ??? JSON ??? ?? ???? ????. ?? ??:
{ "_id": ObjectId ( "5099803DF3F3F4948BD2F98391"), "??": "John Doe", "??": 30, "??": { "??": "123 Main St", "City": "New York" }, "??": [ "??", "??"]] }
??? ??? MongoDB? ???? ?? ?? ? ? ??? SQL? ???? ????? ? ?????. ?? ???? ??? ???? ?? ????? ??? ????? ??? ? ????.
?? ??
Mongodb? ?? ???? ????. B-Tree ???? ???? ???? ??? ?? ? ?? ??? ??????. ??? ???? ???? ???? ??????? ?????. MongoDB? ?? Sharding? ????? ?? ??? ???? ???? ???? ???? ??? ???? ?? ? ? ??????.
?? ???? MongoDB? ??? ?? ??? ???? ??? ???? ?? ????. ??? ?? ?? ???, ?? ??? ? ??? ???? ??? ??? ??? ??? ????? ?? ????? ????? ????.
??? ?
?? ??
Python? Pymongo ?????? ???? ??? MongoDB ?? ?? ?? ?????.
Pymongo?? Mongoclient?? <h1>MongoDB ??? ??????</h1><p> ????? = mongoclient ( 'mongodb : // localhost : 27017/')</p><h1> ??????? ?????</h1><p> DB = ????? [ 'myDatabase']</p><h1> ???? ?????</h1><p> collection = db [ 'mycollection']</p><h1> ??? ??????</h1><p> document = { "name": "John Doe", "Age": 30} ?? = collection.insert_one (??)</p><h1> ?? ??</h1><p> query = { "name": "John Doe"} ?? = collection.find_one (??)</p><p> print (??) # ?? : { 'name': 'John Doe', 'age': 30, '_id': ???? ( '...')}</p>
? ??? MongoDB? ??, ?? ?? ? ??? ?? ??? ?????.
?? ??
?? ??? ??? ???? ???? ???? ?? ???? ??? ??? ?? ???????.
Pymongo?? Mongoclient?? <p>????? = mongoclient ( 'mongodb : // localhost : 27017/') DB = ????? [ 'myDatabase'] collection = db [ 'mycollection']</p><h1> ?? ??? ???? ??????</h1><p> collection.insert_many ([ { "??": "John Doe", "Age": 30, "City": "New York"}, { "??": "Jane Doe", "Age": 25, "City": "Los Angeles"}, { "??": "Bob Smith", "Age": 35, "City": "Chicago"} ])))</p><h1> ?? ??? ?? ??</h1><p> ??? ?? = [ { "$ group": { "_id": "$ city", "avgage": { "$ avg": "$ age"}}, { "$ sort": { "avgage": -1}} ]]</p><p> result = collection.aggregate (??? ??)</p><p> ???? Doc? ?? : print (doc) # ?? : { '_id': 'Chicago', 'avgage': 35.0}, { '_id': 'New York', 'avgage': 30.0}, { '_id': 'avgange': 25.0}</p>
? ?? ?? ??? ??? ???? ? ??? ?? ??? ???? ?? ??? ?? ??? ???? ??? ?????.
???? ?? ? ??? ?
MongoDB? ??? ? ???? ??? ObjectID? ???? ?? ?? ????. ObjectID? MongoDB? ? ??? ?? ?? ?????, ???? ???? ??? ??? ?? ? ? ????. ?? ??:
Pymongo?? Mongoclient?? BSON import ObjectId?? <p>????? = mongoclient ( 'mongodb : // localhost : 27017/') DB = ????? [ 'myDatabase'] collection = db [ 'mycollection']</p><h1> ??? ?? ???</h1><p> query = { "_id": "5099803df3f3f4948bd2f98391"} ?? = collection.find_one (query) # ??? ????</p><h1> ??? ?? ???</h1><p> query = { "_id": objectId ( "5099803DF3F4948BD2F98391")} result = collection.find_one (query) # ??? ????</p>
? ?? ???? ??? ??? ??? ?????. MongoDB? ?? ??? ??? ???? ???? ???? ???? ??? ?? ??? ?? ??? ? ????. ???? ?? ? ??? ???? ???? ? ??? ? ??? ??? ?? ????.
?? ??? ? ?? ??
?? ?? ???? MongoDB ??? ????? ?? ??? ?????. ? ?? ??? ?? ??? ????.
??? ??? : ???? ????? ???? ?? ??? ?? ???? ? ????. ?? ?? ? ??? ?? ???? ???? ?? ?? ?? ?? ?? ???? ?? ?? ??? ???? ? ?????????.
SHARDING : ??? ??? ?? Sharding? ???? ?? ????? ???? ?? ?? ??? ???? ???? ?? ??? ? ????.
?? ? ?? ?? : ?? ??? ???? ?? ? ?? ??? ?? ? ? ??? ?? ??? ??? ???? ? ????.
??? ??? : ?? ??? ????? ???? ?? ?? ??? ??? ?? ???? ??????.
?? ??? ???? ??? ?? ?? ??? ????.
?? ??? : MongoDB? ??? ?? ??? ?? ? ????? ?? ?? ?????. ???? ?? ??? ??? ???? ? ???? ??? ????? ?????.
??? ?? : ???? ???? ?? ??? ??? ???? ???? ???? ???? ??????.
???? ? ?? : MongoDB? ???? ??? ???? ??? ?? ??? ???? ?????. ??? ??? ???? ????? ? ??? ? ? ????.
????? MongoDB? ??? ??? ??? ? ?? ??????? ???? ??? ?????? ??????. ?? ??? ?? ??? ?? ?? ??? ?? ???? ??? ???? ????? ?? ??? ?? ????? ?? ? ? ????.
? ??? MongoDB : ?? ??????? ??????? ?? ?????. ??? ??? PHP ??? ????? ?? ?? ??? ?????!

? AI ??

Undress AI Tool
??? ???? ??

Undresser.AI Undress
???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover
???? ?? ???? ??? AI ?????.

Clothoff.io
AI ? ???

Video Face Swap
??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

?? ??

??? ??

???++7.3.1
???? ?? ?? ?? ???

SublimeText3 ??? ??
??? ??, ???? ?? ????.

???? 13.0.1 ???
??? PHP ?? ?? ??

???? CS6
??? ? ?? ??

SublimeText3 Mac ??
? ??? ?? ?? ?????(SublimeText3)

MySQL 8.0? ???? ??? ??? ??? ???? ?????? ???? ????. Windows?? MSI ?? ???? ???? ?? ????. ???? ?? ??? ????, ??? ??, ?? ?? ??, ?? ???? ??, ??? ?? ??? ? ?? ?????? ????? Zip ??? ???? ???? ??? ?????. Linux (? : Ubuntu)? APT? ?? ???? ??? ??? ?????? ?? ??, ?? ???? ??, ??? ?? ?? ? ?? ?? ??? ???? ????. ?? ???? ????, ?? ????? ????, ?? ???? ???, ???? ????, ?? ??? ???? ?? ?? ? ?? ?? ??? ????? ?? ? ???? ??? ???????.

MongoDB?? ?? ??????? ?? ??? "showdbs"??? ???? ????. 1.? ??? ?? ?? ?? ?????? ? ?????. 2. "??"??? ?? ??????? ???? ???? ???? ?? ? ? ????. 3. "??"? "??"? ?? ?? ?????????? ??????. 4. ????? ???? ?? "ListDatabases ()"???? ???? ??? ??? ??????. 5. "db.stats ()"??? ??? ?????? ??? ? ? ????.

GRIDFS? MongoDB? 16MBBSON ??? ?? ??? ?? ??? ???? ?????? ?????. 1. ??? 255kb ???? ??? Fs.Chunks ???? ???? Fs.Files ???? ?? ???? ?????. 2. ??? ???? ??? ????? : 16MB ??? ??, ?? ? ?? ???? ???? ???? ? ???, ??? ?? ??? ?? ??? ? ?? ???? ???? ???? ?? MongoDB? ?????. 3. GRIDFS? ??? ? ? ??? ???? ???? ??? ???? ??? ????? ??? ?? ?? ??? ? ?? ?? ????? ?????. 4. ?? ????? ??? ????? : MongoDB? ?? ?? ?? ? ??? ?? ???? ??,

Eloquent? ???? ???????? ? ???? ???? 4 ?? ?? ??? ????. 1. ??? :: create ([ 'name'=> 'johndoe', 'email'=> 'john@example.com']? ?? ?? ??? ???? ???? ???? ???? ??? ?? ???? ??????. 2. ?? ???? ???? ??? ???? ??????? ?? ??? ???? ??? ?? ?? ?? ??? ??? ????? ?????. 3. FirstorCreate? ???? ?? ??? ?? ???? ??? ???? ?? ???? ?????. 4. UpdateorCreate? ???? ???? ??? ?????? ????????. ??? ? ?? ???? ???? ? ?????.

MongoDB?? ???? "creatatabase"??? ??? ???? ?? ?? ? ? ??????? ?????. 1. "USEMYDB"? ???? ??????? ??????. 2. "db.users.insertone ({name : 'johndoe', age : 30})? ?? ??? ??????. ?? ?? : ?????? ? ???? ???? ?? ?? ? ? ???? ??? ?? ??? ??? ??? ?? ??, ??? ???, ?? ??? ? ?? ??? ???????.

MongoDB? ??? ???? ????? ? ?? ?? ??? ????. 1. ??? ?? ? ? ??? ???? ???? ????, ?? ?????? ?? ?? ATLA? ?????. 2. ?? ??? ????? ?? ?? ?????? Luks ? Bitlocker? ?? ?? ??? ?? ?? ???? ??????. 3. ???? ??? ??? ????? ?? ???? ?? ???, ?? ?? ????? ?? ??? ?????. 4. Mongodbatlas? ?? ?? ?? ???? ???? ??? ?? ??? ? ? ????? ?? ?? ???? ?????. ?? ?? ? ?? ?? ??? ?? ??? ???? ?? ? ? ????.

tooptimizemongododbag gregationpipelines, 5keystrategiesshouldBeappliedIn Quicence : 1. 1. $ matchearlyandoftentofilterdocumentsAssoonAsOnAsOpossible, ?????? indexedDexedDsandConditionSlogically;

mongodbenforcesschemavalidationusingdocumentvalidationrulesthroughthe the $ jschemaoperatorandcollmodcommand.startingfromversion3.0.0, usersCandefineValidationRulesdingCollectionScreationwithdb.CreateCollection () ormodifyExtistingCollectionsUningcollectionsUningcollectionsUningcollectionsUningcollectionsUningcollectionsUngingCollectionSurectionSurectionSurectionSurectionSurectionSurectionSurectionSurectionSurectionSurectionSurectionSurectionScollections
