P2 Exam Questions Flashcards
(8 cards)
What is a database administrator?
A database administrator (DBA) manages, secures, and maintains databases, ensuring data availability and integrity.
What are the roles of a database administrator?
Roles include database installation, backup, recovery, performance tuning, user access control, and security.
Queries of DDL and DML (roles of each)
DDL (Data Definition Language) -> Create, Drop, Alter, Truncate -> defines or modifies database structure.
DML (Data Manipulation Language) -> Insert, Update, Delete -> manipulates data in the database.
What is physical schema?
Describes how data is physically stored on storage devices (e.g., files, indexes, memory layout).
or
It defines how data is stored physically in storage systems like files, indexes, and partitions.
What is conceptual schema?
It is a high-level representation of a database, focusing on the core concepts and relationships within the system. It describes the structure and organization of the entire database at a conceptual level, including relationships between entities, but without any specific storage details, independent of physical storage. Essentially, it’s a blueprint for the database, providing a broad understanding of the data and its organization.
What is logical schema?
Specifies the structure of the data as seen by the DBMS, including tables, columns, data types, and constraints
or
It outlines the logical structure like tables, fields, and relationships, independent of physical implementation.
What is 1NF?
Remove repeating groups and ensure all attributes have atomic (indivisible) values.
What is 2NF?
Ensure table is in 1NF and move partial dependencies to separate tables.