NoSQL Basics With Complete Solutions 100% Correct
Relational databases focus on ___ through ___.
Data consistency. transactions
What data model is used by Redis, Riak, BerekleyDB and LevelDB?
Key-Value
What data model is used by MongoDB, CouchDB, OrientDB and Terrastore?
Document
What data model is used by Amazon SimpleDB, Cassandra, HBase and Hypertable?
Column-Family
What data model is used by FlockDB, HyperGraphDB, Neo4J and OrientDB?
Graph
NoSQL database
Generally refers to non-relational databases; databases that store and manipulate data
in formats other than tabular relations
Common characteristics of NoSQL databases
1. Provide data models that better fit application needs, reducing mapping and data
between applications and databases
2. Do not use SQL; some NoSQL databases have their own query language but there is
no notion of a standard query language for NoSQL databases.
,3. Generally open-source projects
4. Most are designed to run on clusters, making them a better fit for big data scenarios.
5. Schemeless operation, meaning that fields can be created to databqse records
without having to previously define any change in structure.
Which NoSQL data model has a distribution model like that of relational databases?
Graph databases
NoSQL databases are classified based on their ___.
Data model
Key-value databases
* Simplest NoSQL databases from an API perspective
* Each entry has a key and a value
Keys and values are flexible and can be represented by any format
T or F: Both keys and values in the key-value store are flexible and can be represented
by any format.
TRUE
T or F: In the key-value database, you can have two rows with the same key.
FALSE; keys are unique. You can never have two rows with the same key.
In a key-value database you cannot perform queries on the ___.
Values; using the value part, you cannot select a key-value pair.
键和值 occured
___ can be image names, web page URLs, file paths and SQL queries that point to ___
, like binary images, HTML web pages, PDF documents or SQL query results.
Keys. values
A key-value database is indexed by the ___.
Key
What are the operations that application developers use to access and manipulate a
key-value store?
PUT, GET and DELETE
Key-value databases do not care about the ___ that are stored. It is the responsibility of
___ to understand what is stored.
Values. application
Document databases
* Store data in structured documents, usually XML, JSON and BSON formats
* Documents are self-describing and have hierarchical tree data structures
___ allow for some kind of structure without enforcing a schema and hence provide a
compromise between the strict schema of the relational database and the absolutely
schema-less key-value database.
Document databases
T or F: The key in a document database may be a simple ID and never used nor seen.
TRUE
T or F: You must use the key to query the content in a document database.
FALSE; You can retrieve nearly anything out of a document database by querying the
Relational databases focus on ___ through ___.
Data consistency. transactions
What data model is used by Redis, Riak, BerekleyDB and LevelDB?
Key-Value
What data model is used by MongoDB, CouchDB, OrientDB and Terrastore?
Document
What data model is used by Amazon SimpleDB, Cassandra, HBase and Hypertable?
Column-Family
What data model is used by FlockDB, HyperGraphDB, Neo4J and OrientDB?
Graph
NoSQL database
Generally refers to non-relational databases; databases that store and manipulate data
in formats other than tabular relations
Common characteristics of NoSQL databases
1. Provide data models that better fit application needs, reducing mapping and data
between applications and databases
2. Do not use SQL; some NoSQL databases have their own query language but there is
no notion of a standard query language for NoSQL databases.
,3. Generally open-source projects
4. Most are designed to run on clusters, making them a better fit for big data scenarios.
5. Schemeless operation, meaning that fields can be created to databqse records
without having to previously define any change in structure.
Which NoSQL data model has a distribution model like that of relational databases?
Graph databases
NoSQL databases are classified based on their ___.
Data model
Key-value databases
* Simplest NoSQL databases from an API perspective
* Each entry has a key and a value
Keys and values are flexible and can be represented by any format
T or F: Both keys and values in the key-value store are flexible and can be represented
by any format.
TRUE
T or F: In the key-value database, you can have two rows with the same key.
FALSE; keys are unique. You can never have two rows with the same key.
In a key-value database you cannot perform queries on the ___.
Values; using the value part, you cannot select a key-value pair.
键和值 occured
___ can be image names, web page URLs, file paths and SQL queries that point to ___
, like binary images, HTML web pages, PDF documents or SQL query results.
Keys. values
A key-value database is indexed by the ___.
Key
What are the operations that application developers use to access and manipulate a
key-value store?
PUT, GET and DELETE
Key-value databases do not care about the ___ that are stored. It is the responsibility of
___ to understand what is stored.
Values. application
Document databases
* Store data in structured documents, usually XML, JSON and BSON formats
* Documents are self-describing and have hierarchical tree data structures
___ allow for some kind of structure without enforcing a schema and hence provide a
compromise between the strict schema of the relational database and the absolutely
schema-less key-value database.
Document databases
T or F: The key in a document database may be a simple ID and never used nor seen.
TRUE
T or F: You must use the key to query the content in a document database.
FALSE; You can retrieve nearly anything out of a document database by querying the