Databases and database users Flashcards

1
Q

Define what a database is.

A

A database is a collection of related data with an implicit meaning.

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

What do we mean by data?

A

By data we mean known facts that can be recorded and that have an implicit meaning.

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

What are the database’s implicit properties?

A
  • A database represents some aspect of the real world,
    sometimes called the miniworld or Universe of
    Discourse (UoD).Changes on the miniworld are
    reflected onto the database.
  • A database is a logically coherent collection of data
    with some inherent meaning.
  • A database is designed, built, and populated with data
    for a specific purpose.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a Database Management System (DBMS)?

A

Is a computerized system that enables users to create and maintain a database. The DBMS is a general-purpose software system that facilitates the processes of defining, constructing, manipulating, and sharing databases among various users and applications.

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

Explain the defining process.

A

Defining a database involves specifying the data types, structures, and constraints of the data to be stored in the database. This information is stores as meta-data in the catalog.

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

Define the constructing process.

A

Constructing the database is the process of storing the data on some storage medium controlled by the DBMS.

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

Define the manipulating process.

A

Manipulating a database includes functions such as querying the database to retrieve specific data, updating the database to reflect changes in the miniworld, and generating reports from the data.

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

What is a query?

A

A query typically causes some data to be retrieved; a transaction may cause some data to be read and some data to be written into the database.

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

Describe the protection function of a DBMS.

A

Protection includes system protection against hardware or software malfunction (or crashes) and security protection against unauthorized or malicious access.

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

Describe the maintaining function of a DBMS.

A

The database system is maintained by allowing the system to evolve ad requirements evolve over time.

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

Define the process of creating a new application.

A
  1. Requirements specification and analysis phase. The
    requirements are documented in detail and
    transformed into a conceptual design.
  2. The design is then translated to a logical design that
    can be expressed in a data model implemented in a
    commercial DBMS.
  3. The final stage is the physical design, during which
    further specifications are provided for storing and
    accessing the database.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are the main characteristics of the database approach versus the file-processing approach?

A
  • Self-describing nature of the database system.
  • Insulation between programs and data, and data
    abstraction.
  • Support of multiple views of the data.
  • Sharing of data and multiuser transaction processing.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the self-describing nature of the database system?

A

The information stored in the catalog is the meta-data, which describes the structure of the primary database.

NOSQL systems, do not require meta-data. The data is stored a a self-describing data.

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

Describe the property of program-data independence.

A

Due to the fact that the structure of data files is stored in the catalog separately from the access programs, the DBMS access programs don’t need to be changed.

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

What characteristic allows for program-data independence?

A

This characteristic is data abstraction. A DBMS provides users with a conceptual representation that doesn’t include any details about how the data is stored. Hence the data model hides storage implementation details that are of no interest to most database users.

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

Describe object-oriented and object-relational definitions.

A

Users can define data as part of the database definitions.

17
Q

Describe program-operation independence (Object…)

A

An operation (also called a function or method) is specified in two parts. The interface (or signature) of an operation includes the operation name and the data types of its arguments (or parameters). The implementation (or method) of the operation is specified separately and can be changed without affecting the interface. User application programs can operate on the data by invoking these operation through their names and arguments, regardless of how the operations are implemented.

18
Q

What’s the deal with concurrency control?

A

Software to ensure that several users trying to update the same data do so controlled manner so that result of the updates is correct. These kind of applications are generally called online transaction processing (OLTP) apps.

19
Q

What is a transaction?

A

A transaction is an executing program or process that includes one or more database accesses, such as reading or updating of database records.