Secondary Storage

Introduction

The Difference Between Primary and Secondary Storage

Storage Hierarchy

Types of Access

 

Introduction.

Secondary storage devices hold files that are not currently being used. For a file to be used it must first be copied to main memory first. After any modifications files must be saved to secondary storage. It is advisable to save your data files at the regular intervals as you work on them as data can be lost unexpectedly because of various reasons like interruption in power supply, memory management problems, freezing keyboard, etc.

As secondary storage media can be damaged and files on them become corrupted, it is suggested to make back-up copies of valuable files on a regular basis. Lots of people skip the last but very important step in the backup procedure - check that the backup copy of files is not damaged.

 

The Difference Between Primary and Secondary Storage.

  1. RAM chips are located on the motherboard so the distance the electrical signals have to travel from the CPU to RAM or in the opposite direction is much shorter compared to the distance between the CPU and secondary storage devices. The shorter the distance, the faster the processing.
  2. Also working with the secondary storage involves mechanical operations like spinning

Top of Page

Storage Hierarchy.

The various levels of memory from registers to cache, to primary, to secondary storage have decreasing cost and speed and increasing capacity.

Type of Memory Access Speed Capacity Cost
Registers (inside the CPU) Highest Lowest Highest
Cache      
Primary storage      
Secondary storage Lowest Highest Lowest

Types of Access

Secondary storage devices provide direct access to data or sequential access.

Direct access, also called random access, means that the system maintains a list of data locations and the required piece of data can be found quickly. The most common direct access storage is the disk.

The most popular types of disks today are floppy disks, hard disks and optical disks.

Sequential access means the computer system must search the storage device from the beginning until it finds the required piece of data. The example would be a magnetic tape where data is stored sequentially and can be processed only sequentially.