information retrieval in mongodb
play

Information Retrieval in MongoDB Data storage, Indexing and Querying - PowerPoint PPT Presentation

Information Retrieval in MongoDB Data storage, Indexing and Querying Kaustubh Dhokte (NB97699) University Of Maryland Baltimore County CMSC 676: Information Retrieval Agenda Introduction to MongoDB MongoDB Architecture MongoDB Storage


  1. Information Retrieval in MongoDB Data storage, Indexing and Querying Kaustubh Dhokte (NB97699) University Of Maryland Baltimore County CMSC 676: Information Retrieval

  2. Agenda ´ Introduction to MongoDB ´ MongoDB Architecture ´ MongoDB Storage Architecture ´ Indexing in MongoDB ´ MongoDB Query Engine

  3. MongoDB ´ Database Engine ´ Open Source ´ Distributed ´ Full Fledged ´ Text Search ´ Aggregation ´ Cloud Based

  4. MongoDB Architecture

  5. MongoDB Architecture ´ RDBMS or Document Based? ´ SQL or NoSQL? ´ Dynamic ´ Horizontally Scalable ´ Sharding ´ Fault Tolerant ´ Replica Sets ´ Load Balanced

  6. MongoDB Storage Architecture

  7. MongoDB Storage Architecture

  8. MongoDB Data Model ´ Databases ´ Collections ´ Indexes ´ BSON http://bsonspec.org/ MongoDB Query Language ´ Database drivers of popular languages

  9. MongoDB Storage Engines ´ WiredTiger (Default) ´ MMAPv1 (Deprecated in latest version of MongoDB) ´ In-memory ´ Non-persistent ´ Encrypted ´ 3rd Party Integrations ´ E.g. RocksDB

  10. MongoDB Indexing

  11. MongoDB Indexing ´ Index Data Structure: B-Tree ´ Primary Indexes: _id ´ Secondary (User defined indexes) ´ Single Field ´ Compound Index ´ Multikey ´ Text ´ Hashed

  12. MongoDB Indexes Properties ´ Unique ´ Partial ´ TTL indexes

  13. MongoDB Query Engine

  14. MongoDB Query Engine

  15. Query Planner ´ Inputs ´ Predicate ´ Projection ´ Sort ´ Outputs Blueprint of what happens in query execution

  16. Query Planner ´ Index Selection ´ IXSCAN ´ COLLECTIONSCAN ´ AND/OR ´ Access: Plan Generation ´ Analysis: Sort, Project

  17. Query Planner ´ Selecting Best Plan ´ One Work Unit: ´ One index key ´ One document ´ Results Produced per work unit executed ´ Plan Ranking ´ Plan Caching

  18. References ´ https://www.researchgate.net/figure/MongoDB-architecture- researchgate-2018_fig2_330841309 ´ https://www.mongodb.com/blog/post/building-applications-with- mongodbs-pluggable-storage-engines-part-1 ´ https://www.slideshare.net/NorbertoLeite/mongodb-internals-55965341 ´ https://docs.mongodb.com/manual/

  19. Thank You

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend