database Flashcards

(13 cards)

1
Q

Type of Database

A

relational databases (e.g. Postgres) and NoSQL databases (e.g. DynamoDB)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

when to choose relational databases

A

often used for transactional data (e.g. user records, order records, etc)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

relational database features

A

SQL Joins, Indexes, RDBMS Transactions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what is RDBMS Transactions

A

a way of grouping multiple operations together into a single atomic operation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

NoSQL Databases

A

a broad category of databases designed to accommodate a wide range of data models, including key-value, document, column-family, and graph formats. Unlike relational databases, NoSQL databases do not use a traditional table-based structure and are often schema-less.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

nosql is good for…

A

Flexible Data Models: Your data model is evolving or you need to store different types of data structures without a fixed schema.
Scalability: Your application needs to scale horizontally (across many servers) to accommodate large amounts of data or high user loads.
Handling Big Data and Real-Time Web Apps: You have applications dealing with large volumes of data, especially unstructured data, or applications requiring real-time data processing and analytics.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Data Models of NoSQL

A

NoSQL databases come in many different flavors, each with its own data model. The most common types of NoSQL databases are key-value stores, document stores, column-family stores, and graph databases.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Scalability of NoSQL databases

A

NoSQL databases scale horizontally by using consistent hashing and/or sharding to distribute data across many servers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Blob Storage

A

These platforms are specifically designed for handling large blobs of data, and are much more cost effective than a traditional database.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

blob storage features

A

Durable, Scalable, low Cost, Secure

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

what is Search Optimized Database

A

designed to handle full-text search. They use techniques like indexing, tokenization, and stemming to make search queries fast and efficient

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

feature of Search Optimized Database

A

Inverted Indexes (data structure that maps from words to the documents that contain them), Tokenization (breaking a piece of text into individual words), Stemming (reducing words to their root form), Fuzzy Search (ability to find results that are similar to a given search term)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Examples of blob storage services

A

Amazon S3, Google Cloud Storage, and Azure Blob

How well did you know this?
1
Not at all
2
3
4
5
Perfectly