DBMS PRELIM

0.0(0)
studied byStudied by 1 person
full-widthCall with Kai
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/80

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

81 Terms

1
New cards

Database Management System (DBMS)

is a software system that is designed to manage and organize data in a structured manner

2
New cards

Data modeling

A DBMS provides tools for creating and modifying data models, which define the structure and relationships of the data in a database.

3
New cards

Data storage and retrieval

A DBMS is responsible for storing and retrieving data from the database and can provide various methods for searching and querying the data.

4
New cards

Concurrency control

A DBMS provides mechanisms for controlling concurrent access to the database, to ensure that multiple users can access the data without conflicting with each other

5
New cards

Data integrity and security

A DBMS provides tools for enforcing data integrity and security constraints, such as constraints on the values of data and access controls that restrict who can access the data

6
New cards

Backup and recovery

A DBMS provides mechanisms for backing up and recovering the data in the event of a system failure.

7
New cards

RDBMS

Data is organized in the form of tables and each table has a set of rows and columns. The data are related to each other through primary and foreign keys.

8
New cards

NoSQL

Data is organized in the form of key-value pairs, documents, graphs, or column-based. These are designed to handle large-scale, high-performance scenarios.

9
New cards

Database

is a collection of interrelated data which helps in the efficient retrieval, insertion, and deletion of data from the database and organizes the data in the form of tables, views, schemas, reports, etc.

10
New cards

Data Definition Language (DDL)

which deals with database schemas and descriptions, of how the data should reside in the database.

11
New cards

CREATE

to create a database and its objects like (table, index, views, store procedure, function, and triggers)

12
New cards

ALTER

alters the structure of the existing database

13
New cards

DROP

delete objects from the database

14
New cards

TRUNCATE

remove all records from a table, including all spaces allocated for the records are removed

15
New cards

COMMENT

add comments to the data dictionary

16
New cards

RENAME

rename an object

17
New cards

Data Manipulation Language (DML)

which deals with data manipulation and includes most common SQL statements such SELECT, INSERT, UPDATE, DELETE, etc., and it is used to store, modify, retrieve, delete, and update data in a database.

18
New cards

SELECT

retrieve data from a database

19
New cards

INSERT

insert data into a table

20
New cards

UPDATE

updates existing data within a table

21
New cards

DELETE

Delete all records from a database table

22
New cards

MERGE

UPSERT operation (insert or update)

23
New cards

CALL

call a PL/SQL or Java subprogram

24
New cards

EXPLAIN PLAN

interpretation of the data access path

25
New cards

LOCK TABLE

concurrency Control

26
New cards

Data Control Language (DCL)

which acts as an access specifier to the database.

27
New cards

GRANT

grant permissions to the user for running DML (SELECT, INSERT, DELETE…) commands on the table

28
New cards

REVOKE

revoke permissions to the user for running DML (SELECT, INSERT, DELETE…) command on the specified table

29
New cards

Transactional Control Language (TCL)

which acts as a manager for all types of transactional data and all transactions.

30
New cards

Roll Back

Used to cancel or Undo changes made in the database.

31
New cards

Commit

It is used to apply or save changes in the database.

32
New cards

Save Point

It is used to save the data on the temporary basis in the database.

33
New cards

Data Retrieval Language (DRL)

which is used for retrieval of data. It can also be said as DML.

34
New cards

Enterprise Information

Sales, accounting, human resources, Manufacturing, online retailers.

35
New cards

Banking and Finance Sector

Banks maintaining the customer details, accounts, loans, banking transactions, credit card transactions. Finance: Storing the information about sales and holdings, purchasing of financial stocks and bonds.

36
New cards

University

Maintaining the information about student course enrolled information, student grades, staff roles.

37
New cards

Airlines

Reservations and schedules.

38
New cards

Telecommunications

Prepaid, postpaid bills maintenance.

39
New cards

Redundancy of data

Data is said to be redundant if the same data is copied at many places.

40
New cards

Inconsistency of Data

Data is said to be inconsistent if multiple copies of the same data do not match each other.

41
New cards

Difficult Data Access

A user should know the exact location of the file to access data, so the process is very cumbersome and tedious.

42
New cards

Unauthorized Access

File Systems may lead to unauthorized access to data

