Professional Documents
Culture Documents
File System
File processing system is supported by a conventional operating system. This System stores permanent records in various files and it needs different application programs to extract and Add records. Keeping Organizational information in a fileprocessing system has number of major disadvantages.
Data isolation
Integrity problems Security problems
View of Data
1. Data Abstraction
2. Instances 3. Schema
Data Abstraction
For the system to be usable ,it must retrieve data efficiency. The need for efficiency has led designers to use complex data structures to represent data in the database. Since many database system users are not computer trained, developers hide the complexity from users through several levels of abstractions.
Levels of Abstraction
1. Physical Level : The lowest level of abstraction describes how the data are actually stored. 2. Logical Level : The next higher level of abstraction describes what data to be stored in database. 3. View Level : The highest level of abstraction describes only a part of the entire database.
Database system have several schemas partitioned according to the levels of abstraction. Physical schema describes the database design at physical level Logical schema describes the database design at the logical level. Database may have several schemas at view level, sometimes called Subschemas, that describes different views of database.
Data Models
Structure of Database is the Data Model. A Collection of Conceptual tools for describing Data, Data Relationships, Data Semantics and consistency constraints.
The Concept of Data Model has 2 sections 1.The Entity Relationship Model 2.The Relational Model
A relationship is an association among several Entities. Eg: Rectangle which represent Entity Sets.
Relational Model
The Relational Model uses a collection of tables to represent both data and the relationships among those data. Each table has Multiple Columns, Each Columns has a Unique name. The Relational Model is an Example or Record Based Model. Record Based Model is the database structured in fixed formats records of several types.
Each table contains records of a particular type each record type defines a fixed number of files or attributes. The Relational model is at the lower level of Abstraction than the ER Model and then translated to the Relational Model
The Object relational Data Model combines features of the Object Oriented Data Model and Relational Data Model.
Procedural Dml Requires user to specify what data and how to get data.
Declarative Dml Requires user to specify what data are needed without specifying how to get the data.
Navie Users are unsophisticated users who interact with the system invoking one of the application programs that have been written previously.
Application programmers are computer professionals who write application programs Sophisticated users interact with the systems without writing programs. Specialized users are sophisticated users who write the specialized database applications that do not fit into the traditional data processing framework.
Database Administrator
Main reason fro using DBMS is to have central control of both the data an the programs that access those data. Functions of DBA Schema Definition Storage Structure and Access method Definition
THANK YOU