Įvykiai
Kurti DI programėles ir agentus
03-17 21 - 03-21 10
Prisijunkite prie meetup serijos, kad sukurtumėte keičiamo dydžio DI sprendimus, pagrįstus realaus pasaulio naudojimo atvejais, su kolegomis kūrėjais ir ekspertais.
Registruotis dabarŠi naršyklė nebepalaikoma.
Atnaujinkite į „Microsoft Edge“, kad pasinaudotumėte naujausiomis funkcijomis, saugos naujinimais ir techniniu palaikymu.
Azure Cosmos DB for MongoDB vCore is built on DocumentDB, an open-source document database platform. This article provides an overview of DocumentDB, its features, architecture, and how you can contribute to or use this technology.
DocumentDB is a fully permissive, open-source platform for document data stores built on the PostgreSQL engine. It serves as the foundation for Azure Cosmos DB for MongoDB vCore, providing a powerful and flexible solution for NoSQL database needs.
Unlike other MongoDB engines with restrictive licensing such as SSPL, DocumentDB uses the permissive MIT license. This means developers have complete freedom to use, modify, and distribute the software without any commercial licensing fees or usage restrictions. In contrast to MongoDB's Server Side Public License (SSPL), which can limit certain uses, DocumentDB's MIT license guarantees true open-source freedom.
DocumentDB provides a portable, interoperable solution for document data stores. Built on PostgreSQL, it allows developers to deploy their applications across various cloud providers or on-premises, avoiding vendor lock-in. This flexibility empowers organizations to choose the best infrastructure for their needs without compromising on database capabilities.
As the distinction between NoSQL and relational databases becomes more blurred, DocumentDB bridges this gap to provide a superior document database experience for most scalable workloads. It combines the strengths of both sides, offering the flexibility and scalability typically associated with NoSQL databases, while harnessing the power and extensive feature set of PostgreSQL – one of the most adopted and respected open-source databases today. This foundation provides robustness, reliability, and access to PostgreSQL's ecosystem of tools and extensions. Developers can benefit from PostgreSQL's continuous evolution and extensive community support while enjoying the flexibility of a document database.
DocumentDB offers several key features that make it a robust choice for document database operations:
DocumentDB consists of two primary components:
This architecture allows for building an end-to-end NoSQL database user experience on top of the PostgreSQL engine.
As an open-source project, DocumentDB welcomes contributions from the community. You can contribute by:
To start using DocumentDB locally:
2. Clone the DocumentDB repository.
git clone https://github.com/microsoft/documentdb.git
3. Create the Docker image. Navigate to cloned repo.
docker build . -f .devcontainer/Dockerfile -t documentdb
4. Run the Docker image as a container.
docker run -v $(pwd):/home/documentdb/code -it documentdb /bin/bash
5. Build and deploy the binaries.
cd code
make
sudo make install
6. Initialize the DocumentDB server and manage dependencies.
./scripts/start_oss_server.sh -t documentdb
7. Connect to the psql shell.
psql -p 9712 -h localhost -d postgres
After following these steps, you're now all set to use DocumentDB locally.
DocumentDB is a fully permissive, open-source platform for document data stores built on the PostgreSQL engine. It serves as the foundation for Azure Cosmos DB for MongoDB vCore, providing a powerful and flexible solution for NoSQL database needs.
DocumentDB uses the permissive MIT license, which allows developers complete freedom to use, modify, and distribute the software without any commercial licensing fees or usage restrictions. This contrasts with some MongoDB providers’ Server Side Public License (SSPL), which can limit certain uses.
Yes, DocumentDB is multicloud and vendor-agnostic. Built on PostgreSQL, it allows developers to deploy their applications across various cloud providers or on-premises, avoiding vendor lock-in and providing flexibility in choosing the best infrastructure for their needs.
DocumentDB offers several key features, including BSON document parsing and manipulation, advanced indexing capabilities (single field, multi-key, compound, text, and geospatial), vector search queries powered by pg_vector, authentication mechanisms including SCRAM, geospatial queries using PostGIS, full Decimal128 support, and regex support using PCRE2.
Developers can contribute to DocumentDB by starring, forking, and submitting pull requests on GitHub, reporting issues or suggesting improvements, and participating in discussions on the #documentdb channel on the Microsoft OSS Discord server.
Įvykiai
Kurti DI programėles ir agentus
03-17 21 - 03-21 10
Prisijunkite prie meetup serijos, kad sukurtumėte keičiamo dydžio DI sprendimus, pagrįstus realaus pasaulio naudojimo atvejais, su kolegomis kūrėjais ir ekspertais.
Registruotis dabarMokymas
Modulis
Implement vCore-based Azure Cosmos DB for MongoDB - Training
Implement vCore-based Azure Cosmos DB for MongoDB.
Sertifikatas
Microsoft Certified: Azure Cosmos DB Developer Specialty - Certifications
Write efficient queries, create indexing policies, manage, and provision resources in the SQL API and SDK with Microsoft Azure Cosmos DB.