Home Random Page


CATEGORIES:

BiologyChemistryConstructionCultureEcologyEconomyElectronicsFinanceGeographyHistoryInformaticsLawMathematicsMechanicsMedicineOtherPedagogyPhilosophyPhysicsPolicyPsychologySociologySportTourism






Storage: Accessing Data

The process of accessing data has 4 steps.
1. Seek
2. Rotate
3. Settle
4. Data transfer

Step Measured as:  
1. seek move the read/write head to proper track seek time (ms)
2. rotate rotate disk under the head to the correct sector rotational delay (ms)
3. settle head lowers to disk; wait for vibrations from moving to stop (actually touches only on floppies) settling time (ms)
4. data transfer copy data to main memory data transfer rate (kbit/s)

where ms stands for millisecond = .001 second and kbit/s is kilobits per second. Historically, one kbit has always been 1000 bits instead of 1024 bits. Go figure!

Total time to transfer a kilobyte:

for floppies, 175 - 300 ms
for hard drive, 15 - 80 ms
new hard drives, (Jun. 2009) .0032 ms (300 MB per sec). This is seriously fast!!

Clearly, getting data from a hard disk is immensely faster than from a floppy.

Storage: Solid State Devices Solid state devices are currently the new hot technology for data storage. There are no moving parts. Data is stored electronically, not magnetically. Solid state drives replace traditional spinning-disk hard drives with banks of memory cards. Most SSDs use flash memory to store all those 1's and 0's in a way that keeps the data after power is off. Some SSDs use DRAM cards, the same as normal computer memory. The data vanishes once the power goes off.

Advantages:

  • SSDs are super, super fast at reading and writing data.
  • No moving parts to break.
  • Does not need to be defragmented.
  • Silent.
  • Resistant to shock and vibration.
  • Not affected by magnetic fields.
  • Small size; light in weight.
  • Uses less power than hard disk drives.

When a sector has had too many read/write cycles, the data becomes read-only and is written to a new area automatically. It's not lost!

 
Disadvantages:
  • The memory cells will eventually wear out.
  • Total drive failure occurs all at once with no warning signs, unlike hard disk drives which often give hints of trouble coming. But this is fairly rare.
  • Cost more for the same amount of storage than hard disk drives.
  • Older operating systems do not understand SSDs. (Windows 7 comes with support for SSDs.)
Flash Memory Several different brands of removable storage cards, also called memory cards, are now available. These are solid-state devices (no moving parts) that read and write data electrically, instead of magnetically. Devices like digital cameras, digital camcorders, and cell phones may use CompactFlash, SmartMedia, Memory Stick, or another flash memory card. Laptop computers use PCMCIA cards, which are type of flash memory used as solid-state hard disks.
USB drive This relatively new type of flash memory storage device does not yet have a generally accepted name. Each company calls it something different, including flash drive, jump drive, flash pen, thumb drive, key drive, and mini-USB drive. All are small, at most about the size of your thumb or a large car key, but many are smaller. They plug into a USB port on the computer. No drivers are needed for recent versions of Windows. Plug it in and the computer reports a new drive! Such small flash drives can have storage capacities from 8 MB to 128 GB or more! Some flash drives include password protection and the ability to run software right off the USB drive. So cool! The actual circuit board inside such a device is very small, so manufacturers add colorful and fun cases to get your business. The shiny metal parts in the center illustration are the contacts that must meet matching contacts on the computer. In the other devices those contacts are inside the rectangle-shaped connector.

Taking Care of Solid State Devices



It's pretty easy to care for a solid state device.

1. Don't defragment. It will decrease the life span of the device and does not help anything.

2. Empty space: Leave a large percentage of a solid state drive empty (10% - 20% depending on the drive). These drives try to use the whole drive instead of using the same spots over and over, which would shorten the life of the drive. It needs a lot of empty space for this to work well.

3. Indexing off: These drives are so fast that you don't need to index files, which would add more read/writes to the pile, shortening the drive's life.

