Exploring NoSQL Database Implementations: Types, Examples, and Querying Methods
This comprehensive overview delves into the various implementations of NoSQL databases, highlighting key types such as document stores, key-value stores, graph databases, and object databases. Each type is examined with examples like MongoDB, Apache CouchDB, and Oracle Graph, showcasing their unique data organization methods and querying capabilities. The discussion includes querying languages such as SPARQL and XQuery, providing insights into the versatility and efficiency of NoSQL systems in handling diverse data structures and applications.
Exploring NoSQL Database Implementations: Types, Examples, and Querying Methods
E N D
Presentation Transcript
NoSQL Implementation and examples Maciej Matuszewski
Querying • RESTful interfaces, • SQL, SQL2 (JCR), • Query by example, • SPARQL (RDF Query Language), • UnQL (Unstructured Query Language), • XQuery, XPath, • Other.
Documentstore • Documents encapsulate and encode data (or information) in some standard formats or encodings. • Different implementations offer different ways of organizing and/or grouping documents: • Collections, • Tags, • Non-visible Metadata, • Directory hierarchies.
Documentstore • Documents are addressed in the database via a unique key that represents that document. • Retrievalof documents based on their contents. • Examples: • eXist, • Apache Jackrabbit (JCR), • MongoDB (BSON – binary JSON), • Apache CouchDB (JSON database).
Graph • Elements interconnected with an undetermined number of relations between them. • Any storage system that provides index-free adjacency. • RDF databases. • Examples: • Oracle Spatial and Graph.
Key–valuestore • Key–value stores allow the application to store its data in a schema-less way. • The data could be stored in a datatype of a programming language or an object. • There is no need for a fixed data model. • Very fast access to data.
Key–valuestore • Examples: • Eventually‐consistent key‐value store: • Apache Cassandra, • Dynamo, • Riak. • Key–value cache in RAM: • Redis, • Velocity.
Key–valuestore • Examples: • Key–value stores on solid state or rotating disk: • MongoDB, • Oracle NoSQL Database, • BigTable. • Ordered key–value stores: • IBM Informix C-ISAM, • Berkeley DB.
Objectdatabase • Information is represented in the form of objects as used in object-oriented programming. • Database is integrated with the programming language – the programmer can maintain consistency within one environment. • Examples: • db4o