Articles on Trending Technologies

Technical articles with clear explanations and examples

NO-UNDO REDO Recovery Based on Deferred Update

Mithlesh Upadhyay
Mithlesh Upadhyay
Updated on 14-Mar-2026 4K+ Views

In deferred update recovery, actual database modifications on disk are postponed until a transaction commits. Updates are recorded only in the log and cache buffers during execution. If a transaction fails before commit, the database on disk remains unaffected − hence NO-UNDO. Only REDO is needed for committed transactions whose changes haven't been written to disk. Deferred Update Protocol A transaction cannot modify the database on disk until it reaches its commit point. All REDO log entries must be force-written to disk before commit (Write-Ahead Logging). Only REDO log entries (new values/AFIM) are needed − no UNDO ...

Read More

New Storage Systems

Mithlesh Upadhyay
Mithlesh Upadhyay
Updated on 14-Mar-2026 373 Views

Modern storage systems are designed to handle large data volumes with reliability, scalability, and cost-effectiveness. The three significant developments are SAN, NAS, and iSCSI. SAN Fibre Channel Block-level access NAS Ethernet / LAN File-level access iSCSI SCSI over IP Block-level over Ethernet Storage Area Networks (SAN) SAN is a high-speed dedicated network of storage devices configured as nodes, allowing flexible attachment and detachment from servers. SANs use Fibre ...

Read More

Network Attached Storage in DBMS

Mithlesh Upadhyay
Mithlesh Upadhyay
Updated on 14-Mar-2026 407 Views

Network Attached Storage (NAS) is a dedicated storage device connected to a network that allows multiple clients to store and access files. In DBMS, NAS serves as a storage solution for database files, backups, and shared data without requiring a full server. NAS Storage Device LAN (Ethernet) DB Server Web Server ...

Read More

Nested Queries in SQL

Mithlesh Upadhyay
Mithlesh Upadhyay
Updated on 14-Mar-2026 37K+ Views

A nested query (subquery) is a query placed inside another query. The inner query executes first and its result is used by the outer query for more complex data retrieval. Syntax SELECT column1, column2 FROM table1 WHERE column1 IN ( SELECT column1 FROM table2 WHERE condition ); Types of Nested Queries Non-Correlated Inner runs independently Result passed to outer Operators: IN, NOT IN, ALL, ANY ...

Read More

MySQL PARTITION BY Clause

Mithlesh Upadhyay
Mithlesh Upadhyay
Updated on 14-Mar-2026 9K+ Views

The PARTITION BY clause in MySQL groups rows into separate partitions (windows) for use with window functions like RANK(), DENSE_RANK(), LEAD(), and LAG(). It must always be used inside an OVER() clause. If omitted, the entire table is treated as a single partition. Syntax window_function(expression) OVER (PARTITION BY column_name [ORDER BY column_name] [frame_clause]) Example Consider a Hacker table ? CREATE TABLE Hacker ( h_id INT, h_name VARCHAR(50), challenge_id INT, score INT ); INSERT INTO Hacker ...

Read More

Multiversion Timestamp Ordering

Mithlesh Upadhyay
Mithlesh Upadhyay
Updated on 14-Mar-2026 2K+ Views

Multiversion Timestamp Ordering (MVTO) is a concurrency control technique that maintains multiple versions of each data item. Each version has a unique timestamp, and transactions access the appropriate version based on their own timestamp, preventing conflicts and deadlocks. Components Each version Xi of a data item maintains − Value − The data content of that version. Read_TS(Xi) − Largest timestamp of any transaction that successfully read Xi. Write_TS(Xi) − Timestamp of the transaction that created Xi. How MVTO Works ...

Read More

Multiple Granularity Locking in DBMS

Mithlesh Upadhyay
Mithlesh Upadhyay
Updated on 14-Mar-2026 6K+ Views

Multiple granularity locking provides different levels of locks for different database objects − from the entire database down to individual records. This maximizes concurrency while maintaining consistency. Granularity Hierarchy Database Area 1 Area 2 File 1 File 2 File 3 File 4 R1 ...

Read More

Multilevel Indexes

Mithlesh Upadhyay
Mithlesh Upadhyay
Updated on 14-Mar-2026 18K+ Views

In RDBMS, indexes are data structures that speed up data retrieval by reducing disk accesses. As databases grow, single-level indexes become too large for main memory. Multilevel indexes solve this by dividing the index into a hierarchy of smaller, manageable blocks. Index Components Search Key Sorted primary/candidate key points to Data Reference Pointer to disk ...

Read More

Multi-tier architecture of Data Warehouse

Mithlesh Upadhyay
Mithlesh Upadhyay
Updated on 14-Mar-2026 7K+ Views

A data warehouse is a central repository that consolidates data from multiple sources into a format optimized for analysis and decision-making. To handle the complexity and volume of data efficiently, data warehouses use a multi-tier architecture where each layer performs a specific function. Multi-tier Architecture Layers Data Sources DBs, Files, External APIs ...

Read More

MOSS Concurrency Control Protocol (Distributed Locking in Database)

Mithlesh Upadhyay
Mithlesh Upadhyay
Updated on 14-Mar-2026 859 Views

The MOSS (Multi-Object Synchronized Scheduling) Concurrency Control Protocol manages concurrency in distributed database systems by handling hierarchical transactions with parent-child relationships and lock inheritance. Distributed Locking Types Optimistic locking − No locks acquired upfront; conflicts detected at commit time. Pessimistic locking − Locks acquired before accessing shared resources; conflicts prevented from the start. MOSS Protocol MOSS is a hierarchical locking protocol for nested transactions where subtransactions can inherit locks from ancestors ? ...

Read More
Showing 41–50 of 61,284 articles
« Prev 1 3 4 5 6 7 6129 Next »
Advertisements