DBMS Overview: Database, DBMS, Database System Architecture Notes in Hindi & English : डेटाबेस मैनेजमेंट सिस्टम (DBMS): परिभाषा, उद्देश्य और मुख्य घटक और 20 महत्वपूर्ण MCQ प्रश्न (Rajasthan IT Exam)

Post a Comment

PGDCA, BCA, B-Tech, MCA, M-Tech, B.Sc computer science राजस्थान सूचना सहायक व कंप्यूटर शिक्षक विशेष नोट्स: इस अध्याय में हम DBMS Overview: Database, DBMS, Database System Architecture (डेटाबेस मैनेजमेंट सिस्टम (DBMS): परिभाषा, उद्देश्य और मुख्य घटक) की संपूर्ण थ्योरी, मुख्य तकनीकी बिंदु, तुलनात्मक तालिका और विगत परीक्षाओं के पैटर्न पर आधारित 20 अति-महत्वपूर्ण बहुविकल्पीय प्रश्न (MCQs) विस्तृत हिंदी व अंग्रेजी व्याख्या सहित पढ़ेंगे।

Overview: A Database Management System (DBMS) is specialized software for defining, storing, querying, and protecting interrelated persistent data, structured around a Query Processor, Storage Manager, System Catalog, and multi-tier client-server architectures.

अध्याय सार: डेटाबेस मैनेजमेंट सिस्टम (DBMS) एक ऐसा सॉफ्टवेयर है जो परस्पर जुड़े डेटा को व्यवस्थित रूप से परिभाषित, संग्रहीत, क्वेरी और सुरक्षित करता है; इसमें क्वेरी प्रोसेसर, स्टोरेज मैनेजर, सिस्टम कैटलॉग और 1/2/3-टियर आर्किटेक्चर प्रमुख घटक हैं।

DBMS Overview: Database, DBMS, Database System Architecture: Detailed Notes & Architecture (डेटाबेस मैनेजमेंट सिस्टम (DBMS): परिभाषा, उद्देश्य और मुख्य घटक)

1. Data, Information, Metadata & Database Fundamentals (डेटा, सूचना, मेटाडेटा और डेटाबेस की मूल अवधारणा)

[EN] Data consists of raw unorganized facts (like '85', 'Jaipur'), whereas Information is processed, contextualized data useful for decision-making. Metadata ('data about data') describes table structures, data types, constraints, and indexes stored inside the System Catalog / Data Dictionary. A Database is a shared, integrated collection of logically related persistent data modeled around a mini-world, and a DBMS (MySQL, PostgreSQL, Oracle, SQL Server) serves as the interface between users/applications and stored files.

[HI] डेटा कच्चे असंगठित तथ्य हैं, जबकि प्रोसेस किया हुआ अर्थपूर्ण डेटा 'सूचना' (Information) कहलाता है। मेटाडेटा ('डेटा के बारे में डेटा') तालिकाओं की संरचना, डेटा प्रकार व नियमों का विवरण रखता है, जो सिस्टम कैटलॉग (Data Dictionary) में सहेजा जाता है। डेटाबेस तार्किक रूप से जुड़े डेटा का संग्रह है और DBMS उपयोगकर्ता व डेटाबेस फाइलों के बीच एक प्रबंधक सॉफ्टवेयर (जैसे MySQL, Oracle) के रूप में कार्य करता है।

2. Query Processor Components: DDL, DML & Optimizer (क्वेरी प्रोसेसर के घटक: DDL, DML और ऑप्टिमाइज़र)

[EN] The Query Processor translates high-level declarative SQL into low-level disk operations. The DDL Interpreter parses schema definitions (`CREATE`, `ALTER`) and writes metadata entries directly into the Data Dictionary. The DML Compiler translates queries (`SELECT`, `UPDATE`) into relational algebra evaluation plans, while the Query Optimizer compares I/O and CPU costs across candidate execution plans (choosing index scans vs sequential scans) before handing the winning plan to the Query Evaluation Engine.

[HI] क्वेरी प्रोसेसर उच्च-स्तरीय SQL को निम्न-स्तरीय डिस्क निर्देशों में बदलता है। DDL इंटरप्रेटर स्कीमा कमांड (`CREATE`, `ALTER`) को पढ़कर डेटा डिक्शनरी में मेटाडेटा अपडेट करता है। DML कंपाइलर क्वेरी को मूल्यांकन योजनाओं में अनुवाद करता है, और क्वेरी ऑप्टिमाइज़र सबसे कम लागत (कम डिस्क I/O) वाला निष्पादन पथ चुनकर क्वेरी इवैल्यूएशन इंजन को देता है।

3. Storage Manager, Buffer Pool & Transaction Manager (स्टोरेज मैनेजर, बफर पूल और ट्रांजैक्शन मैनेजर)

[EN] The Storage Manager bridges low-level OS file blocks and database queries through four key sub-modules: Authorization & Integrity Manager (checks access privileges and constraints), Transaction Manager (guarantees ACID Atomicity and Isolation despite crashes or concurrency), File Manager (allocates disk pages/extents), and Buffer Manager (caches hot disk pages in RAM to minimize expensive physical disk reads). Recovery relies on Write-Ahead Logging (WAL) stored prior to page writes.

[HI] स्टोरेज मैनेजर डेटा और डिस्क ब्लॉकों के बीच सेतु का काम करता है। इसके चार मुख्य भाग हैं: ऑथराइज़ेशन व इंटेग्रिटी मैनेजर (अधिकार व नियम जांच), ट्रांजैक्शन मैनेजर (ACID गुण व लॉकिंग नियंत्रण), फाइल मैनेजर (डिस्क स्पेस आवंटन), और बफर मैनेजर (RAM में डेटा पेजों की कैशिंग ताकि डिस्क I/O कम हो)। क्रैश रिकवरी के लिए Write-Ahead Logging (WAL) का उपयोग होता है।

4. Database System Architectures: 1-Tier, 2-Tier & 3-Tier (डेटाबेस सिस्टम आर्किटेक्चर: 1-टियर, 2-टियर और 3-टियर)

[EN] In a 1-Tier architecture, UI, application logic, and DBMS reside on a single machine (e.g., local SQLite or DBA console). In a 2-Tier Client-Server architecture, desktop clients send SQL directly to a remote DBMS server over APIs like ODBC or JDBC. Modern web and enterprise systems deploy a 3-Tier architecture placing a Presentation Tier (browser/app), an Application/Business Logic Tier (API server), and a Database Tier separately—improving scalability, connection pooling, and security isolation.

[HI] 1-टियर आर्किटेक्चर में यूजर इंटरफ़ेस और DBMS एक ही कंप्यूटर पर होते हैं। 2-टियर (क्लाइंट-सर्वर) में क्लाइंट सीधे ODBC या JDBC ड्राइवर के जरिए डेटाबेस सर्वर से जुड़ता है। आधुनिक वेब एप्लिकेशन 3-टियर आर्किटेक्चर अपनाते हैं, जहाँ क्लाइंट, बिजनेस लॉजिक (ऐप सर्वर) और डेटाबेस टियर अलग-अलग होते हैं—इससे स्केलेबिलिटी, कनेक्शन पूलिंग और सुरक्षा काफी बढ़ जाती है।

Syntax, Formula & Technical Example (DBMS Overview: Database, DBMS, Database System Architecture)

-- Exploring DBMS Components & System Catalog Metadata (SQL)
CREATE TABLE Students (RollNo INT PRIMARY KEY, Name VARCHAR(50), Dept VARCHAR(20));
INSERT INTO Students VALUES (101, 'Aarav Sharma', 'CSE');
EXPLAIN SELECT Name FROM Students WHERE RollNo = 101; -- Shows Query Optimizer Plan
-- Inspecting Metadata stored by DDL Compiler in the Data Dictionary:
SELECT table_name, column_name, data_type
FROM information_schema.columns
WHERE table_name = 'Students';

DBMS Overview: Database, DBMS, Database System Architecture Quick Reference & Comparison Table

DBMS Internal ComponentPrimary Technical ResponsibilityKey Exam & Architecture Fact
DDL Compiler / InterpreterParses schema definitions and registers metadata in Data DictionaryOutputs catalog tables rather than tuple data itself
Query OptimizerSelects lowest-cost execution plan (index vs full table scan)Uses catalog statistics like table cardinality & histograms
Buffer ManagerCaches disk blocks in main memory RAM and handles page evictionCritical bottleneck controller reducing slow disk I/O
Transaction ManagerEnforces ACID properties via locking and Write-Ahead LoggingPrevents lost updates and ensures crash recovery rollback

DBMS Overview: Database, DBMS, Database System Architecture Top 20 Bilingual MCQs with Answers

Q1. What does 'Metadata' refer to inside a Database Management System?

(डेटाबेस मैनेजमेंट सिस्टम में 'मेटाडेटा' (Metadata) का क्या अर्थ होता है?)

(A) Data about data — structural definitions like table schemas, data types, constraints, and indexes

(B) Encrypted user passwords stored on browser cookies

(C) Unindexed raw text logs from external sensors

(D) Backup copies archived onto magnetic tape

Correct Answer: (A)

[EN] Metadata describes the structure and rules of stored data and resides in the DBMS System Catalog / Data Dictionary.

[HI] मेटाडेटा 'डेटा के बारे में डेटा' है, जो डेटाबेस की तालिकाओं, कॉलम प्रकारों और नियमों का विवरण डेटा डिक्शनरी में रखता है।

Q2. Which DBMS component decides whether to use a B+ tree index scan or a sequential full-table scan for a given SQL query?

(किसी SQL क्वेरी के लिए B+ ट्री इंडेक्स स्कैन या पूर्ण टेबल स्कैन का चुनाव DBMS का कौन सा घटक करता है?)

(A) File Allocation Table

(B) DDL Interpreter

(C) Query Optimizer

(D) Buffer Manager

Correct Answer: (C)

[EN] The Query Optimizer evaluates alternative relational algebra plans using table statistics and picks the minimum-cost execution plan.

[HI] क्वेरी ऑप्टिमाइज़र सांख्यिकी के आधार पर विभिन्न निष्पादन योजनाओं की लागत की तुलना कर सबसे तेज़ पथ चुनता है।

Q3. In a 3-Tier Database System Architecture, which layer sits directly between the end-user client and the Database Server?

(3-टियर डेटाबेस आर्किटेक्चर में एंड-यूजर क्लाइंट और डेटाबेस सर्वर के बीच कौन सी परत स्थित होती है?)

(A) Magnetic Tape Controller

(B) Physical Disk Sector Tier

(C) BIOS Firmware Tier

(D) Application / Business Logic Tier

Correct Answer: (D)

[EN] The middle Application Server encapsulates business validation, connection pooling, and security so browsers never connect straight to database ports.

[HI] मध्यम परत (Application Server) बिजनेस लॉजिक और सुरक्षा जांच संभालती है, जिससे क्लाइंट सीधे डेटाबेस पोर्ट से नहीं जुड़ता।

Q4. Which APIs enable a 2-Tier client application written in Java or C++ to submit SQL queries to a remote DBMS?

(जावा या C++ में लिखा 2-टियर क्लाइंट एप्लिकेशन किस API के माध्यम से रिमोट DBMS को SQL क्वेरी भेजता है?)

(A) SMTP or POP3

(B) ICMP or ARP

(C) DNS or DHCP

(D) JDBC (Java Database Connectivity) or ODBC (Open Database Connectivity)

Correct Answer: (D)

[EN] ODBC and JDBC are standardized database connectivity drivers designed for 2-tier client-to-DBMS communication.

[HI] 2-टियर आर्किटेक्चर में डेटाबेस से जुड़ने के लिए मानक JDBC (Java के लिए) या ODBC ड्राइवरों का उपयोग किया जाता है।

Q5. What happens when the DDL Interpreter executes a CREATE TABLE statement?

(जब DDL इंटरप्रेटर किसी CREATE TABLE स्टेटमेंट को निष्पादित करता है, तो क्या होता है?)

(A) It stores the table definition, column types, and constraints inside the System Catalog / Data Dictionary

(B) It deletes existing indexes across unrelated databases

(C) It immediately exports all rows to a CSV file

(D) It prompts the OS kernel to reformat the partition

Correct Answer: (A)

[EN] DDL statements modify schema metadata stored inside special catalog tables rather than inserting user rows.

[HI] DDL कमांड सिस्टम कैटलॉग (डेटा डिक्शनरी) में तालिका की संरचना, कॉलम और कंस्ट्रेंट्स का मेटाडेटा दर्ज करता है।

Q6. Which Storage Manager sub-component is directly responsible for deciding which disk pages remain cached in main memory (RAM)?

(स्टोरेज मैनेजर का कौन सा उप-घटक यह तय करता है कि डिस्क के कौन से डेटा पेज मुख्य मेमोरी (RAM) में कैश रहेंगे?)

(A) Buffer Manager

(B) View Translator

(C) DML Precompiler

(D) Schema Designer

Correct Answer: (A)

[EN] The Buffer Manager manages the in-memory buffer pool using replacement policies like LRU/Clock so frequent queries avoid slow disk reads.

[HI] बफर मैनेजर RAM में बफर पूल का प्रबंधन करता है ताकि बार-बार पढ़े जाने वाले पेज डिस्क से दोबारा न पढ़ने पड़ें।

Q7. What role does Write-Ahead Logging (WAL) play in the DBMS Storage and Recovery subsystem?

(DBMS स्टोरेज व रिकवरी सिस्टम में Write-Ahead Logging (WAL) की क्या भूमिका है?)

(A) It compresses SQL queries into JPEG images

(B) It disables foreign key validation during SELECT queries

(C) It assigns public IPv6 addresses to every tuple

(D) Log records describing changes are flushed to non-volatile disk before dirty data pages are overwritten, enabling crash recovery

Correct Answer: (D)

[EN] WAL guarantees Durability and Atomicity: after a sudden power loss, the Recovery Manager replays committed log entries and undoes uncommitted ones.

[HI] WAL में किसी भी डेटा परिवर्तन को मुख्य डेटा फाइल में लिखने से पहले लॉग फाइल में सहेजा जाता है, जिससे क्रैश के बाद रोलबैक व रिकवरी संभव होती है।

Q8. Which set of four guarantees is ensured by the DBMS Transaction Manager for concurrent operations?

(समवर्ती संचालन के लिए DBMS ट्रांजैक्शन मैनेजर किन चार गुणों की गारंटी देता है?)

(A) HTTP, FTP, DNS, SMTP

(B) RAID, BIOS, CMOS, UEFI

(C) CRUD, REST, SOAP, JSON

(D) ACID (Atomicity, Consistency, Isolation, Durability)

Correct Answer: (D)

[EN] Every database transaction must adhere to Atomicity (all-or-nothing), Consistency, Isolation (concurrency control), and Durability.

[HI] ट्रांजैक्शन मैनेजर ACID (परमाणुकता, संगतता, अलगाव और स्थायित्व) गुणों को सुनिश्चित करता है।

Q9. In SQL, querying `INFORMATION_SCHEMA.TABLES` retrieves data from which DBMS structure?

(SQL में `INFORMATION_SCHEMA.TABLES` पर क्वेरी चलाने से DBMS की किस संरचना से जानकारी प्राप्त होती है?)

(A) The System Catalog / Data Dictionary

(B) The Operating System Swap Partition

(C) The CPU L1 Instruction Cache

(D) The Client Browser LocalStorage

Correct Answer: (A)

[EN] `INFORMATION_SCHEMA` is the ANSI SQL standard read-only view exposing metadata from the DBMS Data Dictionary.

[HI] `INFORMATION_SCHEMA` मानक SQL इंटरफ़ेस है जो सिस्टम कैटलॉग (डेटा डिक्शनरी) में संग्रहीत मेटाडेटा दिखाता है।

