Database Flashcards

1
Q

What is Relationship Database

A

It is a database that consists of different tables that are linked together which only portrays the main aspect. such as primary key.

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

what is a flat file?

A

a flat file is also a database that consist of different field which are filled with information.it is a single file.

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

What is primary key?

A

primary key is given to a information which is unique such as National Insurance Number.

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

different Entities?

A

one to one/ one to many and many to many

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

Foreign key?

A

creates a join between two tables.

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

what is normalization?

A

it is the bets possible design for a relationship database.

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

different things to consider

A
  1. null information(data is consisted thought the database)

2. No data is duplicated

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

Importance of normalization ?

A
  1. No data redundancy=to delete duplicated data
  2. Maintaining and Modifying database= to keep it easy to handle
  3. Faster sorting and searching=it will produce smaller tables with fewer fields.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Transaction processing

  1. capturing data
  2. selecting and managing
  3. exchanging data
  4. ACID
A
  1. before data is added it has to captured or inputted.
  2. the data is selected before it is even added
  3. this is when the information is exchanged such as electronically = email
  4. this is a set if properties which are processed to make the transaction reliable.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

ACID

A
  1. Atomicity= it requires a transaction must be processed in its entity or not at all. it must guarantee in all of it transactions.
  2. consistency=ensures that no transaction can violate any of the defined validation rule.
  3. isolation=it ensures that the process leads to the same result even it was processed one after another
  4. Durability=this is when it ensures that when the transaction has been processed it will remain so.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

what is indexing in database?

A

Indexing is a way to optimize performance of a database by minimizing the number of disk accesses required when a query is processed.

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