Professional Documents
Culture Documents
Chapter 3
Objectives
• Explain the term backup.
• Categorize different media for backup.
• Discuss the need for backup.
• Compare between Field, Record,File.
• Compare between Serial access and Direct
access.
• Compare between different storage media.
• List the uses, advantages and disadvantages of
different storage devices
Backup
• Definition: Copying files to a different medium
in case of a problem with the main storage
device.
• Medium used to backup data:
A
Master File(Old
Tape): contains
the data need to
be updated C
New Master File
(The New Tape):
Produced from
updating A with B
B
Transaction File
(The Additional
Tape): contains
the new data
Example: A Bookshop
ISBN Title Author Genre Cost Price Selling Price
MF :Books stored
sorted by ISBN
NMF
TF: Changes
happen trough
the day (If a book
sells, If new books
come in, If a book
is out of print)
Example: A Bookshop
• At the end of the day, the MF needs to be
updated as follows:
1. The TF is stored as the same order of MF.
2. NMF is created with the updated data.
3. The first record of MF is read and the first record
of TF is read.
a) Compare between them
b) If the key field of MF < TF no transactions done.
c) If the key field of MF =TF the record of TF is written to NMF.
d) If the key field of MF >TF the record of TF is written to NMF.
Example: A Bookshop
MF
1 2 3 4 6 8 9
TF
1 2 4 5 7 8 10
NMF
1 2 3 4 5 6 7 8 9 10
File Sizes
Byte: is used to measure the size of memory or storage
• Disadvantages:
1- IF something wrong happens
while burning the CD or DVD, it ha
to be discarded.
2- Not all CD/DVD players can read
CD-R or DVD-R.
CD-RW / DVD-RW
• The recording layer uses a
special phase-changing metal
alloy.
• Spots are produced that can be
read by a laser and then
interpreted s 1s and 0s.
• The system allows data to be
written, erased and rewritten
many times.
• Uses:
1- To record TV programs.
2-Not as wasteful as R format.
3-Used in CCTV systems.
CD-RW / DVD-RW
• Advantages:
1- Can be written over many times.
2- can use different file formats
• Disadvantages:
1- Can be expensive.
2-It is possible to accidentally
overwrite data.
DVD-RAM
• It uses different tracks.
• Allows simultaneous and numerous
read and write operations.
• Can be written to and read from
many times.
• Uses a phase changing material, a
laser heats the surface to write data
and erase data.
• Uses:
1- In recording devices such as satellite
receivers.
2-Used in camcorders to store movies.
DVD-RAM
• Advantages:
1- They have a long life.
2- Very large capacity.
• Disadvantages:
1- Many systems won’t recognize
them.
2- Expensive.
Blu-ray
• A blue laser is used.
• Can store up to 5 times more
data than a DVD.
• Doesn’t suffer from
birefringence (Reading errors).
• Come with a secure encryption
system.
• Uses:
1- Home video console.
2-Storing and playing back movies.
3- Backup.
4- Store movie footage.
Blu-ray
• Advantages:
1- Very large storage capacity.
2- Very fast data transfer rate.
• Disadvantages:
1- Expensive.
2-Encryption problems.
Future of optical media
• In Recent times both CD and DVD are showing
signs of becoming obsolete like Floppy disks
because of :
1-Online streaming of TV.
2-Saving music on different media like HDD,
Cloud, Streaming.
Solid State media/SSD
• Is taking over HDD, they have no
moving parts and all data is
retrieved at the same rate.
• It uses electronically erasable
programmable read-only memories
(EEPROM)
• Advantages over HDD:
1-More reliable.
2-Lighter.
3-lowr power consumption.
4- Data access is faster.
• Disadvantages:
1- longevity of the technology.
Solid State media/Pen drive
• Small and very portable.
• Uses USB port.
• Dongles: Security method, when
a software is being installed it
asks about encryption.
• Uses:
1-Transporting files.
2-Security device (dongle).
Solid State media/Pen drive
• Advantages:
1-portable
2- Robust.
• Disadvantages:
1- Easy to lose.
2- Can’t write-protect the data.
Solid State media/Flash Memory Card
• It uses erasable programmable
read-only memory (EEPROM)
• Uses:
1- Storing photos on digital camera
and mobile phones.
2-Used in MP3 players for music.
3-backup in hand-held computers.
• Advantages:
1- compact.
2-Robust
• Disadvantages:
1- Expensive.
2- Lower storage capacity than HDD.