Mod1 QB
Mod1 QB
The query compiler takes user queries, checks for syntax errors, and converts them into an internal representation.
Query Optimizer:
The query optimizer analyzes the internal representation of the query and determines the most efficient execution plan.
Runtime Database Processor:
The runtime database processor executes the optimized query plan by interacting with the stored data manager and buffer management.
Buffer Management:
Manages the temporary storage of data in memory buffers to optimize read and write operations during query execution.
Stored Data Manager:
Handles the storage and retrieval of data from physical storage, ensuring efficient access and data integrity.
Physical Storage:
Processes DDL statements to define or modify database schema structures and updates the system catalog accordingly.
Precompiler:
Translates embedded SQL statements in application programs into standard API calls, allowing for integration with application code.
System Catalog:
Stores metadata about the database, including schema definitions, object descriptions, and access patterns. This information is crucial for query optimization and execution.
Concurrency Control System:
Manages concurrent access to the database to ensure data consistency and isolation, implementing mechanisms such as locking and transaction control.
Backup and Recovery System:
Provides tools and procedures for backing up the database and recovering from failures, ensuring data integrity and availability.
Gayana M N , SJEC