Q10. Which DBMS architecture is best exemplified by an embedded SQLite library linked inside a standalone mobile app?

(एक स्टैंडअलोन मोबाइल ऐप के भीतर सीधे जुड़ी एम्बेडेड SQLite लाइब्रेरी किस DBMS आर्किटेक्चर का सर्वोत्तम उदाहरण है?)

(A) Hierarchical Mainframe IMS Terminal

(B) Peer-to-Peer Ring Topology

(C) 1-Tier Architecture

(D) 3-Tier Distributed Microservice Architecture

Correct Answer: (C)

[EN] Because the application code and SQLite database engine execute within the exact same process on one device without a network server, it is 1-Tier.

[HI] क्योंकि ऐप और SQLite इंजन बिना किसी अलग सर्वर के एक ही डिवाइस और प्रोसेस में चलते हैं, यह 1-टियर आर्किटेक्चर है।

Q11. Which type of database language is used by the DBMS to define user access privileges like GRANT and REVOKE?

(उपयोगकर्ता के एक्सेस अधिकार (जैसे GRANT और REVOKE) निर्धारित करने के लिए DBMS किस उप-भाषा का उपयोग करता है?)

(A) DDL (Data Definition Language)

(B) DCL (Data Control Language)

(C) TCL (Transaction Control Language)

(D) HTML (HyperText Markup Language)

Correct Answer: (B)

[EN] DCL commands (`GRANT`, `REVOKE`) interact with the Authorization Manager to control security permissions.

[HI] DCL (Data Control Language) कमांड ऑथराइज़ेशन मैनेजर के माध्यम से उपयोगकर्ता अनुमतियाँ नियंत्रित करते हैं।

Q12. What is the primary purpose of the Authorization & Integrity Manager inside the Storage Manager?

(स्टोरेज मैनेजर के भीतर ऑथराइज़ेशन व इंटेग्रिटी मैनेजर का मुख्य उद्देश्य क्या होता है?)

(A) Allocating physical sectors on NVMe drives

(B) Validating user access rights and checking integrity constraints such as keys and domain rules

(C) Compiling C++ client code into machine binaries

(D) Rendering HTML graphs in the browser

Correct Answer: (B)

[EN] It enforces both security permissions (who can read/write) and semantic integrity rules (e.g., `CHECK`, `NOT NULL`, `FOREIGN KEY`).

[HI] यह जांचता है कि क्या उपयोगकर्ता को डेटा पढ़ने/बदलने की अनुमति है और क्या डेटा सभी इंटेग्रिटी नियमों का पालन कर रहा है।

Q13. Why do 3-tier enterprise applications use a Connection Pool at the Application Tier instead of opening one database connection per web request?

(3-टियर एंटरप्राइज ऐप हर वेब अनुरोध पर नया कनेक्शन खोलने के बजाय एप्लिकेशन टियर पर कनेक्शन पूल (Connection Pool) क्यों रखते हैं?)

(A) To convert relational tables into unstructured text files

(B) Reusing pre-authenticated database connections avoids expensive TCP/TLS handshake and process-spawn overhead

(C) To bypass all primary key constraints

(D) Because SQL does not allow more than 1 row per connection

Correct Answer: (B)

[EN] Opening a fresh TCP+auth DBMS session takes milliseconds and heavy RAM; pooling keeps persistent connections warm for high throughput.

[HI] नया डेटाबेस कनेक्शन खोलने में TCP व प्रमाणीकरण का समय और RAM खर्च होती है; कनेक्शन पूल पुराने खुले कनेक्शनों का पुनः उपयोग कर गति बढ़ाता है।

Q14. What does the 'DML Precompiler' do when embedded SQL appears inside a host language like C or Java?

(जब C या Java जैसे होस्ट प्रोग्राम के अंदर एम्बेडेड SQL लिखा जाता है, तो 'DML प्रीकंपाइलर' क्या करता है?)

(A) Formats the hard disk partitions automatically

(B) Replaces all primary keys with random strings

