Week 3 Flashcards Preview

Database Systems > Week 3 > Flashcards

Flashcards in Week 3 Deck (24):
1

Controlled access to database may include?

1. a security system
2. an integrity system
3. a concurrency control system
4. a recovery control system
5. a user-accessible catalog

2

Benefits dari Views?

1. reduce complexity
2. provide a level of security
3. provide a mechanism to customize the appearance of the database
4. prsent a consistent, unchanging picture of the structure of the database, even if the underlying database is changed

3

ANSI-SPARC Three-Level Architecture?

1. External Level
- Users’ view of the database.
- Describes that part of database that is relevant to a particular user.

2. Conceptual Level
- Community view of the database.
- Describes what data is stored in database and relationships among the data.

3. Internal Level
- Physical representation of the database on the computer
- Describes how the data is stored in the database.

4

2 Jenis dari Data Independence?

1. Logical Data Independence
- Refers to immunity of external schemas to changes in conceptual schema.
- Conceptual schema changes (e.g. addition/removal of entities).
- Should not require changes to external schema or rewrites of application programs.

2. Physical Data Independence
- Refers to immunity of conceptual schema to changes in the internal schema.
- Internal schema changes (e.g. using different file organizations, storage structures/devices)
- Should not require change to conceptual or external schemas

5

Database Languages?

1. Data Definition Language (DDL)
2. Data Manipulation Language (DML)
3. Procedural DML
Allows user to tell system exactly how to manipulate data.
4. Non-Procedural DML
Allows user to state what data is needed rather than how it is to be retrieved.
5. Fourth Generation Languages (4GLs)

6

What is Data Model?

Data Model is integrated collection of concepts for describing data, relationships between data, and constraints on the data in an organization. The purpose of data model is to represent data in an understandable way.
Categories of data model:
1. Object-based
2. Record-based
3. Physical

7

Data Model Comprises of?

1. a structural part
2. a manipulative part
3. possibly a set of integrity rules

8

What is Conceptual Schema?

Conceptual Schema is the core of a system supporting all user views. Conceptual Schema should be complete and accurate representation of an organization's data requirements.

9

What is Conceptual Modeling?

Conceptual modeling is process of developing a model of information use that is independent of implementation details. The result of conceptual modeling is a conceptual data model.

10

What is System catalog and what system catalog stores?

System catalog is a repository of information (metadata) describing the data in the database. One of the fundamental components of DBMS.
Typically stores:
1. names, types and sizes of data times
2. constraints on the data
3. names of authorized users
4. usage statistics
5. user access controls

11

What is Relationally complete?

relationally complete when a language that produces a relation that can be derived using relational calculus

12

The differences between relational algebra and relational calculus?

both of them are formal languages associated with the relational model.
Relationaly algebra is a high level procedural language and relational calculus is a non-procedural language.

13

What is closure?

nested expressions. just as in arithmetic.

14

Five basic operations in relational algebra?

1. selection
2. projection
3. cartesian product
4. union
5. set difference

15

Various forms of join operation?

1. Theta join
2. Equijoin (a particular type of Theta join)
3. natural join
4. outer join
5. semijoin

16

5 aggregate functions?

count, sum, max, min, avg

17

Tuple variable?

tuple variable is a variable that 'ranges over' a named relation.

18

Client-Server advantages?

1. wider access to existing databases
2. increased performance
3. possible reduction in hardware costs
4. reduction in communication costs
5. increased consistency

19

6 types of middleware?

middleware is a generic term used to describe software that mediates with other software.
1. asynchronous remote procedure call (RPC)
2. synchronous RPC
3. publish / subscribe
4. message-oriented middleware (MOM)
5. object-request broker (ORB)
6. SQL-oriented data access

20

What is Transaction processing monitors?

purpose of transaction processing monitors to controls data transfer between clients / servers. provides a consistent environment, particularly for online transaction processing (OLTP).
Advantages:
1. trasaction routing
2. managing distributed transactions
3. load balancing
4. funneling
5. increased reliability

21

the differences between distributed database and distributed DBMS?

distributed database is logically interrelated collection of shared data physically distributed over a computer network.
distributed DBMS is software system that permits the management of the distributed database and makes the distribution transparent to user.

22

Characteristics of DDBMS?

1. data split into fragments
2. collection of logically related shared data
3. fragments may be replicated
4. fragments are allocated to sites
5. DBMS handles local apps autonomously

23

Characteristics of Data Warehouse?

1. consolidated / integrated view of corporate data.
2. drawn from disparate operational data sources
3. range of end-user access tools capable of supporting simple to highly complex queries to support decision making
4. subject-oriented, integrated, time-variant and non-volatile.

24

Components of Database Manager (DM)?

Components of Database manager:
1. authorization control
2. command processor
3. integrity checker
4. query optimizer
5. transaction manager
6. scheduler
7. recovery manager
8. buffer manager