43
New cards

No Concurrent Access

The access of the same data by multiple users at the same time is known as concurrency.The file system does not allow concurrency as data can be accessed by only one user at a time.

44
New cards

No Backup and Recovery

The file system does not incorporate any backup and recovery of data if a file is lost or corrupted

45
New cards

Data organization

A DBMS allows for the organization and storage of data in a structured manner, making it easy to retrieve and query the data as needed.

46
New cards

Data integrity

A DBMS provides mechanisms for enforcing data integrity constraints, such as constraints on the values of data and access controls that restrict who can access the data

47
New cards

Data security

A DBMS provides tools for managing the security of the data, such as controlling access to the data and encrypting sensitive data.

48
New cards

Backup and recovery

A DBMS provides mechanisms for backing up and recovering the data in the event of a system failure.

49
New cards

Data sharing

A DBMS allows multiple users to access and share the same data, which can be useful in a collaborative work environment.

50
New cards

Complexity

DBMS can be complex to set up and maintain, requiring specialized knowledge and skills.

51
New cards

Performance overhead

The use of a DBMS can add overhead to the performance of an application, especially in cases where high levels of concurrency are required.

52
New cards

Scalability

The use of a DBMS can limit the scalability of an application since it requires the use of locking and other synchronization mechanisms to ensure data consistency.

53
New cards

Cost

The cost of purchasing, maintaining, and upgrading a DBMS can be high, especially for large or complex systems.

54
New cards

Limited Use Cases

Not all use cases are suitable for a DBMS, some solutions do not need high reliability, consistency or security and may be better served by other types of data storage.

55
New cards

DBMS Architecture

helps users to get their requests done while connecting to the database.

56
New cards

1-Tier Architecture

the database is directly available to the user, the user can directly sit on the DBMS and use it that is, the client, server, and Database are all present on the same machine.

57
New cards

2-Tier Architecture

is like a basic client-server model. The application at the client end directly communicates with the database on the server side.

58
New cards

3-Tier Architecture

there is another layer between the client and the server

59
New cards

Entity

anything that has attributes, real-life objects

60
New cards

Attributes

Entities are represented by means of their properties

61
New cards

Simple attribute

are atomic values, which cannot be divided further. For example, student's phone-number is an atomic value of 10 digits.

62
New cards

Composite attribute

are made of more than one simple attribute. For example, a student's complete name may have first_name and last_name.

63
New cards

Derived attribute

are attributes, which do not exist physical in the database, but there values are derived from other attributes presented in the database

64
New cards

Single-valued attribute

contain on single value. For example: Social_Security_Number

65
New cards

Multi-value attribute

may contain more than one values. For example, a person can have more than one phone numbers, email_addresses etc.

66
New cards

Key

is an attribute or collection of attributes that uniquely identifies an entity among entity set

67
New cards

Super Key

Set of attributes (one or more) that collectively identifies an entity in an entity set

68
New cards

Candidate Key

Minimal super key

69
New cards

Primary Key

This is one of the candidate key chosen by the database designer to uniquely identify the entity set.

70
New cards

Relationship

The association among entities

71
New cards

Relationship Set

Relationship of similar type

72
New cards

Cardinality

defines the number of entities in one entity set which can be associated to the number of entities of other set via relationship set.

73
New cards

One-to-one

one entity from entity set A can be associated with at most one entity of entity set B and vice versa.

74
New cards

One-to-many

One entity from entity set A can be associated with more than one entities of entity set B but from entity set B one entity can be associated with at most one entity.

75
New cards

Many-to-one

More than one entities from entity set A can be associated with at most one entity of entity set B but one entity from entity set B can be associated with more than one entity from entity set A.

76
New cards

Many-to-many

one entity from A can be associated with more than one entity from B and vice versa

77
New cards

Binary relationship

When only one instance of entity is associated

78
New cards

Data model

tells how the logical structure of a database is modeled and are fundamental entities to introduce abstraction in DBMS.

79
New cards

Entity-Relationship model

is based on the notion of real world entities and relationship among them.

80
New cards

Domain

Every attribute is defined by its set of values

81
New cards

Database schema

skeleton structure of and it represents the logical view of entire database. It tells about how the data is organized and how relation among them is associated.

Explore top flashcards