7.1.1 Database Basics Flashcards

1
Q

What is a Database?

A
  • A database is a collection of files that contain data organized using a given model.
  • Medium for storing data
  • Yung database koleksyon siya ng iba’t ibang mga files tapos inoorganize gamit ang isang given model. Dibale parang model mismo yung database.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is an Instance?

A

An instance contains a set of background processes and memory structures. It is the data management software that connects users and the operating system (OS)

  • Dibale yung instance nilalaman niya yung mga set ng background processes at memory structures. Eto yung management software na pinag coconnect yung user at yung operating system.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the two data types?

A

Relational database and Non-relational database.

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

What is Relational Database?

A
  • Data stored in rows and columns.
  • A two dimensional table model.
  • way of organizing data consisting of two dimensional table and their relationships.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a Non-relational database?

A
  • Data storage system that doesn’t comply with ACID properties.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is an ACID Properties and what does it stand for?

A
  • ACID (Atomicity, Consistency, Isolation, Durability) is a set of properties of database transactions intended to guarantee validity even in the event of errors, power failures, etc.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is Atomicity in the ACID Properties?

A

Atomicity is the guarantee that series of database operations in an atomic transaction will either all occur or none will occur. If an error occurs during transaction execution, the transaction will be rolled back to the state from before it was committed.

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

What is Atomicity in the ACID Properties?

A

Atomicity is the guarantee that series of database operations in an atomic transaction will either all occur or none will occur. If an error occurs during transaction execution, the transaction will be rolled back to the state from before it was committed.

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

What is Consistency meaning in ACID Properties?

A

A consistent transaction will not violate integrity constraints placed on the data by the database rules. That is, executing a transaction cannot destroy the integrity or consistency of database data.

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

What is Isolation in ACID Properties?

A

Isolation means that concurrent transactions are executed sequentially. It guarantees the individuality of each transaction and prevents them from being affected by other transactions.

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

What is Durability in ACID Properties?

A

Once a transaction is committed, it will remain in the system even in the event of a system failure.

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