4. Removable solid state drives: Treat your external or removable solid state devices with loving care

a. Don't format unless absolutely necessary.

b. Keep the contacts clean. No smoke, dirt, liquids, etc. to mess up the contacts. Don't carry loose in your pocket or purse!

c. Don't crack the case or break the contacts loose by dropping, bending, or putting heavy objects on it.

d. Don't lose it!

e. Label the case in some way - to get it back when you lose it!
Alternate: Include a readme.txt file on the drive with your contact info. People often leave a drive connected to the computer when they leave class or a public computer. Can't return it if we don't know whose it is!

Other Devices

External drives An external hard drive or solid state drive looks like a box attached to your computer with one or two USB cables. The computer can access the files on such a drive nearly as quickly as those on the internal drive. Disks of 1 or 2 TB (terabyte) capacity are common now. An external drive is just as sturdy or as delicate as the one inside the computer. Be careful that it does not get knocked off the desk!
Mass storage Businesses with very large sets of data that need easy access use sets of cartridges with robot arms to pull out the right one on command.
Smart cards A chip on the card itself tracks changes, like deducting purchases from the amount entered originally on the card. Smart cards are already used in Europe and at colleges instead of using a handful of coins at vending machines and at laundromats. Another use involves a new sensor technology which lets a smart card read your fingerprint right on the card. The digital image of the fingerprint is then transmitted to a database to compare it with the one on file for that card. You can prove you are really you!!
Optical cards A chip on the card holds information like health records and auto repair records. They can hold more data than the smart cards since they don't need to do any processing.

The history of computing suggests that some new technology will take over the market in the near future. Guessing which one will win the race is what makes fortunes in the stock market!

Storage: Optical Discs

An entirely different method of recording data is used for optical discs. These include the various kinds of CD and DVD discs.

Copyright (c) 123RF Stock Photos

You may guess from the word "optical" that it has to do with light. You'd be exactly right! Laser light, in fact. Optical discs come in several varieties which are made in somewhat different ways for different purposes.

How optical discs are similar

  • Formed of layers
  • Data in a spiral groove on starting from the center of the disc
  • Digital data (1's and 0's)
  • 1's and 0's are formed by how the disc absorbs or reflects light from a tiny laser.

The different types of optical discs use different materials and methods to absorb and reflect the light.

How It Works (a simple version)

An optical disc is made mainly of polycarbonate (a plastic). The data is stored on a layer inside the polycarbonate. A metal layer reflects the laser light back to a sensor. To read the data on a disc, laser light shines through the polycarbonate and hits the data layer. How the laser light is reflected or absorbed is read as a 1 or a 0 by the computer.

In a CD the data layer is near the top of the disc, the label side.

In a DVD the data layer is in the middle of the disc. A DVD can actually have data in two layers. It can access the data from one side or from both sides. This is how a double-sided, double-layered DVD can hold 4 times the data that a single-sided, single-layered DVD can.

Materials

The materials used for the data (recording) and metal (reflecting) layers are different for different kinds of optical discs.

CD DVD Type Data Layer Metal Layer
CD-ROM (Audio/video, PC software) DVD-ROM (Video/audio, PC use) Read Only Molded Aluminum (Also silicon, silver, or gold in double-layered DVDs)
CD-R DVD-R DVD+R Recordable (once!) Organic dye Silver, gold, silver alloy
CD-RW DVD-RW DVD+RW DVD+RAM Rewritable (write, erase, write again) Phase-changing metal alloy film Aluminum

Read Only:

CD-ROM stands for Compact Disc - Read Only Memory. It looks just like an audio CD but the recording format is quite different. CD-ROM discs are used for computer software. DVD used to stand for Digital Video Device or Digital Versatile Device, but now it doesn't really stand for anything at all! DVDs are used for recording movies and large amounts of data or large programs.
The CDs and DVDs that are commercially produced are of the Write Once Read Many (WORM) variety. They can't be changed once they are created.

