Docsity

Database managemnet system, Schemes and Mind Maps of Database Management Systems (DBMS)

Toggle sidebar
bg1
SPPU DBMS Important Questions - Brief Exam
Notes
1. Advantages of DBMS over File System
Reduces redundancy, improves integrity, security, data sharing, backup/recovery and supports
multi-user access.
2. Data Abstraction and Levels
Physical level (how data stored), Logical level (what data stored), View level (user-specific view).
3. Data Independence
Ability to change schema without affecting applications. Types: Logical and Physical.
4. ER Model Components
Entity, Attribute, Relationship. Converted into tables using keys and foreign keys.
5. Keys in DBMS
Primary Key uniquely identifies records; Foreign Key links tables; Candidate Key can become
primary key.
6. Normalization
Organizes data to remove redundancy. 1NF removes repeating groups, 2NF removes partial
dependency, 3NF removes transitive dependency.
7. Normalization vs Denormalization
Normalization improves consistency; Denormalization improves performance.
8. ACID Properties
Atomicity, Consistency, Isolation, Durability ensure reliable transactions.
9. DBMS Security Challenges
Unauthorized access, SQL injection, data theft. Solutions: authentication, authorization, encryption.
10. Concurrency Control
Manages simultaneous transactions using locking, timestamps and MVCC.
11. EER Model
pf3

Partial preview of the text

Download Database managemnet system and more Schemes and Mind Maps Database Management Systems (DBMS) in PDF only on Docsity!

SPPU DBMS Important Questions - Brief Exam

Notes

1. Advantages of DBMS over File System

Reduces redundancy, improves integrity, security, data sharing, backup/recovery and supports multi-user access.

2. Data Abstraction and Levels

Physical level (how data stored), Logical level (what data stored), View level (user-specific view).

3. Data Independence

Ability to change schema without affecting applications. Types: Logical and Physical.

4. ER Model Components

Entity, Attribute, Relationship. Converted into tables using keys and foreign keys.

5. Keys in DBMS

Primary Key uniquely identifies records; Foreign Key links tables; Candidate Key can become primary key.

6. Normalization

Organizes data to remove redundancy. 1NF removes repeating groups, 2NF removes partial dependency, 3NF removes transitive dependency.

7. Normalization vs Denormalization

Normalization improves consistency; Denormalization improves performance.

8. ACID Properties

Atomicity, Consistency, Isolation, Durability ensure reliable transactions.

9. DBMS Security Challenges

Unauthorized access, SQL injection, data theft. Solutions: authentication, authorization, encryption.

10. Concurrency Control

Manages simultaneous transactions using locking, timestamps and MVCC.

11. EER Model

Extended ER model with specialization, generalization and inheritance.

12. Logical vs Physical Data Independence

Logical: conceptual changes don't affect views. Physical: storage changes don't affect schema.

13. Mapping 1:N and M:N

1:N -> foreign key on N side. M:N -> create separate relationship table.

14. Features of SQL

Standard language for creating, querying and managing databases.

15. SQL Data Types

INT, FLOAT, CHAR, VARCHAR, DATE, BOOLEAN etc.

16. DDL Commands

CREATE, ALTER, DROP, TRUNCATE define database structure.

17. SQL Constraints

PRIMARY KEY, FOREIGN KEY, UNIQUE, NOT NULL, CHECK.

18. DML Commands

INSERT, UPDATE, DELETE manipulate data.

19. SELECT, WHERE, ORDER BY

SELECT retrieves data, WHERE filters rows, ORDER BY sorts results.

20. LIKE Operator

Pattern matching using % (many chars) and _ (single char).

21. IN and BETWEEN

IN checks values in a list; BETWEEN checks range.

22. SQL Functions

String: UPPER(), LOWER(); Date: SYSDATE; Numeric: ROUND(), ABS().

23. Aggregate Functions

COUNT(), SUM(), AVG(), MAX(), MIN() often used with GROUP BY and HAVING.