Beruflich Dokumente
Kultur Dokumente
SCIENCES
MANAGING AND STORING
DATA
Data
Main
Mainmemory
memory
Arithmetic
Arithmetic&&logic
logic
unit
unit
Secondary storage
Output
Output
devices
devices
Information
Primary Storage
Small capacity
Volatile
Secondary Storage
High capacity
Permanent
Processing Modes
Batch processing
A technique in which transactions are collected
into groups or batches to be processed at a
convenient time.
Transaction processing
A technique in which transactions are processed
in random order.
Storage Devices
Mass
Storage
Magnetic
Tape
Disk
Diskette
Hard
Optical
Cassette
Cassette
Cartridg
e
CD-ROM
WORM
Reel
Reelto
toreel
reel
Rewritable
Rewritable
CD-ROM
CD-ROM
DVD
Accessing Data
access
Sorted
transactions
Update
program
Error &
control report
Updated
transactions
Carried
forward
master file
Transaction Processing
Random
Transactions
Update
program
Error &
control report
Master file
Measuring Storage
Capacities
kilobyte (Kb)
1 thousand bytes
(actually 1024)
megabyte (Mb)
gigabyte (Gb)
terabyte (Tb)
1 million
1 billion
1 trillion
C
|
|
D
|
|
|
E
|
|
F G
| |
| |
| |
|
|
|
|
|
|
|
|
|
|
H I
|
| |
| |
|
|
|
|
|
|
|
L M
|
|
|
|
|
|
|
|
N O P
|
|
|
|
|
|
|
|
|
|
|
|
|
EBCDIC Coding
(Extended Binary Coded Decimal Interchange Code)
Parity Bit
Zone
Bits
Numeric
Bits
Blocked Records
Logical records
Record Record Record
Record Record Record
Record
IBG
IBG
6
5
4
3
2
1
7
A Disk Surface
Track
Concentric recording
areas
Sector
Pie-shaped
slice
Cluster
Part of a track
covering 2 or
more sectors
File AllocationTable
Using Disks
latency
seek time (time taken to find the locate track
containing a piece of data on the disk)
rotational delay (half a rotation)
Disk cache
Accessing a Record
Seek time
Position the read/write head to the track
containing the record.
Rotational delay
Wait for the sector containing the record to
reach the read head.
Transfer time
Input the sector containing the required
record to main memory.
Optical Storage
CD-R standard
High capacity
Cheap
Can be written to once
Data secure
Optical Storage
Rewritable CD
can write and erase data any number of times
several different and incompatible types
Computer Performance
clock speed
motherboard architecture
bus speed
cache size
RAM size (if insufficient for a program virtual memory
is used)
Hard disk
Modem speed
Graphics acceleration
DBMS
A
Database Concept
Address:
Address:
Taman
Taman
Kingfisher
Kingfisher
Database
File
Lot
LotNo:
No:
Price:
Price:
Record
Organisation of Data
Character
Field
File
Record
Database
Organisation of Data
File
File
record-1
record-1
record-2
record-2
field-1
field-1
field-2
field-2
field-1
field-1
field-2
field-2
abcd12%
abcd12%
abcd12%
abcd12%
abcd12%
abcd12%
abcd12%
abcd12%
Record Key
Primary Key
Field
459-21-0765 Burton
Paul
Secondary Key
Field
Field
Field
Field
Field
Record 1
DBMS Package
DBMS Package
Access
SQL Server
Oracle
dBase III, IV, V
Paradox
Sybase
Delta
Smart data manager
Company
Microsoft
Microsoft
Oracle Corporation
Ashton Tate
Ansa
Sybase Inc.
Compsoft
Blyth software Ltd.
Traditional Vs DBMS
File management:
INVESTMENT
MARKETING
MANAGEMENT
application
software
FILE(S)
application
software
FILE(S)
application
software
FILE(S)
PROGRAMS
MANAGEMENT
FILE(S):DATABASE
Relational DBMS
Relational DBMS
Selection Example
Select Name = Andy
Name
Rent
Andy
500
Hamid
700
Siva
300
Name
Rent
Andy
500
Name
Rent
Siva
300
Projection Example
Projection Name,
Address
Name Address
Rent
Name Address
Malik
Tuaran
500
Malik
Tuaran
Malik
Tuaran
700
Siva
Inanam
Siva
Inanam
300
Join Example
Table A
Name
Rent
Andy
500
Hamid
700
Siva
300
Table B
Name Address
Andy
Kepayan
Siva
Likas
Join Table A,
Table B
Name Address
Rent
Andy
Kepayan
500
Siva
Likas
300
DBMS Advantages
DBMS offer the following advantages in file
management system:
Data redundancy is reduced or eliminated
Data integrity is improved
Data independence is achieved
Data sharing is improved
Data control is increased
DBMS Disadvantages
Highly
complex
Expensive
Can Create Massive Damage
Vulnerable to hardware or software failure