Database System Concepts and Architecture

Slides:



Advertisements
Similar presentations
Database System Concepts and Architecture
Advertisements

Chapter 2 Database System Concepts and Architecture
--What is a Database--1 What is a database What is a Database.
Database Systems Chapter 2
1 Chapter 2 Database System Concepts and Architecture.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 2- 1.
ICS (072)Database Systems Background Review 1 Database Systems Background Review Dr. Muhammad Shafique.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Overview of Database Languages and Architectures.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Chapter 2 Database System Concepts and Architecture.
Centralized and Client/Server Architecture and Classification of DBMS
Database System Concepts and Architecture Dr. Ali Obaidi.
Chapter 2 Database System Concepts and Architecture
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Chapter 1 Database System Architecture.
Database System Concepts and Architecture Lecture # 3 22 June 2012 National University of Computer and Emerging Sciences.
Information storage: Introduction of database 10/7/2004 Xiangming Mu.
DatabaseIM ISU1 Fundamentals of Database Systems Chapter 2 Database System Concepts and Architecture.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 1- 1 Chapter 2: Database System Concepts and Architecture - Outline Data Models and Their.
Slide Chapter 2 Database System Concepts and Architecture.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 2- 1.
Faculty of Information Science and Technology Mahanakorn University of Technology Topic 2 Database System Concepts and Architecture.
Database System Concepts and Architecture Lecture # 2 21 June 2012 National University of Computer and Emerging Sciences.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture.
2. Database System Concepts and Architecture
Ihr Logo Fundamentals of Database Systems Fourth Edition El Masri & Navathe Chapter 2 Database System Concepts and Architecture.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 2- 1.
Elmasri and Navathe, Fundamentals of Database Systems, Fourth Edition Copyright © 2004 Pearson Education, Inc. Slide 2-1 Data Models Data Model: A set.
Chapter 2 Database System Concepts and Architecture Dr. Bernard Chen Ph.D. University of Central Arkansas.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture.
Database System Concepts and Architecture
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 2- 1.
DataBase System Concepts and Architecture
Riyadh Philanthropic Society For Science Prince Sultan College For Woman Dept. of Computer & Information Sciences CS 340 Introduction to Database Systems.
2) Database System Concepts and Architecture. Slide 2- 2 Outline Data Models and Their Categories Schemas, Instances, and States Three-Schema Architecture.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture.
Introduction: Databases and Database Systems Lecture # 1 June 19,2012 National University of Computer and Emerging Sciences.
Database Systems 主講人 : 陳建源 日期 :99/9/14 研究室 : 法 Chapter 2 Database System Concepts and Architecture.
ISC321 Database Systems I Chapter 2: Overview of Database Languages and Architectures Fall 2015 Dr. Abdullah Almutairi.
Chapter 2 Database System Concepts and Architecture ICS (081)1.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 2- 1.
Copyright © 2011 Ramez Elmasri and Shamkant Navathe Chapter 2 Database System Concepts and Architecture.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Chapter 2 Database System Concepts and Architecture.
Chapter 2 Database System Concepts and Architecture Dr. Abdalla AlAmeen.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Chapter 2 Database System Concepts and Architecture.
Database System Concepts and Architecture
College of Arts & Science Computer Science Department
Chapter (2) Database Systems Concepts and Architecture Objectives
Databases (CS507) CHAPTER 2.
Databases and DBMSs Todd S. Bacastow January 2005.
Chapter 2: Database System Concepts and Architecture - Outline
Chapter (2) Database Systems Concepts and Architecture Objectives
Chapter 2 Database System Concepts and Architecture
Database System Concepts and Architecture
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture.
Database System Concepts and Architecture
11/9/2018.
Chapter 2 Database Environment Pearson Education © 2009.
Chapter 2: Database System Concepts and Architecture
Chapter 2 Database Environment Pearson Education © 2009.
Data, Databases, and DBMSs
Database System Concepts and Architecture
12/8/2018.
1 CoSc 265 Fundamental of Database management System Instructor : Welde Janfa.
Database System Concepts and Architecture
Database System Concepts and Architecture
5/8/2019.
5/8/2019.
Chapter 2 Database Environment Pearson Education © 2009.
Database System Concepts and Architecture
Database System Concepts and Architecture
Presentation transcript:

