Secondary storage is the non-volatile memory in a computer system.
This means it retains data even when the power is turned off, unlike primary storage (RAM) which is volatile.
We need secondary storage primarily for these reasons:
Persistence: It stores data, programs, and the operating system even when the computer is turned off. This allows us to retrieve and continue working with our data later.
Capacity: It offers significantly larger storage capacity than primary storage (RAM), enabling us to store vast amounts of data like photos, videos, music, documents, and applications.
Portability: Some secondary storage devices are portable, like USB drives, allowing for convenient data transfer between devices.
Examples of Secondary Storage:
Examples of secondary storage devices include:
Magnetic Hard Disk Drives (HDDs)
Solid State Drives (SSDs)
USB flash drives
Optical discs (like CDs and DVDs)
Examples of the use of Secondary Storage:
Store your operating system so that when you first power on your computer it can load your operating system from disk. i.e. your copy of Windows into RAM so that you can use the computer.
When you save a document, it's written to secondary storage so you can open it again later, even after restarting your computer.
You can store your entire music collection on a hard drive or SSD, which would be impossible with just RAM due to its limited size and volatile nature.
You can use a USB drive to carry your presentation files to school or work and access them on different computers.
🗝️ Key points to remember:
It provides long-term, persistent storage for data like files, operating systems, and applications.
It has a larger capacity than primary storage, allowing for the storage of vast amounts of data.
It is slower to access than primary storage.
❌✅ Misconceptions
❌ Secondary storage is not the same as cloud storage.
✅ Cloud storage is a type of secondary storage that is accessed over the internet.
❌ Not all secondary storage devices are portable.
✅ Hard disk drives, for example, are usually internal to a computer system.
There are several common types of secondary storage, each with its own characteristics and uses:
Magnetic Storage: This type stores data by magnetising tiny areas on a spinning disk or tape, this method of storage is large in size and is made up of alot of moving parts. Examples include Hard Disk Drives (HDDs) and magnetic tape.
Solid State Storage: This type uses flash memory to store data electronically with no moving parts. Examples include Solid State Drives (SSDs) and USB flash drives.
Optical Storage: This type uses lasers to read and write data onto discs. Examples include CDs, DVDs, and Blu-ray discs.
Example:
You might store your operating system and large files on an HDD inside your computer.
You might use an SSD for faster boot times and application loading.
You might use a USB flash drive to transfer files between computers.
You might use a DVD to watch a movie.
🗝️Key Points to remember:
Each type of secondary storage has its own advantages and disadvantages in terms of speed, capacity, cost, portability, durabilithy and reliability.
The choice of secondary storage depends on the specific needs of the user or application.
❌✅ Misconceptions
❌ Magnetic tape is obsolete / not used any longer.
✅ Magnetic tape is still used for long-term archival storage and backup due to its low cost and high capacity.
In computing, data storage is not one-size-fits-all. Different applications require different types of storage devices, each with their strengths and weaknesses.
Magnetic Storage
Magnetic Storage: Hard disk drive (HDD)
Uses magnetism to store data on a rotating platter.
High capacity and relatively low cost.
Slower than solid-state storage due to moving parts.
Examples: Hard disk drives (HDDs), magnetic tape.
Solid-state Storage
Solidstate Storage: Solidstate drive (SSD)
Stores data using flash memory with no moving parts.
Fast, durable, and energy-efficient.
More expensive per gigabyte than magnetic storage.
Examples: Solid-state drives (SSDs), USB flash drives, memory cards.
Optical Storage
Optical Storage: CD, DVD and Bluray discs
Uses lasers to read and write data on a reflective disc.
Portable and relatively inexpensive.
Lower capacity compared to magnetic and solid-state storage.
Examples: CDs, DVDs, Blu-ray discs.
Example
A photographer needs to store and edit large image files. They would benefit from an SSD for its fast read/write speeds, allowing for quick access and editing of images. However, they might also use an HDD for long-term archival storage due to its lower cost per gigabyte.
🗝️ Key points to remember
Capacity: How much data the device can store.
Speed: How quickly data can be read from and written to the device.
Portability: How easily the device can be transported.
Durability: How well the device can withstand physical shocks and environmental factors.
Reliability: How likely the device is to fail and lose data.
Cost: The price of the device.
❌✅ Misconceptions
❌ All storage devices are the same.
❌ More expensive storage is always better.
❌ Cloud storage eliminates the need for physical storage.
✅ The best storage solution depends on the specific needs of the application. Consider factors like capacity, speed, portability, durability, reliability, and cost when choosing a storage device.
Magnetic Storage
Advantages
High capacity: Can store large amounts of data.
Low cost per gigabyte: Relatively inexpensive compared to other storage types.
Longevity: Can last for several years with proper care.
Disadvantages
Slower access speeds: Data access is slower due to moving parts.
Susceptible to physical damage: Can be damaged by shocks or magnetism.
Bulky: Not as portable as other storage types.
Solid-state Storage
Advantages
Fast access speeds: Very fast read/write speeds due to no moving parts.
Durable: Can withstand shocks and vibrations.
Compact and lightweight: Highly portable.
Energy-efficient: Consumes less power than magnetic storage.
Disadvantages
Higher cost per gigabyte: More expensive than magnetic storage.
Limited write cycles: Each memory cell can only be written to a certain number of times.
Optical Storage
Advantages
Portable: Discs are small and easy to transport.
Inexpensive: Discs are relatively cheap to produce.
Resistant to environmental factors: Not easily damaged by moisture or magnetism.
Disadvantages
Lower capacity: Compared to magnetic and solid-state storage.
Slower access speeds: Slower than solid-state storage.
Prone to scratches: Can be rendered unusable if scratched.
🗝️ Key points to remember
Each storage type has its own strengths and weaknesses.
The best choice depends on the specific application and its requirements.
Consider factors like capacity, speed, portability, durability, and cost when choosing a storage device.
❌✅ Misconceptions
❌ Optical discs are obsolete.
✅ While less common today, optical discs still have their uses for archival storage and distributing software.