Database Systems Flashcards
(38 cards)
Explain the advantages of using a database system when there is simultaneous
access to the same data.
Explain why junction tables, devised to express many-to-many relationships,
should have composite primary keys.
Comment on the following statement: “Candidate Keys should use the SQL
constraints of NOT NULL and UNIQUE”.
Explain how a B-Tree Index can help improve the performance of a database.
Describe how a “Phantom Read” could occur in a transactional database and
suggest a strategy to avoid it.
Describe how a “Dirty Read” could occur in a transactional database and
suggest a strategy to avoid it.
Describe how a “Fuzzy Read” could occur in a transactional database and
suggest a strategy to avoid it.
Do the ANSI level table
Explain the use of Triggers in database systems and provide an illustrative
example.
Discuss two advantages of using a Relational Database for data persistence, when
compared to using an operating system’s standard file system.
Explain why a surrogate key should not be used as Primary Key in tables devised
to express many-to-many relationships.
Comment on the following statement: “Adding more Indexes will always make a
Database Management System perform better”.
Describe an example of a “Dirty Read” in transactional databases.
Comment on the following statement: “Database Management System
Administrators should always define a Transaction Isolation Level of Serializable”.
Discuss two circumstances where Stored Procedures might become useful in
Database Systems
Explain the advantage of describing Data Models in different levels of
abstraction, such as External, Conceptual, Logical and Internal layers.
Describe disadvantages of using Relational Databases.
Discuss the disadvantages of using Stored Procedures in Database Systems.
List some of the commands belonging to the Data Definition Language (DDL)
portion of SQL
Explain the difference between an “SQL INNER JOIN” and an “SQL LEFT
JOIN” CROSS JOIN - RIGHT JOIN
What is the main goal of database normalization?
Describe the ACID (Atomicity, Consistency, Isolation, Durability) principles of
transactional databases.
Difference between 1NF, 2NF and 3NF
Redo the ERD Chen Style for:
S2 2023
S2 2024