(C) Translates embedded DML statements into host-language function calls to the DBMS runtime

(D) Converts relational tables into XML stylesheets

Correct Answer: (C)

[EN] Embedded SQL cannot be compiled directly by a standard C compiler, so the DML precompiler converts SQL blocks into valid API calls.

[HI] सामान्य C/Java कंपाइलर सीधे SQL नहीं समझ सकते, इसलिए DML प्रीकंपाइलर उन्हें होस्ट भाषा के वैध फंक्शन कॉल में बदलता है।

Q15. Which statement accurately distinguishes a Database from a DBMS?

(डेटाबेस (Database) और DBMS के बीच सही अंतर कौन सा कथन स्पष्ट करता है?)

(A) There is no difference; both terms refer solely to SQL queries

(B) A Database is the organized collection of interrelated data, while a DBMS is the software system that manages and accesses that data

(C) A DBMS is a single Excel spreadsheet, while a Database is the CPU

(D) A Database is hardware RAM, while a DBMS is an Ethernet cable

Correct Answer: (B)

[EN] MySQL or PostgreSQL is the DBMS software engine; the student records and schemas stored inside it constitute the Database.

[HI] डेटाबेस संबंधित डेटा का संगठित संग्रह है, जबकि DBMS वह सॉफ्टवेयर प्रणाली है जो उस डेटा को बनाने, प्रबंधित व सुरक्षित करने का कार्य करती है।

Q16. Which of the following is NOT a function of a DBMS?

(निम्नलिखित में से कौन सा कार्य एक DBMS का कार्य नहीं (NOT) है?)

(A) Manufacturing physical SSD memory controllers in hardware

(B) Maintaining metadata inside a system catalog and supporting crash recovery

(C) Providing concurrency control for simultaneous multi-user updates

(D) Enforcing data integrity constraints and access security

Correct Answer: (A)

[EN] DBMS is software managing logical/physical data operations, concurrency, security, and recovery—not physical hardware manufacturing.

[HI] DBMS एक सॉफ्टवेयर है जो डेटा सुरक्षा, समवर्ती नियंत्रण, रिकवरी व मेटाडेटा संभालता है, न कि हार्डवेयर SSD कंट्रोलर का निर्माण करता है।

Q17. Within DBMS Overview: Database, DBMS, Database System Architecture, which dbms internal component directly maps to: "Parses schema definitions and registers metadata in Data Dictionary"?

(DBMS Overview: Database, DBMS, Database System Architecture में कौन सा DBMS Internal Component सीधे "Parses schema definitions and registers metadata in Data Dictionary" से संबंधित है?)

(A) DDL Compiler / Interpreter

(B) Transaction Manager

(C) Buffer Manager

(D) Query Optimizer

Correct Answer: (A)

[EN] In DBMS Overview: Database, DBMS, Database System Architecture, 'DDL Compiler / Interpreter' handles 'Parses schema definitions and registers metadata in Data Dictionary' (Outputs catalog tables rather than tuple data itself).

[HI] DBMS Overview: Database, DBMS, Database System Architecture में 'DDL Compiler / Interpreter' का कार्य/विवरण 'Parses schema definitions and registers metadata in Data Dictionary' (Outputs catalog tables rather than tuple data itself) है।

Q18. Which option accurately describes 'Query Optimizer' in DBMS Overview: Database, DBMS, Database System Architecture?

(DBMS Overview: Database, DBMS, Database System Architecture के संदर्भ में 'Query Optimizer' की सही विशेषता कौन सी है?)

(A) Parses schema definitions and registers metadata in Data Dictionary

(B) Enforces ACID properties via locking and Write-Ahead Logging

(C) Caches disk blocks in main memory RAM and handles page eviction

(D) Selects lowest-cost execution plan (index vs full table scan)

Correct Answer: (D)

[EN] 'Query Optimizer' provides 'Selects lowest-cost execution plan (index vs full table scan)' — key point: Uses catalog statistics like table cardinality & histograms.

[HI] 'Query Optimizer' का मुख्य विवरण 'Selects lowest-cost execution plan (index vs full table scan)' है (Uses catalog statistics like table cardinality & histograms)।

