Week 3 Flashcards

1
Q

Controlled access to database may include?

A
  1. a security system
  2. an integrity system
  3. a concurrency control system
  4. a recovery control system
  5. a user-accessible catalog
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Benefits dari Views?

A
  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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

ANSI-SPARC Three-Level Architecture?

A
  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.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

2 Jenis dari Data Independence?

A
  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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Database Languages?

A
  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)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is Data Model?

A
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Data Model Comprises of?

A
  1. a structural part
  2. a manipulative part
  3. possibly a set of integrity rules
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is Conceptual Schema?

A

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.

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

What is Conceptual Modeling?

A

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.

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

What is System catalog and what system catalog stores?

A
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is Relationally complete?

A

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

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

The differences between relational algebra and relational calculus?

A

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.

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

What is closure?

A

nested expressions. just as in arithmetic.

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

Five basic operations in relational algebra?

A
  1. selection
  2. projection
  3. cartesian product
  4. union
  5. set difference
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Various forms of join operation?

A
  1. Theta join
  2. Equijoin (a particular type of Theta join)
  3. natural join
  4. outer join
  5. semijoin
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

5 aggregate functions?

A

count, sum, max, min, avg

17
Q

Tuple variable?

A

tuple variable is a variable that ‘ranges over’ a named relation.

18
Q

Client-Server advantages?

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

6 types of middleware?

A

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
Q

What is Transaction processing monitors?

A
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
Q

the differences between distributed database and distributed DBMS?

A

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
Q

Characteristics of DDBMS?

A
  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
Q

Characteristics of Data Warehouse?

A
  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
Q

Components of Database Manager (DM)?

A

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