Understanding Data
Storage
Presentation Objectives
01 02
Primary & Secondary Storage Storage Technologies
Define and differentiate between primary and secondary Describe magnetic, optical, and solid-state (flash memory)
storage. operations.
03 04
Virtual Memory Cloud Storage
Understand its creation, use, and necessity. Explain its concept, advantages, and disadvantages.
Primary Memory: The CPU's Direct Link
Primary Memory, also known as Main Memory or Internal Memory, is directly connected to and accessed by a computer's CPU.
It's essential for processing data.
Volatile & Temporary Faster Access
Data is lost upon power cuts or shutdowns. Enables quick data retrieval for processing.
Limited Capacity Key Components
Typically smaller in size compared to secondary storage. Includes RAM, ROM, and Cache.
RAM vs. ROM: Key Differences
RAM (Random Access Memory) ROM (Read-Only Memory)
• Volatility: Volatile; data erased on shutdown. • Volatility: Non-volatile; data persists on shutdown.
• Accessibility: Directly accessed by processor. • Accessibility: Transferred to RAM for execution.
• Storage: Temporary information for limited time. • Storage: Permanent information, cannot be deleted.
• Cost: Costlier than ROM. • Cost: Cheaper than RAM.
• Size: Chip size larger than ROM. • Size: Chip size smaller than RAM.
• Speed: Faster writing data. • Speed: Slower writing data.
• Capacity: Multiple gigabytes (GB). • Capacity: Several megabytes (MB).
• Examples: Static and dynamic RAM. • Examples: PROM, EPROM, EEPROM.
Cache Memory: The Speed Booster
Cache memory is a small, high-speed memory that stores
frequently accessed data and instructions. It acts as a buffer
between the CPU and main memory (RAM), significantly
speeding up data retrieval.
Faster Access Small but Mighty
Reduces CPU wait times for data. Limited capacity, but crucial for
performance.
Hierarchical Levels
Typically L1, L2, and L3 caches, with L1 being the fastest.
Secondary Memory: Permanent Data Storage
Secondary Memory, also known as Auxiliary or External Memory, is indirectly connected to the CPU but
directly accessible to the user. It's designed for permanent data storage.
Key Characteristics
• Non-Volatile: Data persists even without power.
• Permanent Storage: Ideal for long-term data
retention.
• Slower Access: Slower than primary memory.
• Large Capacity: Scalable storage for vast
amounts of data.
• Examples: HDD and SSD.
HDD vs. SSD: A Comparison
SSD HDD
Power Consumption Less power More power
Cost Expensive Cheaper
Boot Time 10-13 seconds 30-40 seconds
Moving Parts No moving parts (silent) Clicks and spinning (audible)
Heat Generation Little heat More heat
File Opening Faster Slower
Magnetic Effect Safe Vulnerable
Magnetic Storage Operations (HDD)
• Platters: Data is stored on spinning magnetic platters.
• Read/Write Heads: Tiny read/write heads float • Rotational Latency: Time taken for the desired
just above the media to access data. sector to rotate under the read/write head.
• Actuator Arm: Moves the read/write heads • Seek Time: Time taken for the read/write head to
across the media to pinpoint data locations. move to the correct track.
• Data Storage: Data is written by magnetizing tiny
areas on the platters and read by detecting the
magnetic orientation.
SSD (Solid State Drive) Operations
• NAND Flash Memory: Data is stored in non- • Controller: A sophisticated controller manages
volatile NAND flash memory chips. data storage, retrieval, and wear leveling across
the flash chips.
• No Moving Parts: Unlike HDDs, SSDs have no • Read/Write Cycles: Flash cells have a limited
mechanical components, relying purely on number of write cycles, managed by wear-
electronic circuits. leveling algorithms to extend lifespan.
• Flash Cells: Data is stored in electrical charges • Instant Access: Data can be accessed almost
within individual flash cells. instantly from any location on the drive, without
mechanical movement delays.
Optical Storage
Optical storage devices utilize the power of light to store and retrieve digital information. From the music
on a CD to the high-definition movies on a Blu-ray, this technology underpins a significant part of our
digital world.
Laser-Powered Precision Binary Pits & Lands
A focused laser beam acts as the primary tool for both Data is physically represented by microscopic "pits"
encoding and decoding data on optical discs. (binary 1) and "lands" (binary 0) on the disc's surface.
Reflected Light Detection Evolving Technology
A sensor detects variations in reflected light from pits Advances in laser technology, like the blue-violet laser,
and lands, translating them back into digital data. enable higher data density and capacity in newer
formats.
Comparing Optical Storage Devices: CD vs DVD vs Blu-ray
The evolution of optical storage has been driven by the need for greater data capacity and faster transfer
rates. This chart highlights the key differences across the most common optical disc formats.
Feature CD DVD Blu-ray
Laser Wavelength 780–790 nm (infrared) 650 nm (red) 405 nm (blue-violet)
Storage Capacity ~700 MB 4.7 GB (single-layer) 25 GB (single-layer)
Data Transfer Rate Up to 1.4 MB/s Up to 11.08 MB/s Up to 36 MB/s
Typical Uses Audio, small data files Movies, software, games HD video, large data
Rewritable Versions CD-RW DVD-RW BD-RE
Backward Compatibility No Reads CDs Reads DVDs & CDs
Sources: Wikipedia (2025), GeeksforGeeks (2025), TechTarget (2021)
Virtual Memory: Extending RAM
Virtual memory is a memory management technique that uses secondary memory (like
HDD or SSD) as if it were part of the main memory (RAM). It helps compensate for physical
memory shortages.
How it Works Benefits Drawbacks
Transfers data from RAM to Increased memory capacity, Slower performance than RAM,
disk storage when RAM is low, improved multitasking, better disk fragmentation, increased
freeing up space. performance for large wear on hard drive, potential
programs. security concerns.
Cloud Storage: Data in the Sky
Cloud storage is a model where data is stored on the Internet through a provider who
manages and operates data storage as a service. It's delivered on demand, eliminating the
need for local infrastructure.
Advantages Disadvantages
• Cost-Effective: Cheaper per GB than physical • Internet Dependency: Requires a stable
storage. internet connection.
• Accessibility: Access files from anywhere with • Additional Costs: Upload/download fees can
internet. add up.
• Recovery: Acts as a backup solution. • Support Issues: Can be limited, especially for
free versions.
• Syncing: Changes sync across all devices.
• Security: Providers add layers of security. • Privacy Concerns: Data is no longer on your
physical storage.