
- DBMS Tutorial
- DBMS - Home
- DBMS - Overview
- DBMS - Architecture
- DBMS - Data Models
- DBMS - Data Schemas
- DBMS - Data Independence
- Entity Relationship Model
- DBMS - ER Model Basic Concepts
- DBMS - ER Diagram Representation
- DBMS - Generalization, Aggregation
- Relational Model
- DBMS - Codd's Rules
- DBMS - Relational Data Model
- DBMS - Relational Algebra
- DBMS - ER to Relational Model
- DBMS- SQL Overview
- Relational Database Design
- DBMS - Database Normalization
- DBMS - Database Joins
- Storage and File Structure
- DBMS - Storage System
- DBMS - File Structure
- Indexing and Hashing
- DBMS - Indexing
- DBMS - Hashing
- Transaction And Concurrency
- DBMS - Transaction
- DBMS - Concurrency Control
- DBMS - Deadlock
- Backup and Recovery
- DBMS - Data Backup
- DBMS - Data Recovery
- DBMS Useful Resources
- DBMS - Quick Guide
- DBMS - Useful Resources
- DBMS - Discussion
Explain the concept of magnetic disk with the help of a diagram(DBMS)
Magnetic disk is the secondary storage device used to support direct access to a desired location.
Parts in Magnetic disk
The different parts that are present in magnetic disk or hard disk are explained below. All these parts are helpful to read, write and store the data in the hard disk.
Disk blocks − The unit data transfer between disk and main memory is a block. A disk block is a contiguous sequence of bytes.
Track − Blocks are arranged in concentric rings called tracks.
Sectors − A sector is the smallest unit of information that can be read from or written to disk: for example: sector size of 512 bytes.
Platters − The surface of the platter is covered with a magnetic material. Information is recorded on this surface. The set of all tracks with the same diameter is called a cylinder. Typical platter diameters are 3.5 inch or 5.2 inch.
Read-write head − Each platter has a read-write head on both sides. It is used for reading and writing the data on a platter.
Disk controller − A disk controller interfaces a disk driver to the computer.
Calculate the performance of a hard disk
The time to read or write a block varies depending on the location of data. The performance of a hard disk can be calculated by using the below mentioned formula.
Access time = seek time+ rotational delay + transfer time
Here,
Seek time − The time to move the disk-head to the track on which a desired block is located.
Rotational delay − It is the waiting time for the desired block to rotate under disk head.
Transfer time − It is the time to read or write the data in the block once the head is positioned.
The diagram of a magnetic disk or a hard disk is given below −
Let us now understand how a request or data is placed on a hard disk. We will learn about the same with the help of an example.
Example
When multiple I/O request arrive, the operating system has to choose an order, which I/O request has to be served.
The diagram given below explains how a request is placed on a disk −
- Related Articles
- Explain the concept of DBMS schema with examples?
- Explain the concept of foreign keys with examples(DBMS)?
- Explain Bacterial Cell with the help of a diagram.
- Explain the concept of Normalization in DBMS?
- Explain the concept of recoverability in DBMS
- Explain the concept of indexing in DBMS
- Explain the term Reflection with the help of a diagram.
- Explain the Nitrogen Cycle, with the help of a diagram.
- Explain the concept of primary key with an example (DBMS)?
- With the help of diagram, explain digestive system.
- Explain the concept of key attributes with an example in DBMS?
- Explain the concept of secondary index in DBMS
- Explain the concept of LOCK PROMOTION with the help of an example
- Explain the cardinality concept in DBMS?
- Explain the concept of the traditional file system in DBMS?
