Types of Storage
Types of Storage
Types of Storage
1. PRIMARY STORAGE
-Main memory inside a computer
-Directly accessed by CPU, faster access than secondary storage
-both volatile and non-volatile
e.g.
1- Random Access Memory (RAM)
-is a hardware device
-allows information to be stored and retrieved on a computer
-RAM is a volatile memory and requires power to keep the data accessible
-RAM normally has a larger capacity than ROM
2. SECONDARY STORAGE
Why many web servers still use Hard Disk Drive (HDD) technology
-HDD is cheaper for larger amounts of storage space
-HDD has greater longevity for read/write functions
-HDD are trusted technology
-No requirement for the increased speed of SSD
3. OFFLINE STORAGE
-non-volatile memory that can be removed from a computer system
-must be physically connected to computer to obtain stored data
-used to store files as a backup
e.g.
1-Compact Disk (CD)
-Small plastic disc on which music or other digital information is stored
-in the form of a pattern of metal-coated pits from which it can be read
-using laser light reflected off the disc
5-Blu-Ray
-Optical storage media
-has high storage capacity by using blue laser technology
6-Flash Memory
-Nonvolatile memory chip used for storage and for transferring data
-between a personal computer (PC) and digital devices
-It has the ability to be electronically reprogrammed and erased.
-It is often found in USB flash drives, MP3 players, and digital cameras
How is data written and read in an Optical Media
-Red laser is used (blue in case of Blu-Ray), shines onto surface of the disk
-It is rotated at a constant speed to be read
-Surface is covered in a track that spirals from the center
-Data is represented on the surface using pits and lands
-Pits and lands represent binary values
-Pits reflect light back differently to the area in between/land
-Optical device can determine the binary value from the light reflection
JPG/JPEG
-JPG is a file extension for a lossy graphics file
-JPEG file extension is used interchangeably with JPG
-JPEG stands for Joint Photographic Experts Group
-most common image format used by digital cameras
-transmitting and storing photographic images on the World Wide Web
-PNG is a lossless image format
MP3
-a file extension and compression method that utilizes the mpeg standard (lossy)
-to reduce the size, often by a factor of 12, while still maintaining audio quality
-MP3 files are commonly used to store the whole cd and require less drive space
-MP3 files are, on average, 90% smaller than the music files stored on a cd
-flac is a lossless audio format
MP4
-it's a compressed video format (lossy) that also can store audio and images
-MP4 file extension is a mpeg-4 video file format
-MP4s are one of the more common video file formats used for downloading and
streaming
COMPRESSION ALGORITHMS
Lossy compression
Lossless compression