CHAPTER 2 Database Environment

Chapter Objectives   (章节目标)

In this chapter you will learn:  (在本章中,你将学习:)

  • The purpose and origin of the three-level database architecture.  (三层数据库的架构和起源。)
  • The contents of the external, conceptual, and internal levels. (外部、概念、内部层次的内容。)
  • The purpose of the external/conceptual and the conceptual/internal mappings. (外部/概念、和概念/内部映射的目的。)
  • The meaning of logical and physical data independence. (逻辑和物理数据独立性的意义。)
  • The distinction between a Data Definition Language (DDL) and a Data Manipulation Language (DML).  (数据定义语言(DDL)和数据操作语言(DML)之间的区别。)
  • A classification of data models.  (数据模型的分类。)
  • The purpose and importance of conceptual modeling.  (概念建模的目的和重要性)
  • The typical functions and services that a DBMS should provide.  (DBMS 应提供的典型功能和服务。 )
  • The function and importance of the system catalog.  (系统目录的功能和重要性)

  A major aim of a database system is to provide users with an abstract view of data, hiding certain details of how data is stored and manipulated. Therefore, the starting point for the design of a database must be an abstract and general description of the information requirements of the organization that is to be represented in the database. In this chapter, and throughout this book, we use the term "organization" loosely to mean the whole organization or part of the organization. For example, in the  DreamHome case study, we may be interested in modeling:

  • the "real=-world" entities Staff, PropertyforRent, PrivateOwner, and Client;
  • attributes describing properties or qualities of each entity (for example, each Staff entry has a name, position, and salary);
  • relationships between these entities (for example, staff Manages PropertyforRent).

  Furthermore, because a database is a shared resource, each user may require a different view of the data held in the database. To satisfy these needs, the architecture of most commercial DBMSs available today is based to some extent on the so-called ANSI-SPARC architecture. In this chapter, we discuss various architectural and functional characteristics of DBMSs.

Structure of this chapter       In Section 2.1, we examine the three-level ANSI-SPARC architecture and its associated benefits. In Section 2.2, we consider the types of language that are used by DBMSs, and in Section 2.3, we introduce the concepts of data models and conceptual modeling, which we expand on in later parts of the book. In Section 2.4, we discuss the functions that we would expect a DBMS to provide. The examples in this chapter are drawn from the DreamHome case study, which we discuss more fully in Section 11.4 and Appendix A.

  Much of the material in this chapter provides important background information on DBMSs. However, the reader who is new to the area of database systems may find some of the material difficult to comprehend fully on first reading. Do not be too concerned about this, but be prepared to revisit parts of this chapter at a later data when you have read subsequent chapters of the book.

2.1 The Three-level ANSI-SPARC Architecture


An early for a standard terminology and general architecture for database systems was produced in 1971 by the DBTG appointed by CODASYL in 1971. The DBTG recognized the need for  a two-level approach with a system view called the schema and user views called subschemas.

时间: 2024-08-04 13:39:50

CHAPTER 2 Database Environment的相关文章

CHAPTER 1 Introduction to database (第一章 数据库简介)

Chaper  Objectives  (章节目标) In this chapter you will learn:   (在这一章节中,你将学习) 1. Some common uses of database systems.   (数据库系统的一些普通扩法) 2.The characteristics of file-based systems. (基于文件系统的一些特点.) 3. The problems with the file-based systems.  (基于文件系统拥有的一

How To Enable Archive Log Mode In a RAC Environment

How To Enable Archive Log Mode In a RAC Environment (文档 ID 1963148.1) APPLIES TO: Oracle Applications Manager - Version 12.2 to 12.2 [Release 12.2] Information in this document applies to any platform. GOAL How to enable archive log mode In a RAC Env

Using UTL_DBWS to Make a Database 11g Callout to a Document Style Web Service

In this Document   Purpose   Scope   Details APPLIES TO: Oracle Database - Enterprise Edition - Version 11.1.0.6 and later Web Services - Version 10.1.3.1.0 and later Information in this document applies to any platform. PURPOSE This article provides

GitHub: Oracle RAC Database on Docker 未测试 改天试试

https://github.com/oracle/docker-images/blob/master/OracleDatabase/RAC/OracleRealApplicationClusters/README.md Oracle RAC Database on Docker Oracle Real Application Clusters (RAC) is an option to the award-winning Oracle Database Enterprise Edition.

FAQ: Automatic Statistics Collection (文档 ID 1233203.1)

In this Document   Purpose   Questions and Answers   What kind of statistics do the Automated tasks collect   How do I revert to a previous set of statistics?   Does the automatic statistic collection jobs populate CHAIN_CNT?   11g+ Automatic Mainten

Migrating Oracle on UNIX to SQL Server on Windows

Appendices Published: April 27, 2005 On This Page Appendix A: SQL Server for Oracle Professionals Appendix B: Getting the Best Out of SQL Server 2000 and Windows Appendix C: Baselining Appendix D: Installing Common Drivers and Applications Installing

bsdasm

bsdasm 来源 http://www.int80h.org/bsdasm/ Preface by G. Adam StanislavWhiz Kid Technomagic Assembly language programing under Unix is highly undocumented. It is generally assumed that no one would ever want to use it because various Unix systems run on

Installation Oracle11gR2 RAC---归档模式开启与关闭

RAC环境下归档模式修改从10G R2以后,不再修改cluster_database参数,参考链接How To Enable/Disable Archive Logging In RAC Environment for 10.2 and higher version.步骤如下所示: 1. The following steps need to be taken to enable archive logging in a RAC database environment:-- shutdown

Oracle 11gR2 RAC 新特性说明

最近接触了一下Oracle 11g R2 的RAC,发现变化很大. 所以在自己动手做实验之前还是先研究下它的新特性比较好. 一.    官网介绍 先看一下Oracle 的官网文档里对RAC 新特性的一点说明. Oracle Database 11g Release 2 (11.2.0.2) New Features in Oracle RAC http://download.oracle.com/docs/cd/E11882_01/rac.112/e16795/whatsnew.htm#CHDJ