Why MongoDB?

Document-oriented

  • Documents (objects) map nicely to programming language data types
  • Embedded documents and arrays reduce need for joins
  • Dynamically-typed (schemaless) for easy schema evolution
  • No joins and no multi-document transactions for high performance and easy scalability

High performance

  • No joins and embedding makes reads and writes fast
  • Indexes including indexing of keys from embedded documents and arrays
  • Optional streaming writes (no acknowledgements)

High availability

  • Replicated servers with automatic master failover

Easy scalability

Automatic sharding (auto-partitioning of data across servers)

  • Reads and writes are distributed over shards
  • No joins or multi-document transactions make distributed queries easy and fast

Eventually-consistent reads can be distributed over replicated servers

Rich query language

Download MongoDB for Windows 32-Bit : MongoDB

MongoDB direktori :

Extensions MongoDB untuk php : php_mongodb.dll

phpMongoDB pada php.ini :

Install MongoDB pada Windows Service :

  • Buat dir DATA di D:\MongoDB
  • Buat dir log di D:\MongoDB\data

Jalankan perintah berikut :

Jalankan service :

Pasang phpMoAdmin di xampp\htdocs : download phpMoAdmin

Selamat mencoba.