Database Management System: SUBJECT CODE: 571089
Database Management System: SUBJECT CODE: 571089
Database Management System: SUBJECT CODE: 571089
INTRODUCTION
Data constitute the building blocks of information Information is produced by processing data. Information is used to reveal the meaning of data Accurate, relevant and timely information is the key to good decision making. Good decision making is the key to organizational survival in a global environment.
DATA MANAGEMENT
Data management is a discipline that focuses on the proper generation, storage, and retrieval of data. Data management is the core activity for any business, government agency, service organization, or charity.
DATABASE
A database is a shared, integrated computer structure that stores a collection of End user data, that is, raw facts of interest to the end user. Metadata, or data about data, through which the end user data are integrated and managed. The Metadata provides a description of the data characteristics and set of relationship that link the data found within the database.
METADATA
For example, a webpage may include metadata specifying what language it's written in, what tools were used to create it, and where to go for more on the subject, allowing browsers to automatically improve the experience of users.
DATABASE
A database resembles a very well organized electronic filing cabinet.
Characteristics of DBMS
Represents complex relationship between data Controls data redundancy. Enforces user defined rules. Ensures data sharing. It has automatic and intelligent backup and recovery procedures. Data independence. It has central dictionary to store information.
Characteristics of DBMS(Cont.)
Pertaining to data and its manipulation. It has different interfaces via which user can manipulate the data. Enforces data access authorization. Maintenance of Integrity. Support for transaction control and recovery. Data abstraction. Control over Security.
Importance of DBMS
It helps make data management more efficient and effective. Its query language allows quick answers to ad hoc queries. It provides end users better access to more and better-managed data. It promotes an integrated view of the organizations operations big picture. It reduces the probability of inconsistent data
Advantages of DBMS
Improved data sharing Better data integration Minimized data inconsistency Improved data access Improved decision making Increased end user productivity
Database Environment
Evolution of DBMS
Evolution of DBMS(Cont.)
FLAT File. Flat files are data files that contain records with no structured relationships. Additional knowledge is required to interpret these files such as the file format properties. A list of names, addresses, and phone numbers written on a sheet of paper is a flat file database A text editor program may be used to implement flat file databases.
Evolution of DBMS(Cont.)
Hierarchical DBMS A DBMS is said to be hierarchical if the relationships among data in the database are established in such a way that one data item is present as the subordinate of another one. Here subordinate means that items have 'parentchild' relationships among them. The data structure "tree" is followed by the DBMS to structure the database. Most of the older DBMS such as Dbase, FoxPro are hierarchical which are rarely used nowadays.
Evolution of DBMS(Cont.)
Evolution of DBMS(Cont.)
Network DBMS A DBMS is said to be a Network DBMS if the relationships among data in the database are of type many-to-many. The relationships among many-to-many appears in the form of a network. structure of a network database is extremely complicated because of these many-to-many relationships in which one record can be used as a key of the entire database.
Evolution of DBMS(Cont.)
Evolution of DBMS(Cont.)
Relational DBMS. The term "relational database" was invented by E. F. Codd at IBM in 1970. A DBMS is said to be a Relational DBMS or RDBMS if the database relationships are treated in the form of a table. A number of RDBMSs are available, some popular examples are Oracle, Sybase, Ingress, Informix, Microsoft SQL Server, and Microsoft Access.
Evolution of DBMS(Cont.)
Evolution of DBMS(Cont.)
Object-oriented database management system An object database (also object-oriented database management system) is a database management system in which information is represented in the form of objects as used in object-oriented programming. When database capabilities are combined with object-oriented programming language capabilities, the result is an object-oriented database management system (OODBMS). OODBMS allow object-oriented programmers to develop the product, store them as objects, and replicate or modify existing objects to make new objects within the OODBMS. The database is integrated with the programming language, the programmer can maintain consistency within one environment, in that both the OODBMS and the programming language will use the same model of representation. Some object-oriented databases are designed to work well with objectoriented programming languages such as Delphi, Ruby, Python, Perl, Java, C#, Visual Basic .NET and C++.
Evolution of DBMS(Cont.)
Evolution of DBMS(Cont.)
Programmers and designers began to treat the data in their databases as objects. That is to say that if a person's data were in a database, that person's attributes, such as their address, phone number, and age, were now considered to belong to that person instead of being extraneous data. This allows for relationships between data to be relation to objects and their attributes and not to individual fields.
Evolution of DBMS(Cont.)
Object-relational database management system (ORDBMS) An object-relational database (ORD), or objectrelational database management system, is a database management system (DBMS) similar to a relational database, but with an object-oriented database model. The basic goal for the Object-relational database is to bridge the gap between relational databases and the object-oriented modelling techniques used in programming languages.
Evolution of DBMS(Cont.)
Dataware House DBMS A data warehouse is a subject-oriented integrated time varying non-volatile collection of data in support of the management's decision-making process. A data warehouse is a centralized repository that stores data from multiple information sources and transforms them into a common, multidimensional data model for efficient querying and analysis. IBM DB2 Warehouse 9.5 - Microsoft SQL Server 2008 - Oracle Database 11g - Teradata Enterprise Data Warehouse 12.0 - Sybase IQ
Evolution of DBMS(Cont.)
Evolution of DBMS(Cont.)
Web-enabled DBMS A Web-enabled database server can be used to form a virtual community, where participants in remote locations can exchange ideas in electronic formats. Users can upload information, submit a query, update a record, take a test, or produce a report through a Web interface running off a database server Web enabled Oracle Express Server 6.0, Launched in 1996.
Evolution of DBMS(Cont.)
Duplicate Data
Evolution of DBMS(Cont.)
Order Filing System Central database Contains employee, order, inventory, pricing, and customer data
Invoicing System
DBMS
Payroll System
Evolution of DBMS(Cont.)
1st Generation: Early Database Applications
1960s:The Hierarchical and Network Models were introduced 1970s: They became dominated. A bulk of the worldwide database processing still occurs using these models, particularly, the hierarchical model.
Evolution of DBMS(Cont.)
3rd Generation: Object-oriented Applications 1990s: Object-Oriented Database Management Systems (OODBMSs) for complex data processing in CAD and other applications. Object-relational DBMSs (ORDBMSs) Extended relational systems add further capabilities (e.g. for multimedia data, XML, and other data types)
All information in the database is to be represented in only one way, namely by values in column positions within rows of tables.
All views that are theoretically updatable must be updatable by the system.
Database Architecture
Three-Level Database Architecture External Level Conceptual Level Internal Level
Database Architecture(Cont.)
User 1
External Data View 1
User 2
View 2
User n
View 3 Mapping and independence btw external and internal levels. The way the DBMS and OS perceive the data.
Internal Level
Database
Database Architecture(Cont.)
EXTERNAL LEVEL (highest level) The users view of the database. Consists of a number of different external views of the DB Describes part of the DB for particular group of users. Provides a powerful and flexible security mechanism by hiding parts of the DB from certain users. The user is not aware of the existence of any attributes that are missing from the view. It permits users to access data in a way that is customized to their needs, so that the same data can be seen by different users in different ways, at the same time
Database Architecture(Cont.)
CONCEPTUAL LEVEL The logical structure of the entire database as seen by DBA. What data is stored in the database The relationships among the data Complete view of the data requirements of the organization, independent of any storage consideration. Represents: - ntities, attributes, relations - constraints e on data - semantic information on data - security, integrity information. Supports each external view: any data available to a user must be contained in, or derivable from the conceptual level.
Database Architecture(Cont.)
INTERNAL LEVEL Physical representation of the DB on the computer How the data is stored in the database Physical implementation of the DB to achieve optimal run time performance and storage space utilization. Storage space allocation for data and indexes Record description for storage - Record placement - Data compression, encryption.