The need for secondary storage
Computers use main such as random access memory and to hold that is being processed. However, this type of memory is volatile - it loses its contents when the computer is switched off. , such as personal computers and tablets, need to be able to store and data for later use.
is non-volatile, long-term storage. Without secondary storage all programs and data would be lost the moment the computer is switched off.
There are three main types of secondary storage in a computer system:
- solid state storage devices, such as USB memory sticks
- optical storage devices, such as CD, DVD and Blu-ray discs
- magnetic storage devices, such as hard disk drives
However, not all computers require secondary storage. , such as those found in a washing machine or central heating system, do not need to store data when the power is turned off. The needed to run them are stored in read-only memory (ROM) and any user data is held in RAM.
Solid state storage is a special type of storage made from silicon microchips. It can be written to and overwritten like RAM. However, unlike RAM, it is non-volatile, which means that when the computer's power is switched off, solid state storage will retain its contents.
Solid state is also used as external secondary storage, for example in USB memory sticks and solid state drives.
One of the major benefits of solid state storage is that is has no moving parts. Because of this, it is more portable, and produces less heat compared to traditional magnetic storage devices. Less heat means that components last longer.
Solid state storage is also faster than traditional because the data is stored electrically in silicon chips called cells. Within the cells, the data is stored by holding an electrical current in a transistor with an on / off mode. Unlike RAM which uses a similar technique, solid state storage retains this even when the power is switched off by using a technology known as flash memory.
Solid state is an ideal storage medium for many modern devices such as tablets, smartphones and digital cameras.
Magnetic devices
Magnetic devices such as hard disk drives use magnetic fields to magnetise tiny individual sections of a metal spinning disk. Each tiny section represents one bit. A magnetised section represents a binary '1' and a demagnetised section represents a binary '0'. These sections are so tiny that disks can contain terabytes (TB) of data.
As the disk is spinning, a read/write head moves across its surface. To write data, the head magnetises or demagnetises a section of the disk that is spinning under it. To read data, the head makes a note of whether the section is magnetised or not.
Magnetic devices are fairly cheap, high in capacity and durable. However, they are susceptible to damage if dropped. They are also vulnerable to magnetic fields - a strong magnet might possibly erase the data the device holds.
Optical devices
Optical devices use a laser to scan the surface of a spinning disc made from metal and plastic. The disc surface is divided into tracks, with each track containing many flat areas and hollows. The flat areas are known as lands and the hollows as pits.
When the laser shines on the disc surface, lands reflect the light back, whereas pits scatter the laser beam. A sensor looks for the reflected light. Reflected light - land - represents a binary '1', and no reflection - pits - represents a binary '0'.
There are different types of optical media:
- ROM media have data pre-written on them. The data cannot be overwritten. Music, films, software and games are often distributed this way.
- Read (R) media are blank. An optical device writes data to them by shining a laser onto the disc. The laser burns pits to represent '0's. The media can only be written to once, but read many times. Copies of data are often made using these media.
- Read/write RW works in a similar way to R, except that the disc can be written to more than once.
End of image gallery