NoSql???????-mongoDB??????
???????????? ???????[ 2014/7/21 11:56:01 ] ????????NoSql mongoDB ?????
????NoSQL??????????????????????????????ɡ????????????????????????????????????????????????г??????????????????????????????????????????????????NoSql????????????????????NoSql????????????
????MongoDB?????????????????????????????е??????????????????????????????洢??
????MongoDB?????????
????????????洢?????????????????????????????????????????????????????????仯??????洢??
??????????????
??????汾2.2?????mongoDB?????XP????????????????????????XP???????????2.2????汾???
?????????汾??????2.0.9??????????????????????????????http://pan.baidu.com/s/1i3GEs1v????????????Ч???????????????
????????????????????????????????
?????????????????????????????????????????E:mongodb-win32-i386-2.0.9
???????????????????????????У?E:mongodb-win32-i386-2.0.9data?????????????????????????
????????????????????????????mongoDB????mongoDB???????????????С?
???????ò?????????
?????????????У?E:mongodb-win32-i386-2.0.9inmongod.exe --dbpath E:mongodb-win32-i386-2.0.9data
?????????????????mongoDB?????????·??C:data?′???????????
????????????
?????????????????????????????????з?????洢??????
?????????????????????У?E:mongodb-win32-i386-2.0.9inmongo.exe --dbpath E:mongodb-win32-i386-2.0.9data
????????????????????????????
????????????mongoDB????????????test?????????????????????????????????????db????????
?????????е??????
????show dbs
?????л??????
????use mydb
???????????л??????????????????????????????????????mongoDB????????????????????????
??????????????????????????mongoDB?е??Щ???
????mongoDB????db??collection??document??db????????????е????????collection????????????????е?????document????????????????е?????????mongoDB?е?????????json???????????????????javascript?е??????????????????document??????????·?????????????????????
????j = { name : "mongo" }
????k = { x : 3 }
??????j??k????????????????“testData”??collection??
????1
????2
????db.testData.insert( j )
????db.testData.insert( k )
????????????????db????????????????????testData?????collection?????????ж????collection????insert???????????????collection????
??????????????
????show collections
?????????????????????????е?collection
???????????testData?? system.indexes?? system.indexes??mongoDB???????collection?????ù???
???????????????????????testData?е????е?????
????db.testData.find()
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11