Expand mobile version menu

Database Administrator

salary graphic

AVG. SALARY

$70,180

education graphic

EDUCATION

Bachelor's degree or higher +

job outlook graphic

JOB OUTLOOK

Stable

Real-Life Activities

Real-Life Math -- Solution

Your database currently takes up 300 MB of disk space.

Fixed Disk E is a 1 GB disk. It already contains software applications that are taking up 800 MB of space, some video files that are consuming 150 MB of space and some corporate documents that are taking up 500 KB of space.

A kilobyte (KB or Kbyte) is 1,024 bytes. A megabyte (MB) is 2 to the 20th power or 1,048,576 bytes. A gigabyte (GB) is 2 to the 30th power or 1,073,741,824 bytes.

Therefore, the software applications on Drive E contain:

800 MB x 1,048,576 bytes per MB = 838,860,800 bytes

The video files contain:

150 MB x 1,048,576 bytes per MB = 157,286,400 bytes

The documents contain:

500 KB x 1,024 bytes per KB = 512,000 bytes

Total bytes already in use = 512,000 + 157,286,400 + 838,860,800
Total bytes already in use = 996,659,200 bytes

The hard disk contains 1 GB or 1,073,741,824 bytes.

Space remaining = 1,073,741,824 - 996,659,200
Space remaining = 77,082,624 bytes

The database contains:

300 MB x 1,048,576 bytes per MB = 314,572,800 bytes

You need 314,572,800 bytes of space. Fixed Disk E has 77,082,624 bytes available. There is no room to store the database on Fixed Disk E.

"Sometimes I have to calculate the amount of space on disks if I am transferring databases," says Robert Feehan, a database administrator. "I might have to do some complex conversions."