Close Menu
    DevStackTipsDevStackTips
    • Home
    • News & Updates
      1. Tech & Work
      2. View All

      Sunshine And March Vibes (2025 Wallpapers Edition)

      May 16, 2025

      The Case For Minimal WordPress Setups: A Contrarian View On Theme Frameworks

      May 16, 2025

      How To Fix Largest Contentful Paint Issues With Subpart Analysis

      May 16, 2025

      How To Prevent WordPress SQL Injection Attacks

      May 16, 2025

      Microsoft has closed its “Experience Center” store in Sydney, Australia — as it ramps up a continued digital growth campaign

      May 16, 2025

      Bing Search APIs to be “decommissioned completely” as Microsoft urges developers to use its Azure agentic AI alternative

      May 16, 2025

      Microsoft might kill the Surface Laptop Studio as production is quietly halted

      May 16, 2025

      Minecraft licensing robbed us of this controversial NFL schedule release video

      May 16, 2025
    • Development
      1. Algorithms & Data Structures
      2. Artificial Intelligence
      3. Back-End Development
      4. Databases
      5. Front-End Development
      6. Libraries & Frameworks
      7. Machine Learning
      8. Security
      9. Software Engineering
      10. Tools & IDEs
      11. Web Design
      12. Web Development
      13. Web Security
      14. Programming Languages
        • PHP
        • JavaScript
      Featured

      The power of generators

      May 16, 2025
      Recent

      The power of generators

      May 16, 2025

      Simplify Factory Associations with Laravel’s UseFactory Attribute

      May 16, 2025

      This Week in Laravel: React Native, PhpStorm Junie, and more

      May 16, 2025
    • Operating Systems
      1. Windows
      2. Linux
      3. macOS
      Featured

      Microsoft has closed its “Experience Center” store in Sydney, Australia — as it ramps up a continued digital growth campaign

      May 16, 2025
      Recent

      Microsoft has closed its “Experience Center” store in Sydney, Australia — as it ramps up a continued digital growth campaign

      May 16, 2025

      Bing Search APIs to be “decommissioned completely” as Microsoft urges developers to use its Azure agentic AI alternative

      May 16, 2025

      Microsoft might kill the Surface Laptop Studio as production is quietly halted

      May 16, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»Development»Databases»Reduce cost and improve performance by migrating to Amazon DocumentDB 5.0

    Reduce cost and improve performance by migrating to Amazon DocumentDB 5.0

    April 15, 2024

    Amazon DocumentDB (with MongoDB compatibility) is a fully managed native JSON document database that makes it easy and cost effective to operate critical document workloads at virtually any scale without managing infrastructure. Amazon DocumentDB simplifies your architecture by providing built-in security best practices, continuous backups, and native integrations with other AWS services. You can enhance your applications with generative artificial intelligence (AI) and machine learning (ML) capabilities using vector search for Amazon DocumentDB and integration with Amazon SageMaker Canvas. As a document database, Amazon DocumentDB makes it straightforward to store, query, and index JSON data.

    Amazon DocumentDB 5.0 introduced several new features and performance enhancements that can improve performance and manage database cost, making it a compelling choice for various workloads. The following are some of the key benefits of Amazon DocumentDB 5.0:

    Compatibility with the MongoDB API version 5.0 – Amazon DocumentDB 5.0 offers compatibility with the MongoDB API version 5.0, allowing you to take advantage of the latest capabilities and enhancements of MongoDB APIs.
    Vector search – Amazon DocumentDB 5.0 now supports vector search, a new capability that enables you to store, index, and query millions of vectors with millisecond response time. Vectors are numerical representations of unstructured data, such as text, created from machine learning (ML) models that help capture the semantic meaning of the underlying data. Vector search for Amazon DocumentDB can store vectors from Amazon Bedrock, Amazon SageMaker, and more.

    The following diagram shows how to generate vectors using embedding models for fields inside your documents, store vectors inside Amazon DocumentDB, and perform vector search.

    Text search – With text search, you can perform text searches of specific terms or phrases on large string data using $text and $search operators, assign different significance levels to the indexed fields using weights, and sort the search results based on relevance using $meta operator.
    I/O-Optimized storage configuration – Amazon DocumentDB 5.0 introduced I/O-Optimized storage configuration. This new storage configuration offers improved performance, increased write throughput, and reduced latency for demanding workloads, along with up to 40% cost savings for I/O-intensive applications.
    Performance and indexing improvements – Amazon DocumentDB 5.0 introduced $in performance improvements and index scans with the $elemMatch operator, allowing for better query performance. Amazon DocumentDB also launched index improvements, enabling faster index builds on collections and the ability to view index build statuses. Amazon DocumentDB index builds can now be up to 14 times faster when using parallel workers compared to using a single worker.

    With partial index, you can create an index on a subset of documents that meet a specific filter criterion. This indexing allows for faster queries on a smaller subset of data, reducing query times and improving performance.

    Client-side field-level encryption – With Amazon DocumentDB 5.0, you can encrypt sensitive data in your applications before it is sent to the database, enhancing data security and compliance.
    Document compression – The new version introduced support for document compression, which allows you to lower storage and I/O costs by compressing the documents in your collections. You can enable document compression at a collection level for documents with a size of 2 KB and larger.
    No-code ML with Amazon Sage Maker Canvas – Amazon DocumentDB now integrates with Amazon SageMaker Canvas to enable no-code ML with data stored in Amazon DocumentDB. You can build ML models for regression and forecasting needs and use foundation models for content summarization and generation using data stored in Amazon DocumentDB without writing a single line of code. Following diagram shows that how Amazon DocumentDB works with SageMaker Canvas.

    Upgrade to Amazon DocumentDB 5.0

    Amazon DocumentDB 5.0 is easy to get started with. If you are already using Amazon DocumentDB 3.6 and 4.0 clusters, you can upgrade to Amazon DocumentDB 5.0 using an in-place major version upgrade (MVU), which makes it straightforward to upgrade to the latest version without needing to create new clusters or rely on database migration tools.

    Summary

    The release of Amazon DocumentDB 5.0 introduced a range of new features and performance enhancements geared towards enhancing workload performance and reducing database costs. With support for MongoDB APIs versions 3.6, 4.0, and 5.0, allowing users to leverage the same MongoDB compatible drivers, applications, and tools with little or no changes. Furthermore, upgrading existing 3.6 or 4.0 clusters is made simple with the in-place upgrade feature, removing the need for data migration or cluster creation and providing a straightforward path to accessing the latest capabilities offered by Amazon DocumentDB 5.0.

    As always, AWS welcomes your feedback, leave any thoughts or questions in the comments section.

    About the Authors

    Srinivas Margasahayam leads the worldwide DocumentDB specialist Solution Architects team. Srinivas has over 2 decades of experience in databases and in leading engineering and operations teams. At Yahoo! Srinivas was the director of Engineering and Operations teams where he oversaw platform operations. At Amazon, Srinivas has been leading Solution Architecture teams for over 8 years in helping customers through intricacies of cloud migration and optimizing workloads.

    Anshu Vajpayee is a Senior DocumentDB Specialist Solutions Architect at Amazon Web Services (AWS). He has been helping customers to adopt NoSQL databases and modernize applications leveraging Amazon DocumentDB. Before joining AWS, he worked extensively with relational and NoSQL databases.

    Source: Read More

    Facebook Twitter Reddit Email Copy Link
    Previous ArticleThe Journey of MongoDB with COVESA in the Connected Vehicle Landscape
    Next Article Intel and Lenovo BMCs Contain Unpatched Lighttpd Server Flaw

    Related Posts

    Security

    Nmap 7.96 Launches with Lightning-Fast DNS and 612 Scripts

    May 17, 2025
    Common Vulnerabilities and Exposures (CVEs)

    CVE-2024-47893 – VMware GPU Firmware Memory Disclosure

    May 17, 2025
    Leave A Reply Cancel Reply

    Continue Reading

    CodeSOD: Maximally Zero

    Development

    Quick, Easy BOI Filing for Just $89

    Development

    All Hands AI Open Sources OpenHands CodeAct 2.1: A New Software Development Agent to Solve Over 50% of Real Github Issues in SWE-Bench

    Development

    Cyberattack Hits PowerSchool, Exposing Personal Data of Students and Staff

    Development

    Highlights

    Development

    A Concurrent Programming Framework for Quantitative Analysis of Efficiency Issues When Serving Multiple Long-Context Requests Under Limited GPU High-Bandwidth Memory (HBM) Regime

    July 5, 2024

    Large language models (LLMs) have gained significant capabilities, reaching GPT-4 level performance. However, deploying these…

    SunFounder Pironman 5 NVMe Mini PC Case Review

    May 15, 2025

    Fast Reader – read text quickly and effectively

    January 11, 2025

    Part 1: An Overview of the PDFBox Library

    June 26, 2024
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.