Q19. In DBMS Overview: Database, DBMS, Database System Architecture, identify the correct parameter for the specification: "Caches disk blocks in main memory RAM and handles page eviction".

(DBMS Overview: Database, DBMS, Database System Architecture में "Caches disk blocks in main memory RAM and handles page eviction" विवरण किस विकल्प के लिए सही है?)

(A) Transaction Manager

(B) Query Optimizer

(C) DDL Compiler / Interpreter

(D) Buffer Manager

Correct Answer: (D)

[EN] 'Buffer Manager' corresponds to 'Caches disk blocks in main memory RAM and handles page eviction' (Critical bottleneck controller reducing slow disk I/O).

[HI] 'Buffer Manager' का संबंध 'Caches disk blocks in main memory RAM and handles page eviction' (Critical bottleneck controller reducing slow disk I/O) से है।

Q20. Considering DBMS Overview: Database, DBMS, Database System Architecture, what key behavior defines 'Transaction Manager'?

(DBMS Overview: Database, DBMS, Database System Architecture में 'Transaction Manager' की मुख्य भूमिका या मान क्या है?)

(A) Enforces ACID properties via locking and Write-Ahead Logging

(B) Selects lowest-cost execution plan (index vs full table scan)

(C) Caches disk blocks in main memory RAM and handles page eviction

(D) Parses schema definitions and registers metadata in Data Dictionary

Correct Answer: (A)

[EN] 'Transaction Manager' represents 'Enforces ACID properties via locking and Write-Ahead Logging' (Prevents lost updates and ensures crash recovery rollback).

[HI] 'Transaction Manager' का अर्थ/मान 'Enforces ACID properties via locking and Write-Ahead Logging' है (Prevents lost updates and ensures crash recovery rollback)।

DBMS Overview: Database, DBMS, Database System Architecture — Exam FAQs

Q1: Why is the Data Dictionary / System Catalog called the heart of a DBMS?

डेटा डिक्शनरी (System Catalog) को DBMS का हृदय क्यों कहा जाता है?

[EN] Every subsystem—the Query Parser, Optimizer, Authorization Manager, and Storage Engine—consults the Data Dictionary to verify table names, column types, indexes, statistics, and user permissions before executing any query.

[HI] क्वेरी पार्सर, ऑप्टिमाइज़र और सिक्योरिटी मैनेजर सहित हर घटक कोई भी क्वेरी चलाने से पहले तालिकाओं, कॉलमों, इंडेक्स और अधिकारों की पुष्टि डेटा डिक्शनरी से ही करता है।

Q2: When is a 2-Tier architecture preferred over a 3-Tier architecture?

3-टियर आर्किटेक्चर की तुलना में 2-टियर आर्किटेक्चर कब उपयुक्त होता है?

[EN] A 2-Tier setup suits internal LAN desktop tools or admin reporting utilities with a small number of trusted users, whereas internet-facing apps with thousands of concurrent users require a 3-Tier architecture for security and scaling.

[HI] कम विश्वसनीय उपयोगकर्ताओं वाले आंतरिक LAN डेस्कटॉप टूल के लिए 2-टियर सरल और तेज़ होता है, जबकि हजारों समवर्ती उपयोगकर्ताओं वाले वेब ऐप्स के लिए 3-टियर आवश्यक है।

Q3: How does the Buffer Manager speed up database reads?

बफर मैनेजर डेटाबेस रीड ऑपरेशन को तेज़ कैसे बनाता है?

[EN] It keeps frequently accessed 8 KB / 16 KB data pages cached in main memory (RAM), satisfying repeat queries at nanosecond RAM speeds rather than slow millisecond disk seeks.

[HI] यह बार-बार उपयोग होने वाले डेटा पेजों को RAM में कैश करके रखता है, जिससे धीमी डिस्क रीड की आवश्यकता कम हो जाती है।

Related Posts

  • Loading related posts...

Post a Comment

Search Topic Notes & 20 MCQs (Hindi / English)