Beruflich Dokumente
Kultur Dokumente
1.
Being stored and retrieved Not to be processed to reveal their meaning to the user
Data constitute building blocks of information Information produced by processing data Information reveals meaning of data Good, timely, relevant information is key to decision making Good decision making key to organizational survival
4
A set of information held in a computer One or more large structured sets of persistent data, usually associated with software to update and query the data
A collection of data arranged for ease and speed of search and retrieval
Introduction to Database Systems
Data: Known facts that can be recorded and that have implicit meaning Database: Collection of related data Ex. the names, telephone numbers and addresses of all the people you know Database Management System: A computerized record-keeping system
Introduction to Database Systems
Library catalogues Medical records Bank accounts Stock market data Personnel systems Product catalogues Telephone directories
Train timetables Airline bookings Credit card details Student records Customer histories Stock market prices Discussion boards and so on
Database is a collection of data describing objects and their relationships However a DBMS is software designed to assist in maintaining and utilizing large collection of data. Database Management System = DBMS A collection of files that store the data A big C program written by someone else that accesses and updates those files for you
A Database Management System (DBMS) is a software package designed to store and manage databases.
Introduction to Database Systems
Database Management System (DBMS): software system (collect of software) help to manage the data contents Manages Database structure Controls access to data Contains query language
Application software DBMS
Database
Manipulating database
Backend
18
Read students.txt Read courses.txt Find&update the record Ram Find&update the record BBA108 Write students.txt Write courses.txt
19
System crash:
Read students.txt Read courses.txt Find&update the record Mary Johnson Find&update the record CSE444 Write students.txt Write courses.txt
CRASH !
20
program-1 data description-1 program-2 data description-2 program-3 data description-3 File-1 File-2 File-3
Application program-1 with data semantics Description Application program-2 with data semantics Application program-3 with data semantics Manipulation Control
Queries .
Database
DBMS approach
Data
Raw Facts
Field
Group of characters with specific meaning
Record
Logically connected fields that describe a person, place, or thing
22
record
field
23
24
Figure 1.5
25
Each application must move large datasets between main memory and secondary storage (must deal with, e.g., buffering, page-oriented access, etc).
Each application must deal with some method of identifying all data items in case the available addressing mode is not sufficient (e.g., 32-bit addressing cannot directly access more than 4GB).
Data Dependence Change in files data characteristics requires modification of data access programs Must tell program what to do and how to do Makes file systems cumbersome from programming and data management views Structural Dependence Change in file structure requires modification of related programs
28
Field
29
Data
Redundancy
Different and conflicting versions of same data Results of uncontrolled data redundancy Data anomalies
Modification Insertion Deletion
Data inconsistency
Lack of data integrity
30
Must protect data from inconsistency due to multiple concurrent users changing it. Must ensure consistent crash recovery. Must provide more security and access control than the password mechanism offered by operating systems.
advantages
FMS
disadvantages
Typically no multi-user access Limited to smaller databases Limited functionality Decentralization of data
Redundancy and integrity issues
Crash Recovery
DBMS
Greater flexibility Greater processing power Ensures data integrity Supports simultaneous access Provides backup and recovery controls Advanced security Supports Transaction
Difficult to learn Packaged separately from the OS Slower processing speeds Requires skilled administrators Expensive
Data files
Applications
33
Many computing applications deal with large amounts of information Database systems give a set of tools for storing, searching and managing this information
Databases are a core topic in computer science and IT Basic concepts and skills with database systems are part of the skill set you will be assumed to have as a BBA graduate
A large amount of data, Concurrent access by many users, Fast access, Consistent data update, Role-based security, Robust against hardware failures and OS crashes.
Data independence
*Application programs no details of data representation & storage Efficient data access * High-quality data compression schemes, * Fast data retrieval and search algorithms. Data integrity and security * Programs can prevent invalid queries from being executed, * Access control can be enforced.
Introduction to Database Systems
Centralized data administration * The DBA can optimize the organization of the data to facilitate its uses. Concurrent access
Crash recovery
Advantages of DBMS
Redundancy can be reduced Inconsistency can be avoided Data can be shared Standards can be enforced
High startup cost (time and effort) Relatively high maintenance Big central database doesnt work in practice - Though still better than file systems Finish up with dozens/hundreds of little data bases - Physically separate - All incomplete - Different data formats - Different concepts of data
Slow Response- need to update data in real time. - Can be slow & complex to extract data for reports
Application may need to manipulate the data in ways not supported by query Language. Eg flexible analysis of text data
in
MS SQL Server
ORACLE
MS Access
DB2
Informix
David Kim April 28, 2005 42