The data layer is physically molded into the polycarbonate. Pits (depressions) and lands (surfaces) form the digital data. A metal coating (usually aluminum) reflects the laser light back to the sensor.

CD-ROM and DVD-ROM discs should be readable for many, many years (100? 200?), but only if you treat them with respect.

Lost data: Oxygen can seep into the disc through the edges or scratches, especially in high temperatures and high humidity. This corrodes the aluminum, making it too dull to reflect the laser correctly. You will have errors or complete failure when trying to read the disc.

Write Once:

The optical discs that you can record on your own computer are CD-R, DVD-R, and DVD+R discs, called writable or recordable discs. The metal and data layers are separate. The metal layer can be gold, silver, or a silver alloy.

The data layer in this type of disc is an organic dye that the writing laser changes. Once the laser modifies the dye, it cannot be changed again. Write Once!

Lost data: Ultraviolet light and heat can degrade the organic dye. Sulfur dioxide from the air can seep in and corrode silver over time.

Go for the Gold: Gold layers are best because gold does not corrode. Naturally, the best is more expensive.

Manufacturers say that these discs have a shelf-life of 5 - 10 years before they are used for recording. There is no testing yet about how long the data will last after you record it. Humph!

A writable disc is useful as a backup medium when you need long-term storage of your data. It is less efficient for data that changes often since you must make a new recording each time you save your data. Pricing of the discs will be important to your decision to use writable discs.

Rewrite:

An option for backup storage of changing data is rewritable discs, CD-RW, DVD-RW, DVD+RW, DVD+RAM.

The data layer for these discs uses a phase-changing metal alloy film. This film can be melted by the laser's heat to level out the marks made by the laser and then lasered again to record new data.

In theory you can erase and write on these discs as many as 1000 times, for CD-RW, and even 100,000 times for the DVD-RW types.

Advantages of Optical Disks

1. Physical: An optical disc is much sturdier than tape or a floppy disk. It is physically harder to break or melt or warp. It's somewhat harder to lose than a USB flash drive.

2. Transport & Storage: Discs are easy to take with you and to store away. They have a long shelf-life.

3. Delicacy: It is not sensitive to being touched, though it can get too dirty or scratched to be read. It can be cleaned!

4. Not Magnetic: It is entirely unaffected by magnetic fields.

5. Capacity: Optical discs hold a lot of data, especial the double-sided DVDs.

Plus, the non-data side of the disc can have a pretty label!

For software providers, an optical disc is a great way to store the software and data that they want to distribute or sell.

Disadvantages of Optical Disks

1. Cost: The main disadvantage to using CD/DVD discs for personal data storage has been cost.
The cost of a CD-RW drive has dropped drastically and quickly. In 1995 such a drive was around $3000. In the summer of 1997 CD-RW drives were down to just under $1000. In March 2003 a CD-RW that will read at 40X speed, write on CD-R media at 40X speed, and write on re-writable media at 12X, could be bought for under $100 US. In July 2010 you could get an internal DVD-RW drive for under $50!

The cost of discs can add up, too. Recordable discs (one time only) cost about $.30 US each (March 2003) In July 2010 you could find these in packs of 100 for less than $.03 each. Re-writable discs cost about $1 each. (July 2010) You have to be careful about the capacity and maximum recording speed. The boxes for different types look a lot alike!

So for commercial use, the read/write drives are quite cost effective. For personal use, they are available and are cheap enough to use for data storage for everyone.

2. Duplication: It is not quite as easy or as fast to copy an optical disc as it is to copy files to a USB flash drive. You need the software and hardware for writing discs! (This is an advantage as far as commercial software providers are concerned!) Recent versions of Windows include disc writing software but third party programs offer features you might want. At least discs are easy to label and to store.

Care of Optical Disks (CDs, DVDs)

Your CDs and DVDs are not going to last forever. They certainly store data longer than other storage media! Mis-handling your optical disc can quickly make your data unreadable. Even fingerprints can do damage over time.

