Presentation is loading. Please wait.

Presentation is loading. Please wait.

Introduction to Database AIT632 Chapter 1 Sungchul Hong.

Similar presentations


Presentation on theme: "Introduction to Database AIT632 Chapter 1 Sungchul Hong."— Presentation transcript:

1 Introduction to Database AIT632 Chapter 1 Sungchul Hong

2

3 Database System The most important development in the field of software engineering. Database serve as the foundation for considerable progress in the basic science fields ranging from computing to biology.

4 Introduction Database –A collection of related data. DBMS (Database Management System) –The software that manages and controls access to the database. Database application –A program that interacts with the database at some point in its execution.

5 Examples of Databases Supermarket –Inventory –Customer service Credit card Booking a ticket at the travel agents Using the local library University ??

6

7 Geographical Information System

8 Staff staffNofNamelNamepositionsexDOBsalarybranchNo SL21JohnWhiteManagerMOct/1/4530000B005 SG37AnnBeechAssistantFNov/10/6012000B003 SG14DavidFordSupervisorMMar/24/5818000B003 SA9MaryHoweAssistantF19/Feb/709000B007 SG5SusanBrandManagerFJun/3/4024000B003 SL41JulieLeeAssistantFJun/13/659000B005 SELECT staffNo, fName, lName, position, salary FROM Staff WHERE salary > 10000; Table Query Language

9 Relational Database Tables

10 ERD

11

12 File based system v.s. DBMS File based system Database system

13 Traditional File-Based Systems Each program defines and manages its own data. Separation and isolation of data Duplication of data Data dependence Incompatibility of files Fixed queries of application program

14 Database Approach A shared collection of logically related data, and a description of this data, designed to meet the information needs of an organization. System catalog (data dictionary) Program-data independence.

15 File-Based System Sales Files Data entry & report File handling routines File definition

16 The Database Management System (DBMS) A software system that enables users to define, create, maintain, and control access to the database. Data Definition Language(DDL) Data Manipulation Language (DML) –Structured Query Language (SQL) Views –Level of security, customization, provide consistent structure

17

18 Components of the DBMS Environment Hardware –Client-server architecture –Backend, front end Software –DBMS, application programs, SQL Data –Operational data, meta data Procedure –Instructions and rules People

19 Roles in the Database Environment Data Administrator (DA) –Responsible for the management of the data resource including database planning, development and maintenance of standards, policies, and procedures, and conceptual/logical database design. Database Administrator (DBA)-more technical –Responsible for the physical realization of the database, including physical database design and implementation, security and integrity of the application users.

20 Roles in the Database Environment (2) Database Designer –Logical database designer Identifying the data, relationship between the data, and the constraints on the data. Business rules. –Physical database designer Mapping the logical database design into a set of tables and integrity constraints. Selecting specific storage structures Designing security measures required on the data

21 Roles in the Database Environment (3) Application Developer –Provide the required functionality for the end- users. End-Users –Naïve users –Sophisticated users.

22 Data Redundancy

23 Typical DBMS Functionality Define a database : in terms of data types, structures and constraints Construct or Load the Database on a secondary storage medium Manipulating the database : querying, generating reports, insertions, deletions and modifications to its content Concurrent Processing and Sharing by a set of users and programs – yet, keeping all data valid and consistent

24 Typical DBMS Functionality Other features: –Protection or Security measures to prevent unauthorized access –“Active” processing to take internal actions on data –Presentation and Visualization of data

25 Advantages of DBMS Class

26 Advantages of DBMS (1/2) Control of data redundancy Data consistency More information from the same amount of data Sharing of data Improved data integrity Improved security Enforcement of standards

27 Advantages of DBMS (2/2) Economy of scale Balance of confliction requirements Improved data accessibility and responsiveness Increased productivity Improved maintenance through data independence Increased concurrency Improved backup and recovery services

28 Extending Database Capabilities New functionality is being added to DBMSs in the following areas: –Scientific Applications –Image Storage and Management –Audio and Video data management –Data Mining –Spatial data management –Time Series and Historical Data Management The above gives rise to new research and development in incorporating new data types, complex data structures, new operations and storage and indexing schemes in database systems.

29 Database Disadvantage Class

30 Disadvantages of DBMS Complexity Size Cost of DBMS Additional hardware costs Cost of conversion Performance Higher impact of a failure

31 When not to use a DBMS Main inhibitors (costs) of using a DBMS: –High initial investment and possible need for additional hardware. –Overhead for providing generality, security, concurrency control, recovery, and integrity functions. When a DBMS may be unnecessary: –If the database and applications are simple, well defined, and not expected to change. –If there are stringent real-time requirements that may not be met because of DBMS overhead. –If access to data by multiple users is not required.

32 History of DBMS Apollo moon-landing project (1960s) –GUAM (Generalized Update Access Method) –Hierarchical structure IMS (Information Management System) (mid 1960s) –Serial storage –device (Tape recorder) IDS (Integrated Data Store) (mid 1960s) –Network DBMS CODASYL (Conference on Data Systems Languages)

33 History of DBMS DBTG (Data Base Task Group) – 1967 Relational Model – E. F. Codd, 1970 –R –SQL –DB2, SQL/DS, Oracle INGRES II, Informix, Access, FoxPro, Paradox, Interbase, and R:Base ER model – Chen, 1979 –Semantic data modeling Object-Oriented DBMS, Object-Relational DBMS


Download ppt "Introduction to Database AIT632 Chapter 1 Sungchul Hong."

Similar presentations


Ads by Google