dbms_mid2
dbms_mid2
Schema refinement refers to the process of improving the design of a database schema to ensure it is efficient,
consistent, and free from data anomalies. It involves restructuring the database schema to better align with
principles of normalization, reduce redundancy, and enhance data integrity.
Redundancy in a database occurs when the same data is stored in multiple places. While it may seem harmless
initially, redundancy often leads to several problems that can impact the efficiency, consistency, and integrity of
the database.
4.What is Decomposition ?
Decomposition in DBMS refers to the process of breaking a larger, more complex database schema into two or
more smaller, simpler, and well-structured schemas while preserving the original data and its dependencies.
Decomposition is commonly applied during normalization to eliminate redundancy, avoid anomalies, and
ensure data consistency.
MODULE-4
A locking protocol is a set of rules used in database systems to manage concurrent transactions and ensure data
consistency and isolation. Locking protocols are fundamental to concurrency control mechanisms, as they
prevent race conditions
A transaction in a Database Management System (DBMS) is a logical unit of work that performs a sequence of
operations to access or modify the database. These operations are treated as a single, indivisible unit
The properties of transaction are A-atomicity,C-consistency,I-isolation,D-durability.
Log-based recovery is a method used in Database Management Systems (DBMS) to ensure the database
remains consistent and can be restored to a correct state after system failures, such as crashes or power
outages.
MODULE-5
1.What is primary and secondary indexing?
Primary Indexing refers to an index that is created on a primary key or unique identifier of the table, ensuring
that the indexed column has a unique value for every record. The primary index is typically used to improve the
speed of queries that involve primary keys.
Secondary Indexing refers to an index that is created on a non-primary key column or any column that is not
part of the table's primary key. Secondary indexes allow faster retrieval of records based on non-unique or non-
primary key fields. Multiple secondary indexes can be created on a table for different columns.