Timedora
Free Online Flashcard Deck

Nonrelational Database Models Free Online Flashcards

Study Nonrelational Database Models with 12 free online flashcards. Review key terms, definitions, and concepts with this interactive flashcard deck.

12 cards
01
Front

What makes a database nonrelational?

Back

They organize data using models other than traditional relational tables linked by keys.

02
Front

Does “NoSQL” mean a database has no queries or structure?

Back

No. NoSQL databases can have queries and structure; the term refers to models other than the traditional relational model.

03
Front

What is the main access pattern of a key-value database?

Back

It stores records as key-value pairs and is designed mainly for direct lookup or updates using a known key.

04
Front

What is a key-value database tradeoff when the key is unknown?

Back

Finding records by their contents may require extra indexes or scanning when the key is unknown.

05
Front

How does a document database organize records?

Back

It stores records as documents with fields that can contain nested documents and arrays; documents in one collection may have different fields.

06
Front

What is a benefit of embedding related data in a document?

Back

Embedding related data can retrieve it in one operation and support an atomic update to that document.

07
Front

When can references suit related data in a document database?

Back

References can suit related data that is large, accessed independently, or frequently changed.

08
Front

What does a partition key determine in Cassandra?

Back

In Cassandra, the partition key determines where rows are stored.

09
Front

What do clustering columns do in Cassandra?

Back

They order rows within a partition.

10
Front

How should wide-column data models be designed?

Back

Design tables around expected queries, often using separate tables for different access patterns.

11
Front

How does a graph database represent data?

Back

It represents entities as nodes and their connections as relationships, or edges.

12
Front

What kind of workload suits a graph database?

Back

It suits queries that follow many relationships, such as social-network, recommendation, or fraud-connection queries.