DBMS 2
DBMS 2
DBMS manages data; RDBMS organizes data into related tables (PostgreSQL is RDBMS).
Atomicity: All-or-nothing.
3. What is normalization?
Organizing data to reduce redundancy; 1NF (atomic data), 2NF (full dependency), 3NF
(no transitive dependency).
5. What is a transaction?
A unit of work ensuring ACID properties; handled via COMMIT and ROLLBACK.
Combining data from multiple tables. Types: Inner, Left, Right, Full.
7. What is indexing?
1. What is PostgreSQL?
Open-source RDBMS with advanced features like JSON, MVCC, and custom data types.
2. PostgreSQL features?
3. pgAdmin?
4. psql?
JSON stores raw text; JSONB stores data in binary for faster querying.
1. What is a view?
7. Types of relationships?
Hierarchical: Tree.
Network: Graph.
Relational: Tables.
Non-correlated: Independent.
Rules for columns (e.g., primary key, foreign key, unique, not null).
A method to improve storage reliability and performance through disk arrays (RAID 0, 1,
5).