Lesson 4
Lesson 4
STORING DATA
INTRODUCTION
Storing data to an average computer user is not a menial job. The user
doesn‘t need to see under the hood how the digital bits are written to every
storage device used. To a learner, it is advantageous to discover how the
computer stores data to any computer storage, especially into the cloud.
BSIT students, as learners, they must learn and master the ins and outs
of storage devices.
2
LESSON 4.1 – What is a Storage Device?
3
LESSON 4.2 – Types of Digital Data Storage Devices?
Other computer engineers and scientists categorized digital data storage media generally fall
into one of five types or categories; they are:
4. Online/cloud storage
5. Paper storage
4
Magnetic Storage Devices
Magnetic Storage Devices - Computer systems need to store data in digital format. One of
the most widely used types of digital data storage is magnetic storage. Magnetic storage
devices refer to any data storage using a magnetized medium.
5
Magnetic Storage Devices
Floppy Disks - Also known as a diskette, floppy, or FD, the floppy disk is
another type of storage medium that uses magnetic storage technology
to store information. Floppy disks were once a standard storage device
for computers and lasted from the mid-1970s to the start of the 21st
century.
6
Magnetic Storage Devices
Hard Disk Drives - are non-volatile magnetic storage devices capable of remembering vast
amounts of data. An electromagnet in the read/write head charges the disk‘s surface with
either a positive or negative charge; this is how binary 1 or 0 is represented. The disk surface
is divided into concentric circles (tracks) and sectors (wedges). Typical HDD capacities are
measured in Terabytes (TB). They can be installed inside a computer or purchased in a
portable (external) format.
Disc Capacities
In the pursuit of larger optical storage capacities, DVDs were created, followed
by Blu-Ray.
9
Optical Storage Devices
Typical Applications for optical media
◉ CD – Audio and small amounts of data.
◉ DVD – Standard definition movies and data.
◉ Blu-Ray – HD video and large amounts of data.
CD/DVD - Despite being the same physical size, a DVD can hold more data than a CD. To
achieve this, a more tightly packed spiral track is used to store the data on the disc.
DVD-RAM - It differs from a traditional DVD in that data is stored in concentric tracks
(like an HDD), which allows read and write operations to be carried out at the same time.
Blu-Ray - squashes even more data into the same size disc as a CD or DVD. The spiral
data tracks on a Blu-Ray disc are so small a special blue (violet) laser has to be used.
10
Optical Storage Devices
Recordable Optical Media
11
Flash Memory Devices
Alternatively referred to as flash storage, flash memory is non-volatile
computer memory.
◉ NAND flash is a type of flash memory based on the NAND logic gate.
◉ NOR flash is a type of flash memory based on the NOR logic gate.
◉ 3D NAND Flash and 3D NOR Flash are flash memory technologies that layer
memory cells on top of each other in a stacked planar configuration. They offer
persistent, modular storage at speeds comparable to RAM.
12
Flash Memory Devices
Examples of Flash Memories
1. USB Flash Drive - Also known as a thumb drive, pen drive, flash drive, memory stick,
jump drive, and USB stick, the USB flash drive is a flash memory data storage device that
incorporates an integrated USB interface.
Typical Applications for Flash Memory ➢ Range of capacities available
➢ USB memory sticks – saving and ➢ Fast speeds, with no moving parts of
transferring documents, etc. boot uptime
➢ Memory cards in digital cameras Drawbacks of Flash Memory
Benefits of Flash Memory ➢ Limited (but huge) number of write
➢ Portable, small and lightweight cycles possible
Typical Applications for Solid State Drives ➢ No moving parts to wear, fail or get damaged –
ideal for making portable computers and machines
➢ Smartphones Tablet computers
more reliable and durable.
➢ High-end laptops
➢ Uses less power than an HDD, increasing battery
➢ Two drive desktop solutions lifetime 127
➢ Portable drives are sometimes used in HD video ➢ Very quiet and generates less heat
cameras
Drawbacks of Solid State Drives
Benefits of Solid State Drives
➢ Expensive to buy (per GB)
➢ Extremely fast read/write speeds
➢ Limited in capacity due to the expense
➢ Small in physical size and very light, ideal for
➢ Limited amount of writes
portable devices
14
Online Cloud Storage
Some users choose cloud storage instead of storing data
locally on a hard disk or other media. Cloud storage is an Internet
service that provides storage to computer users. Types of services
offered by cloud storage providers vary. Some provide storage for
specific types of files, such as photos or e-mail messages, whereas
others store any file. Many cloud storage providers offer additional
services such as encryption, passwords, Web applications, and Web
services. Cloud storage is available for all sizes of users, with various
degrees of storage services available for home and business users.
Cloud storage fee arrangements vary, depending on the user‘s
storage requirements. 15
Online Cloud Storage
Users Subscribe to Cloud Storage for a Variety of Reasons:
◉ To access files on the Internet from any computer or device that has Internet access.
◉ To store large audio, video, and graphics files on the Internet instantaneously, instead of
spending time downloading to a local hard disk or other media.
◉ To allow others to access their files on the Internet to listen to an audio file, watch a
video clip, or view a photo — instead of e-mailing the file to them. 128
◉ To view time-critical data and images immediately while away from the main office or
location.
16
Online Cloud Storage
Pros and Cons of Cloud Storage
The cloud is here to stay. It‘s already one of the best ways to backup and store
data, but cloud storage, like most things, has a list of pros and cons that are worth
considering. It‘s rare to find a use case where cloud storage shouldn‘t play a role in the
backup process, whether it‘s the sole method or part of a more critical strategy, but those use
cases do exist. For instance, if security is your absolute number one priority, it would
probably make more sense to use multiple physical backup locations, with safe and
encrypted hard drives that can‘t be used independently from one another (a hybrid cloud).
17
Online Cloud Storage
Pros of Cloud Storage
4. Access to Your Data - To follow up on the
1. Instant Setup - You can sign up with one of the
previous point, once your files are uploaded to
best cloud storage companies and begin
the cloud, you can access them from your
uploading your data immediately.
desktop, from your cellphone or tablet, and from
2. Relatively Secure for the Average User - any other computer that has a web browser.
Relative to setting up your webserver to store
5. ow Start-Up Cost - Cloud storage is either billed
things yourself, or keeping the files on any
on a pay-per-use basis or divided into tiers, so
network-connected drive in your home, it
you can get started for next to nothing until your
stands to reason that billion-dollar internet
storage needs grow, and then the price will
infrastructure companies will have better data-
increase accordingly.
protection than you or me.
6. Ease to Scale - When you run out of storage
3. Ease of Use - Compared to running your own
space, you don‘t need to rush out and order new
off-site data backup scheme, the cloud is super
drives or anything of the sort. Simply upgrade
easy to use.
your plan, and you‘ll have more space available
to you instantly.
18
Online Cloud Storage
Cons of Cloud Storage
1. Requires Internet Access - When you rely on the cloud to store your files, and you aren‘t
keeping a local copy, then you simply won‘t be able to access them without internet
access.
2. You Don’t Have Physical Control Over It - You‘re relying on someone else to run the data
center, and you‘re trusting that they‘re doing that correctly. We‘re usually talking about
huge-scale operations here, so it‘s not typically a concern.
3. Security Concerns for High-Profile Users - Celebrities and billionaires may not feel
comfortable keeping their data in the cloud, especially after some of the data breaches
and leaks that have been very public.
4. Vendor Lock-in - It‘s not always easy to move from one provider to another if your cloud
needs change down the road, and this is especially true when you have a ton of space.
19
Paper Storage
Pape data storage refers to the use of paper
as a data storage device. This includes writing,
illustrating, and using data that can be interpreted by a
machine or is the result of the functioning of a machine.
A defining feature of paper data storage is the ability of
humans to produce it with only simple tools and
interpret it visually. Though now mostly obsolete, the
paper was once an essential form of computer data
storage as both paper tape and punch cards were an
everyday staple of working with computers before the
1980s. 20
LESSON 4.3 – Data Storage Management
Management and Prevention of the Loss of Data
and Information: 4. Viruses And Other Forms of Malware - This
1. Deleting Files By Mistake - This is a means that the data risks being corrupted
widespread problem and has happened to by malware, either directly or via broader
most people who deal with data, including damage caused to say, the operating
myself. system.
2. Power Failure - Many electronic devices 5. The Storage Device is Stolen - Whether
depend on electricity to function correctly through burglary, pickpocketing, mugging,
and maintain data. or other forms of theft, you can lose the
3. Spillages, Drops, or Other Physical entire device and all the information that's
Accidents - Anything that causes physical on it.
damage to the storage device can corrupt 6. Fires, Floods, Explosions and Other
data or prevent access to it. Catastrophic Events - These can all
destroy vast amounts of data.
21
LESSON 4.3 – Data Storage Management
Fourteen Things You Need to Know About Data Storage 4. Establish a data retention policy. - Setting the right
Management. data retention policies is a necessity for both
internal data governance and legal compliance.
1. Know your data. - All data is not created equal
and understanding the business value of 5. Look for a solution that fits your data, not the
information is critical for defining the storage other way around. - Many think the only choice to
strategy. make is whether they need DAS (Direct Attached
Storage), a SAN(Storage Area Network), or a NAS
2. Don't neglect unstructured data - Think about how
you might want to combine multi-structured data (Network-Attached Storage, these are important
from your transactional systems with semi- choices, but they are insufficient.
structured or unstructured data from your email 6. Don't let upfront costs dictate your decision. - The
servers, network file systems, etc. real cost of storage comes from operating the
3. Understand your compliance needs. - If you are a solution over several years.
publicly-traded company or operating within a 7. Use a tiered storage approach. - Save money by
highly regulated industry such as financial services only using your fastest storage, like SSD, for data
or healthcare, the bar has been set high for that you actively use, and utilize less expensive
compliance and security. platforms, like the cloud, to store your 136 archival
or backup data.
22
LESSON 4.3 – Data Storage Management
the first priority, secure both virtually and physically.
8. Know your clouds. - Some clouds are optimized to
handle archiving, others have the performance and 12. Leverage technologies that use reduplication.
stability to act as the back end for a primary data snapshotting and cloning. - This can save you a fair
storage system, and still, others aren't worth the risk amount of space while giving you version control of
for any purpose. your data. Some of the more recent file systems like
ZFS do all of this and are open source.
9. Carefully vet storage providers. - There are many
viable storage solutions in the marketplace that will 13. Make sure you can find the data you need once it's
meet your requirements. When problems arise been stored. - Being able to easily search your
within the storage network, they typically have a big electronically stored data and provide accurate
impact on your organization. results instantly is critical to getting the most out of
your data daily and in urgent situations, such as
10. Don't store redundant data. - Many companies do
when your data is needed for litigation.
not have a storage plan. Instead, they tend to
capture and store redundant data. 14. Have a disaster recovery plan -- and constantly
test. - It's all about recovery. All the backups in the
11. Make sure your data is secure. - When managing
world cannot save you if you can't recover [your
data within any IT environment, security has to be
data].
23
LESSON 4.4 –Measuring and Improving Drive Performance
The performance of a hard disk is significant to the overall speed of the system a slow
hard disk having the potential to hinder a fast processor like no other system component and
several factors determine the sufficient speed of a hard disk.
Hard Drive Latency - Latency is the average time for the sector being accessed to rotate into
position under a head, after a completed seek. It is easily calculated from the spindle speed, being
the time for half a rotation.
Hard Drive Transfer Rates - The disk transfer rate (sometimes called media rate) is the speed at
which data is transferred to and from the disk media (actual disk platter) and is a function of the
recording frequency. It is generally described in megabytes per second (MBps).
24
LESSON 4.4 –Measuring and Improving Drive Performance
Disk Optimization - Alternatively referred to as disk compression, a disk optimization is designed to organize data
or compress data allowing the disk drive to contain the maximum amount of information as possible.
○ Scanning for and removal of Junk files (that include Windows temporary files that are created and left
behind by software applications and temporary Internet files that accumulate when you are browsing
web content);
○ Scanning and defragmentation of hard disks (increases access speeds by rearranging the files stored on
the hard disk. This reduces the time it takes to read files from and write files to the disk.);
○ Removal of old backups (deleting old restore points or Windows update files to free up disk space);
25
LESSON 4.4 –Measuring and Improving Drive Performance
27