Back to the 2021 paper

Unit 5 – Advanced Topics

20217m

Explain web and distributed database with the help of example.

Worked SolutionAI Assisted

Web and Distributed Database with Examples:

Web Database: Database accessible via web interface, often three-tier (browser -> web server -> DB). Example: E-commerce site where product catalog stored in MySQL, accessed via PHP/Node.js, users interact via browser, queries via HTTP. Characteristics: stateless HTTP, connection pooling, security via HTTPS.

Distributed Database: Logically integrated but physically distributed across sites/nodes, appears as single DB. Types: Homogeneous (same DBMS) vs Heterogeneous (different). Fragmentation: Horizontal (rows), Vertical (columns), Replication. Example: Bank with branches in Mumbai and Delhi each store local accounts but global query can join - SELECT * FROM Accounts where branch='Mumbai' transparently via distributed query processor, with two-phase commit for atomicity. Advantages: locality, availability, scalability. Challenges: distributed concurrency, recovery, heterogeneity.

Both enable large-scale data access; web is front-end paradigm, distributed is storage architecture. Modern cloud combines both.

Similar questions

Student FinanceWeb Platform

Pocketly — Personal Finance for Students

Keep your hostel and college expenses under control. Track accounts, log spending in seconds, and stay within your monthly budget.