Professional Documents
Culture Documents
Basic concepts
Overview of Lecture
Introduction to the course Database definitions importance of databases Introduction to File Processing Systems Disadvantage of File Processing Systems Advantages of the Database Approach
Database definitions:
Definitions are important, especially in technical subjects because definition describes very comprehensively the purpose and the core idea behind the thing. Databases have been defined differently in literature. We are discussing different definitions here, if we concentrate on these definitions, we find that they support each other and as a result of the understanding of these definitions, we establish a better under standing of use, working and to some extent the components of a database.
Definitions
Definition 1 A shared collection of logically related data, designed to meet the information needs of multiple users in an organization. The term database is often erroneously referred to as a synonym for a database management system (DBMS).
Definitionscon
Definition 2 A collection of data: part number s, product codes, customer information, etc. It usually refers to data organized and stored on a computer that can be searched and retrieved by a computer program.
Definitions..con
Definition 3 A data structure that stores metadata, i.e. data about data. More generally we can say an organized collection of information. Definition 4 A collection of information organized and presented to serve a specific purpose. (A telephone book is a common database.) A computerized database is an updated, organized file of machine readable information that is rapidly searched and retrieved by computer.
Definitions..con
Definition 5 An organized collection of information in computerized format. Definition 6 A collection of related information about a subject organized in a useful manner that provides a base or foundation for procedure es such as retrieving information, drawing conclusions, and making decisions.
Definitions..con
Definition 7 A Computerized representation of any organizations flow of information and storage of data.
Definitionscon
Each of the above slides definition is correct, and describe database from slightly variant perspectives
Database, DBMS
Database Application
DBMS
Database
User
Database system is an overall system which consists of database, DBMS, application program and users with all of them integrating as one unit
Product data Student data, courses Patient data, facilities Account data
Database: a large collection of data an integrated collection of data Database management system: a software system that provides an efficient as well as convenient environment for accessing data in a database.
Importance of database
Databases are important; why? Traditionally computer applications are divided into commercial and scientific (or engineering) ones. Scientific applications involve more computations, that is, different type of calculations that vary from simple to very complex Today such applications exist, like in the fields of space, nuclear, medicine that take hours or days of computations on even computers of the modern age
Importance of database..con
On the other hand, the applications that are termed as commercial or business applications do not involve much computations, rather minor computation but mainly they perform the input/output operations. That is, these applications mainly store the data in the computer storage, then access and present it to the users in different formats (also termed as data processing) for example, banks, shopping, production, utilities billing, customer services and many others.
Importance of database..con
In order to manage the commercial applications more efficiently databases are the ultimate choice because efficient management of data is the sole objective of the databases. So such applications are being managed by databases even in a developing country like Pakistan, yet to talk about the developed countries. This way databases are related directly or indirectly almost every person in Society.
STAFF
File
Application
List of Class
Registrar Department
Dean Office
Salary slip
STAFF
Salary
Financial Department
Salary Cheque
Duplication of Data. Applications are developed independently in file processing systems leading to unplanned duplicate files. Duplication is wasteful as it requires additional storage space and changes in one file must be made manually in all files. This also results in loss of data integrity. It is also possible that the same data item may have different names in different files, or the same name may be used for different data items in different files.
Data Inconsistency
Updated/modify in a certain file, but not in other file
Data Isolation
No logical relation hard to retrieve the information that requires combination of two or more files Less data sharing
File Incompatibility
Lecturers file in faculty MySQL Students file in HEA MS Access
Database system The database and DBMS software together is called as Database system. Advantages of DBMS? Redundancy is controlled. Unauthorized access is restricted. providing multiple user interfaces. Enforcing integrity constraints. Providing backup and recovery
Database System
Database Application Output
Student Timetable
Student Scheduling STUDENT COURSE STAFF DBMS Lecturer Scheduling List Of Class
Lecturer Timetable
Salary
Salary Slip
____
Salary Cheque