Database System Concepts and Architecture Chapter 2 Database System Concepts and Architecture

Schemas versus Instances Database Schema: The description of a database. Includes descriptions of the database structure, data types, and the constraints on the database. Schema Diagram: An illustrative display of (most aspects of) a database schema. Schema Construct: A component of the schema or an object within the schema, e.g., STUDENT, COURSE.

Schemas versus Instances Database State: The actual data stored in a database at a particular moment in time. This includes the collection of all the data in the database. Also called database instance (or occurrence or snapshot). The term instance is also applied to individual database components, e.g. record instance, table instance, entity instance

Database Schema vs. Database State Refers to the content of a database at a moment in time. Initial Database State: Refers to the database state when it is initially loaded into the system. Valid State: A state that satisfies the structure and constraints of the database.

Database Schema vs. Database State (continued) Distinction The database schema changes very infrequently. The database state changes every time the database is updated. Schema is also called intension. State is also called extension.

Example of a Database Schema Diagram

Example of a database state

Three-Schema Architecture Proposed to support DBMS characteristics of: Program-data independence. Support of multiple views of the data. Defines DBMS schemas at three levels: Internal schema Describes physical storage structures and access paths (e.g indexes). Conceptual schema Describes the structure and constraints for the whole database External schemas Describes the various user views.

The three-schema architecture

DBMS Interfaces Stand-alone query language interfaces Example: Entering SQL queries at the DBMS interactive SQL interface (e.g. SQL*Plus in ORACLE) Programmer interfaces for embedding DML in programming languages User-friendly interfaces Menu-based, forms-based, graphics-based, etc.

User-Friendly DBMS Interfaces Menu-based, popular for browsing on the web Forms-based, designed for naive users Graphics-based (Point and Click, Drag and Drop, etc.) Natural language: requests in written English Combinations of the above: For example, both menus and forms used extensively in Web database interfaces

Other DBMS Interfaces Speech as Input and Output Web Browser as an interface Parametric interfaces, e.g., bank tellers using function keys. Interfaces for the DBA: Creating user accounts, granting authorizations Setting system parameters Changing schemas or access paths

Database System Utilities To perform certain functions such as: Loading data stored in files into a database. Includes data conversion tools. Backing up the database periodically on tape. Performance monitoring utilities. Other functions, such as sorting, user monitoring, data compression, etc.

Other Tools Application Development Environments and CASE (computer-aided software engineering) tools: Examples: PowerBuilder (Sybase) JBuilder (Borland) JDeveloper 10G (Oracle)

Centralized and Client-Server DBMS Architectures Centralized DBMS: Combines everything into single system DBMS software Hardware Application programs User interface processing software. User can still connect through a remote terminal All processing is done at centralized site.

A Physical Centralized Architecture

Basic 2-tier Client-Server Architectures Specialized Servers with Specialized functions Print server File server DBMS server Web server Email server Clients can access the specialized servers as needed

Logical two-tier client server architecture

Clients Provide appropriate interfaces through a client software module to access and utilize the various server resources. Clients may be diskless machines or PCs or Workstations with disks with only the client software installed. Connected to the servers via some form of a network. (LAN: local area network, wireless network, etc.)

DBMS Server Provides database query and transaction services to the clients Relational DBMS servers are often called SQL servers, query servers, or transaction servers

Three Tier Client-Server Architecture Common for Web applications Intermediate Layer called Application Server or Web Server: Stores the web connectivity software Three-tier Architecture Can Enhance Security: Database server only accessible via middle tier Clients cannot directly access database server

Three-tier client-server architecture

Cost considerations for DBMSs Cost Range: from free open-source systems to configurations costing millions of dollars Examples of free relational DBMSs: MySQL, PostgreSQL, others Commercial DBMS offer additional specialized modules, e.g. time-series module, spatial data module, document module, XML module Sometimes called cartridges (e.g., in Oracle) or blades Different licensing options: maximum number of concurrent users (seat license), single user, etc.