Your SlideShare is downloading. ×
0
 APPLICATIONS FILE SYSTEM VIEW OF DATA QUERY PROCESSOR DATABASE USERS AND ADMINISTRATORS DATA LANGUAGES TRANSACTION...
APPLICATIONa)    BANKING: For customer ,informaion,account,and loans, and      transaction.b)   Airline: For reservation a...
FILE SYSTEM
VIEW OF DATA1. DATA    ABSTRACTION• Physical Level: The lowest level of abstraction describes  how the data are actually s...
View levelView 1               View 2                View n                     Logical level                    Physical ...
INSTANCES AND SCHEMAS: The collection ofinformation stored in the database at a particular moment iscalled an instance of ...
QUERY PROCESSOR      The query processor components includes:• DDL interpreter: Which interprets DDL statements and  recor...
Database Users and    Administrators• Database users and user interfaces    Naive Users    Application Programmers    S...
• Database Administrator   Schema definition   Storage structure and access-method definition   Schema and physical-org...
DATA LANGUAGES      The database provides a data definitionLanguage to specify the database schema and a dataManipulation ...
DATA-DEFINITION LANGUAGE(DDL):                         Wespecify a database schema by a set of definition expressedby a sp...
DATA-MANIPULATION LANGUAGE: Datamanipulation is:• The retrieval of information stored in thedatabase.• The insertion of ne...
A data-manipulation language(DML) is alanguage that enables users to access or manipulatedata as organized by the appropri...
TRANSACTION         MANAGEMENT        A transaction is a collection of operations thatperforms a single logical function i...
STORAGE MANAGER       A storage is a program module that provides theinterface between the low-level data stored in the da...
Upcoming SlideShare
Loading in...5
×

Dbms slides

17,602

Published on

Published in: Education, Technology
0 Comments
12 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
17,602
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
894
Comments
0
Likes
12
Embeds 0
No embeds

No notes for slide

Transcript of "Dbms slides"

  1. 1.  APPLICATIONS FILE SYSTEM VIEW OF DATA QUERY PROCESSOR DATABASE USERS AND ADMINISTRATORS DATA LANGUAGES TRANSACTION MANAGEMENT STORAGE MANAGER DATA MODELS
  2. 2. APPLICATIONa) BANKING: For customer ,informaion,account,and loans, and transaction.b) Airline: For reservation and schedule information. Airline were among the first to use database in a geographically distributed manner terminals situated around the world accessed the central database system through phone lines and other data network.c) Universities: For students information, course registration, and grades.d) Credits card transaction: For purchases on credits cards and generation of monthly statements.e) Sales: For customer, product, and purchase information.f) Human resources: For information about employees, salaries, payroll taxes and benefits, and for generation of paychecks.
  3. 3. FILE SYSTEM
  4. 4. VIEW OF DATA1. DATA ABSTRACTION• Physical Level: The lowest level of abstraction describes how the data are actually stored.• Logical Level: The next –higher level of abstraction describes what data are actually stored in the database, and what relationship exist among those data.• View Level: The highest level of abstraction describes only part of the entire database.
  5. 5. View levelView 1 View 2 View n Logical level Physical level (The three levels of data abstraction)
  6. 6. INSTANCES AND SCHEMAS: The collection ofinformation stored in the database at a particular moment iscalled an instance of the database. The overall design of thedatabase is called the database schema.
  7. 7. QUERY PROCESSOR The query processor components includes:• DDL interpreter: Which interprets DDL statements and records the definitions in the data dictionary.• DML: Compiler which translates DML statements in a query language into an evaluation plan consisting of low- Level instructions that the evaluation engine understands.• Query evaluation engine: Which executes low-level instruction generates by the DML compiler.
  8. 8. Database Users and Administrators• Database users and user interfaces  Naive Users  Application Programmers  Sophisticated Users  Online analytical processing(ONLP)  Specialized Users
  9. 9. • Database Administrator  Schema definition  Storage structure and access-method definition  Schema and physical-organization modification  Granting of authorization for data access  Routine maintenance
  10. 10. DATA LANGUAGES The database provides a data definitionLanguage to specify the database schema and a dataManipulation language to express database queriesand updates.• DATA-DEFINITION LANGUAGE• DATA-MANIPULATION
  11. 11. DATA-DEFINITION LANGUAGE(DDL): Wespecify a database schema by a set of definition expressedby a special language called a Data-Definition Language. For instance, the following statement in the SQLlanguage defines the account table: e.g. create table account(account-number char (10),balance integer) Execution of the above DDL statement create theaccount table. In addition, it updates a special set oftables called the DATA DICTIONARY or DATADIRECTORY
  12. 12. DATA-MANIPULATION LANGUAGE: Datamanipulation is:• The retrieval of information stored in thedatabase.• The insertion of new information into thedatabase.• The deletion of information from the database.• The modification of information stored in thedatabase.
  13. 13. A data-manipulation language(DML) is alanguage that enables users to access or manipulatedata as organized by the appropriate data model. Thereare basically two types :• Procedural DMLs• Declarative DMLs The query in the SQL language finds the nameof the customer whose customer-id is 1999: e.g. Select customer.customer-name from customer where customer.customer-id=1999
  14. 14. TRANSACTION MANAGEMENT A transaction is a collection of operations thatperforms a single logical function in a databaseapplication. Each transaction is a unit of both atomicityand consistency . Thus, we require that transaction donot violate any database-consistency constraints. Thatis, if the database was consistent when a transactionstarted, the database must be consistent when thetransaction successfully terminates.
  15. 15. STORAGE MANAGER A storage is a program module that provides theinterface between the low-level data stored in the databaseand the application program and queries submitted to thesystem. The storage manager . The storage manager isresponsible for the interaction with the file manager . Therow data are stored on the disk using the file system, whichis usually provided by a conventional operating system.The storage manager translates the various DMLstatements into low-level file-system commands. Thus, thestorage manager is responsible for storing, retrieving andupdating in the database.
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×