CSC 221 - Comp Appreciation
CSC 221 - Comp Appreciation
T. F. Sholanke (Mrs.)
Department of Computer Science and Engineering
Outline
Database Management (DBASE or MS Access)
Desktop Publishing (Corel Draw/ Harvard graphics)
Data entry
Storage and retrieval
Query processing
Sorting
CSC221: Introduction to Database Management System 4
File System to Database
Difficult Data Access: A user should know the exact location of the file to access data, so the
process is very cumbersome and tedious. If the user wants to search the student hostel
allotment number of a student from 10000 unsorted students’ records, how difficult it can be.
Unauthorized Access: File Systems may lead to unauthorized access to data. If a student
gets access to a file having his marks, he can change it in an unauthorized way.
No Concurrent Access: The access of the same data by multiple users at the same time is
known as concurrency. The file system does not allow concurrency as data can be accessed
by only one user at a time.
No Backup and Recovery: The file system does not incorporate any backup and recovery of
data if a file is lost or corrupted.
Note:
The above points are the main reasons which made a shift from file system to DBMS.
Other archives
Database
design
Service Tools
End Users
Da
ta
ex Development
ch DB
an
ge
Submission tools
Submitters
Production DB Service DB
Da
ta
Di
Add value st
ri b. Releases
(computation) Releases
Q/C etc &&
Add value (review etc.) Updates
Updates 8
CSC221: Introduction to Database Management System
Exercise I
Who is Edgar F. "Ted" Codd?
2. Hardware: These are the general hardware devices which help us save and enter the
data like hard disks, magnetic tapes, etc.
1. Data Definition Language (DDL): Data Definition Language deals with database
schemas and descriptions, of how the data should reside in the database.
CREATE: to create a database and its objects like (table, index, views, store
procedure, function, and triggers)
ALTER: alters the structure of the existing database
DROP: delete objects from the database
TRUNCATE: remove all records from a table, including all spaces allocated for the
records are removed
COMMENT: add comments to the data dictionary
RENAME: rename an object.
REVOKE: revoke permissions to the user for running DML(SELECT, INSERT, DELETE,…)
command on the specified table. It is basically the opposite of the ‘GRANT’ command.
It removes a user’s permissions from one or more schemas or tables.
External
level
Conceptual Conceptual
level Schema
Physical Internal
level Schema
•7
38