计算机专业英语Unit06SectionADatabaseOverview.ppt
《计算机专业英语Unit06SectionADatabaseOverview.ppt》由会员分享,可在线阅读,更多相关《计算机专业英语Unit06SectionADatabaseOverview.ppt(49页珍藏版)》请在三一办公上搜索。
1、Unit 6 Database Section A Database Overview,2/45,I.Introduction,Data storage traditionally used individual,unrelated files,sometimes called flat files.In the past,each application program in an organization used its own file.In a university,for example,each department might have its own set of files
2、:the record office kept a file about the student information and their grades,the financial aid office kept its own file about students that needed financial aid to continue their education,,一、引言 数据存储传统上是使用单独的没有联系的文件,这些文件有时称为平面文件。在过去,一个机构中的每个应用程序都使用自己的文件。例如,在一个大学中,每个部门都可能有其自己的文件集:档案办公室保存着关于学生信息和学生成绩
3、的文件;经济资助办公室保存着其自己的关于需要经济资助以继续学业的学生的文件;,3/45,I.Introduction,the scheduling office kept the names of the professors and the courses they were teaching,the payroll department kept its own file about the whole staff(including professors),and so on.Today,however,all of these flat files can be combined in
4、 a single entity,the database for the whole university.,调度办公室保存着教授的姓名和他们所教的课程;工薪发放部门保存着其自己的关于全体教职员工(包括教授)的文件,等等。然而,所有这些平面文件今天都可结合成一个实体供整个大学使用的数据库。,4/45,I.Introduction,Although it is difficult to give a universally agreed definition of a database,we use the following common definition:a database is a
5、 collection of related,logically,coherent data used by the application programs in an organization.,虽然难以给出一个普遍接受的数据库定义,但我们使用下面常见的定义:一个数据库是被一个机构内的应用程序所使用的具有逻辑相干性的相关数据的集合。,adj.,粘在一起的,一致的,连贯的a coherent essay.一篇条理分明的文章,5/45,Database Management Systems,A database management system(DBMS)defines,creates,an
6、d maintains a database.The DBMS also allows controlled access to data in the database.A DBMS is a combination of five components:hardware,software,data,users,and procedures.,数据库管理系统定义、创建和维护数据库。数据库管理系统也允许对数据库中的数据进行受控的访问。一个数据库管理系统由5个组成部分构成:硬件、软件、数据、用户和规程。,6/45,Database Management Systems,1HardwareThe
7、hardware is the physical computer system that allows access to data.For example,the terminals,hard disk,main computer and workstations are considered part of the hardware in a DBMS.,1、硬件硬件是指允许访问数据的计算机物理系统。例如,终端、硬盘、主机和工作站被认为是数据库管理系统的硬件组成部分。,7/45,Database Management Systems,2SoftwareThe software is th
8、e actual program that allows users to access,maintain,and update data.In addition,the software controls which user can access which parts of the data in the database.,2、软件软件是指允许用户访问、维护和更新数据的实际程序。另外,软件还控制着哪个用户可以对数据库中的哪部分数据进行访问。,8/45,Database Management Systems,3DataThe data in a database is stored ph
9、ysically on the storage device.In a database,data is a separate entity from the software that accesses it.This separation allows an organization to change the software without having to change the physical data or the way in which it is stored.,3、数据数据库中的数据存储在物理存储设备上。在一个数据库中,数据是独立于对其进行访问的软件的一个实体。这种独立
10、使一个机构可以在不必更改物理数据及其存储方式的情况下更改软件。,9/45,Database Management Systems,If an organization decides to use a DBMS,then all the information needed by the organization should be kept together as one entity,to be accessible by the software in the DBMS.,如果一个机构决定使用一个数据库管理系统,那么该机构所需要的所有信息都应作为一个实体保存在一起,可由数据库管理系统中的
11、软件访问。,10/45,Database Management Systems,4.UsersThe term user in a DBMS has a broad meaning.We can divide users into two categories:end users and application programs.End users are those humans who can access the database directly to get information.There are two types of end users database administr
12、ators(DBAs)and normal users.,4、用户在数据库管理系统中,用户这个术语有着广泛的定义。我们可以将用户分为两类:最终用户和应用程序。最终用户是指可直接访问数据库以获取信息的人。最终用户又分为两类:数据库管理员和普通用户。,adj.,宽的,阔的,广泛的a broad river;broad shoulders.宽广的大河;宽阔的双肩abroad,adv.,往国外,到处,海外 go abroad 出国,11/45,Database Management Systems,Database administrators have the maximum level of pr
13、ivileges and can control other users and their access to the DBMS,grant some of their privileges to somebody else,but retain the ability to revoke them at any time.A normal user,on the other hand,can only use part of the database and has limited access.,数据库管理员拥有最高程度的特权,可以控制其他用户及其对数据库管理系统的访问,可以将其某些特权
14、授予其他人并保留随时收回这些特权的能力。另一方面,普通用户只能使用数据库的一部分,只能进行有限的访问。,vt.,同意,准予,承认(某事为真)n.,补助金;助学金;赠款;津贴The government gave us a grant to build another classroom.政府给了我们一笔补助,用来盖另外一间教室。,vt.,撤回,废除,宣告无效Her license was revoked.她的执照被吊销,12/45,Database Management Systems,The other users of data in a database are application
15、programs.Applications need to access and process data.For example,a payroll application program needs to access part of the data in a database to create paychecks at the end of the month.,数据库中数据的其他用户就是应用程序。应用程序需要访问和处理数据。例如,工薪发放应用程序需要在月底访问数据库中的部分数据,来开支付工薪的支票。,13/45,Database Management Systems,5Proced
16、uresThe last component of a DBMS is a set of procedures or rules that should be clearly defined and followed by the users of the database.,5、规程数据库管理系统的最后一个组成部分就是应该明确定义并为数据库用户所遵循的一套规程或规则。,14/45,.Database Architecture,The American National Standards Institute Standards Planning and Requirements Commit
17、tee(ANSI/SPARC)has established a three-level architecture for a DBMS:internal,conceptual,and external(Figure 6A-1).,三、数据库体系结构美国国家标准协会标准计划与需求委员会(ANSI/SPARC)为数据库管理系统确立了一个包含3个层次的体系结构:内层、概念层和外层。,15/45,Hardware,Figure 6A-1:Database Architecture,User View,User View,User View,External View,Conceptual View,
18、Internal View,16/45,.Database Architecture,1.Internal LevelThe internal level determines where data is actually stored on the storage devices.This level deals with low level access methods and how bytes are transferred to and from storage devices.In other words,the internal level interacts directly
19、with the hardware.,1、内层内层决定数据在存储设备上的实际存储位置。该层涉及低级访问方法,以及字节如何传向和传自存储设备。换句话说,内层直接与硬件交互。,17/45,.Database Architecture,2.Conceptual LevelThe conceptual level defines the logical view of the data.The data model is defined on this level,and the main functions of the DBMS,such as queries,are also on this l
20、evel.The DBMS changes the internal view of data to the external view that users need to see.The conceptual level is an intermediary and frees users from dealing with the internal level.,2、概念层概念层定义数据的逻辑视图。数据模型在该层定义,数据库管理系统的主要功能如查询也在该层。数据库管理系统把数据的内部视图转化为用户需要看到的外部视图。概念层是中介层,它使得用户不必与内层打交道。,18/45,.Databa
21、se Architecture,3.External LevelThe external level interacts directly with the user(end users or application programs).It changes the data coming from the conceptual level to a format and view that is familiar to the users.,3、外层外层直接与用户(最终用户或应用程序)交互。它将来自概念层的数据转化为用户所熟悉的格式和视图。,19/45,IV.Database Models,
22、A database model defines the logical design of data.The model also describes the relationships between different parts of the data.In the history of database design,three models have been in use:the hierarchical model,the network model,and the relational model.,数据库模型定义数据的逻辑设计。它也描述数据的不同部分之间的关系。在数据库设计
23、史上,使用过3种数据库模型:层次模型、网络模型和关系模型。,20/45,IV.Database Models,1.Hierarchical Database ModelIn the hierarchical model,data is organized as an inverted tree,each entity has only one parent but can have several children.At the top of the hierarchy,there is one entity,which is called the root.Figure 6A-2 shows
24、 a logical view of an example of the hierarchical model.The hierarchical model is now obsolete.,1、层次数据库模型在层次模型中,数据被组织成一棵倒置的树。每个实体只有一个父,但可有数个子。在分层结构的顶部,有一个实体,称为根。图6A-2给出了一个层次模型例子的逻辑视图。层次模型现在已经过时。,invert:vt.,使颠倒,使转化convert:vt.,使转变,转换.,使.改变信仰revert:vi.,(与to连用)恢复原状;回复;回到(原来话题),adj.,荒废的,陈旧的an obsolete wo
25、rd已废的词,21/45,Figure 6A-2:An Example of the Hierarchical Model Representing a University,No.,Name,No.,Name,No.,Name,ID,Name,Unit,Unit,Department,Courses,Students,Professors,22/45,IV.Database Models,2.Network Database Model In the network model,the entities are organized in a graph,in which some entit
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 计算机专业 英语 Unit06SectionADatabaseOverview
链接地址:https://www.31ppt.com/p-6606134.html