Data loss comes from:

  • Physical damage - breaking, melting, scratching...
  • Blocking of laser light by dirt, paint, ink, glue...
  • Corrosion of the reflecting layer

Here are some do's and don'ts for keeping your CDs and DVDs healthy.

  • Cleaning:
    • Keep it clean!
    • Handle by the edges or center hole.
    • Put it back in its case as soon as you are finished with it. No laying around on the desktop!!
    • Remove dirt and smudges with a clean cotton cloth by wiping from the center to the outer edge, NOT by wiping around the disc. Wiping in a circle can create a curved scratch, which can confuse the laser.
    • For stubborn dirt, use isopropyl alcohol or methanol or CD/DVD cleaning detergent.
  • Labeling:
    • Don't use an adhesive label. The adhesive can corrupt your data in just a few months!
    • Don't write on or scratch the data side of the disc - ever!
    • Don't scratch the label side.
    • Don't write on the label side with a pencil or pen (scratches!)
    • Don't write on the label side with a fine-point marker or with any solvent-based marker. Use markers for CDs or a fast-drying permanent marker. Sharpies seem to do well. Solvent in a regular permanent marker may dissolve the protective layer.
  • Storage:
    • Store optical discs upright on edge, like a book, in a plastic case designed specifically for them. Not flat for long periods!
    • Store in a cool, dark environment where the air is clean and dry. NO SMOKE! Low humidity.
  • How you treat it:
    • Keep away from high heat and high humidity which accelerate corrosion.
    • Keep out of sunlight or other sources of ultraviolet light.
    • Keep away from smoke or other air pollution.
    • Don't bend it!
    • Don't use a disc as a coaster or a frisbee or a bookmarker!

Recording

  • Inspect the disc for flaws and dirt BEFORE recording on it.
  • Only open a recordable disc just before you plan to record on it.
  • After recording, make sure the disc works as you expect: Read data; run programs.

Complete recommendations from NIST and Quick Reference Guide as part of the "Digital Preservation Program" sponsored by the US National Institute of Standards and Technology, designed to give libraries and museums guidance on how to preserve digital data.
(in pdf format. Requires Adobe Acrobat Reader )

Storage: Magnetic Tape

Magnetic tape uses a method similar to that of VCR tape for storing data.

The speed of access can be quite slow, however, when the tape is long and what you want is not near the start. So this method is used primarily for major backups of large amounts of data.

Businesses especially might do a backup of the day's transactions every day and a backup of the whole system once a week or so. Keeping sets of backups like this minimizes the amount of data loss when the computer system goes down.

Types of Tape

Each different tape storage system has its own requirements as to the size, the container type, and the magnetic characteristics of the tape. Older systems designed for networks use reel-to-reel tapes. Newer systems use cassettes. Some of these are even smaller than an audio cassette but hold more data than the huge reels. Even if they look alike, the magnetic characteristics of tapes can vary. It is important to use the tape that is right for the system.

Tape Reel Tape Cassette

Tape Formats

Just as hard disks have several different formats, so do magnetic tapes. The format method will determine the following characteristics.

Characteristic Looks like:
Density Higher density means more data on shorter tape Measured as bpi = bits per inch Densities ranged up to 6250 bpi in the old days but now (2008) density can be much higher, such as 124,000 bpi.
Blocks The tape is divided into logical blocks, as a hard disk is divided into tracks and sectors. One file could take up many logical blocks, but must take up at least one whole block. So smaller blocks would result in less wasted space, leaving more room for data.
Gap Two kinds of blank spots, called gaps, are set on the tape. Interblock gap which separates logical blocks. Interrecord gap which is wider and separates records. Notice the two size lines cutting across the tape in the picture above. Smaller gaps would allow more data to be stored on the same size tape.

Date: 2015-01-11; view: 945


<== previous page | next page ==>
Output: Summary | First: A Back Up Plan
doclecture.net - lectures - 2014-2024 year. Copyright infringement or personal data (0.01 sec.)