版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、 英文原文Database management system1.Database management systemA Database Management System (DBMS) is a set of computer programs that controls thecreation, maintenance, and the use of a database. It allows organizations to place control ofdatabase development in the hands of database administrators (DBA
2、s) and other specialists. ADBMS is a system software package that helps the use of integrated collection of data records andfiles known as databases. It allows different user application programs to easily access the samedatabase. DBMSs may use any of a variety of database models, such as the networ
3、k model orrelational model. In large systems, a DBMS allows users and other software to store and retrievedata in a structured way. Instead of having to write computer programs to extract information, usercan ask simple questions in a query language. Thus, many DBMS packages provideFourth-generation
4、 programming language (4GLs) and other application development features. Ithelps to specify the logical organization for a database and access and use the information within adatabase. It provides facilities for controlling data access, enforcing data integrity, managingconcurrency, and restoring th
5、e database from backups. A DBMS also provides the ability tologically present database information to users.2. OverviewA DBMS is a set of software programs that controls the organization, storage, management,and retrieval of data in a database. DBMSs are categorized according to their data structure
6、s ortypes. The DBMS accepts requests for data from an application program and instructs theoperating system to transfer the appropriate data. The queries and responses must be submittedand received according to a format that conforms to one or more applicable protocols. When aDBMS is used, informati
7、on systems can be changed much more easily as the organizationsinformation requirements change. New categories of data can be added to the database withoutdisruption to the existing system.Database servers are computers that hold the actual databases and run only the DBMS andrelated software. Databa
8、se servers are usually multiprocessor computers, with generous memoryand RAID disk arrays used for stable storage. Hardware database accelerators, connected to one ormore servers via a high-speed channel, are also used in large volume transaction processingenvironments. DBMSs are found at the heart
9、of most database applications. DBMSs may be builtaround a custom multitasking kernel with built-in networking support, but modern DBMSstypically rely on a standard operating system to provide these functions.3. HistoryDatabases have been in use since the earliest days of electronic computing. Unlike
10、 modern systems which can be applied to widely different databases and needs, the vast majority of oldersystems were tightly linked to the custom databases in order to gain speed at the expense offlexibility. Originally DBMSs were found only in large organizations with the computer hardwareneeded to
11、 support large data sets.3.1 1960s Navigational DBMSAs computers grew in speed and capability, a number of general-purpose database systemsemerged; by the mid-1960s there were a number of such systems in commercial use. Interest in astandard began to grow, and Charles Bachman, author of one such pro
12、duct, Integrated Data Store(IDS), founded the Database Task Group within CODASYL, the group responsible for thecreation and standardization of COBOL. In 1971 they delivered their standard, which generallybecame known as the Codasyl approach, and soon there were a number of commercial productsbased o
13、n it available.The Codasyl approach was based on the manual navigation of a linked data set which wasformed into a large network. When the database was first opened, the program was handed back alink to the first record in the database, which also contained pointers to other pieces of data. Tofind a
14、ny particular record theprogrammer had to step through these pointers one at a time untilthe required record was returned. Simple queries like find all the people in India required theprogram to walk the entire data set and collect the matching results. There was, essentially, noconcept of find or s
15、earch. This might sound like a serious limitation today, but in an era whenthe data was most often stored on magnetic tape such operations were too expensive tocontemplate anyway.IBM also had their own DBMS system in 1968, known as IMS. IMS was a development ofsoftware written for the Apollo program
16、 on the System/360. IMS was generally similar in conceptto Codasyl, but used a strict hierarchy for its model of data navigation instead of Codasylsnetwork model. Both concepts later became known as navigational databases due to the way datawas accessed, and Bachmans 1973 Turing Award award presenta
17、tion was The Programmer asNavigator. IMS is classified as a hierarchical database. IMS and IDMS, both CODASYLdatabases, as well as CINCOMs TOTAL database are classified as network databases.3.2 1970s Relational DBMSEdgar Codd worked at IBM in San Jose, California, in one of their offshoot offices th
18、at wasprimarily involved in the development of hard disk systems. He was unhappy with thenavigational model of the Codasyl approach, notably the lack of a search facility which wasbecoming increasingly useful. In 1970, he wrote a number of papers that outlined a new approachto database construction
19、that eventually culminated in the groundbreaking A Relational Model ofData for Large Shared Data Banks.In this paper, he described a new system for storing and working with large databases.Instead of records being stored in some sort of linked list of free-form records as in Codasyl, Codds idea was
20、to use a table of fixed-length records. A linked-list system would be veryinefficient when storing sparse databases where some of the data for any one record could beleft empty. The relational model solved this by splitting the data into a series of normalized tables,with optional elements being mov
21、ed out of the main table to where they would take up room onlyif needed.For instance, a common use of a database system is to track information about users, theirname, login information, various addresses and phone numbers. In the navigational approach all ofthese data would be placed in a single re
22、cord, and unused items would simply not be placed in thedatabase. In the relational approach, the data would be normalized into a user table, an addresstable and a phone number table (for instance). Records would be created in these optional tablesonly if the address or phone numbers were actually p
23、rovided.Linking the information back together is the key to this system. In the relational model, somebit of information was used as a key, uniquely defining a particular record. When informationwas being collected about a user, information stored in the optional (or related) tables would befound by
24、 searching for this key . For instance, if the login name of a user is unique, addresses andphone numbers for that user would be recorded with the login name as its key. This re-linking ofrelated data back into a single collection is something that traditional computer languages are notdesigned for.
25、Just as the navigational approach would require programs to loop in order to collect records,the relational approach would require loops to collect information about any one record. Coddssolution to the necessary looping was a set-oriented language, a suggestion that would later spawnthe ubiquitous
26、SQL. Using a branch of mathematics known as tuple calculus, he demonstrated thatsuch a system could support all the operations of normal databases (inserting, updating etc.) aswell as providing a simple system for finding and returning sets of data in a single operation.Codds paper was picked up by
27、two people at the Berkeley, Eugene Wong and MichaelStonebraker. They started a project known as INGRES using funding that had already beenallocated for a geographical database project, using student programmers to produce code.Beginning in 1973, INGRES delivered its first test products which were ge
28、nerally ready forwidespread use in 1979. During this time, a number of people had moved through the group perhaps as many as 30 people worked on the project, about five at a time. INGRES was similar toSystem R in a number of ways, including the use of a language for data access, known as QUEL QUEL w
29、as in fact relational, having been based on Codds own Alpha language, but has sincebeen corrupted to follow SQL, thus violating much the same concepts of the relational model asSQL itself.IBM itself did one test implementation of the relational model, PRTV , and a production one,Business System 12,
30、both now discontinued. Honeywell did MRDS for Multics, and now there aretwo new implementations: Alphora Dataphor and Rel. All other DBMS implementations usually called relational are actually SQL DBMSs. In 1968, the University of Michigan begandevelopment of the Micro DBMS relational database manag
31、ement system. It was used to managevery large data sets by the US Department of Labor, the Environmental Protection Agency andresearchers from University of Alberta, the University of Michigan and Wayne State University. Itran on mainframe computers using Michigan Terminal System. The system remaine
32、d inproduction until 1996.3.3 End 1970s SQL DBMSIBM started working on a prototype system loosely based on Codds concepts as System R inthe early 1970s. The first version was ready in 1974/5, and work then started on multi-tablesystems in which the data could be split so that all of the data for a r
33、ecord (much of which is oftenoptional) did not have to be stored in a single large chunk. Subsequent multi-user versions weretested by customers in 1978 and 1979, by which time a standardized querylanguage, SQL, hadbeen added. Codds ideas were establishing themselves as both workable and superior to
34、 Codasyl,pushing IBM to develop a true production version of System R, known as SQL/DS, and, later,Database 2 (DB2).Many of the people involved with INGRES became convinced of the future commercialsuccess of such systems, and formed their own companies to commercialize the work but with anSQL interf
35、ace. Sybase, Informix, NonStop SQL and eventually Ingres itself were all being sold asoffshoots to the original INGRES product in the 1980s. Even Microsoft SQL Server is actually are-built version of Sybase, and thus, INGRES. Only Larry Ellisons Oracle started from a differentchain, based on IBMs pa
36、pers on System R, and beat IBM to market when the first version wasreleased in 1978.Stonebraker went on to apply the lessons from INGRES to develop a new database, Postgres,which is now known as PostgreSQL. PostgreSQL is often used for global mission criticalapplications (the .org and .info domain n
37、ame registries use it as their primary data store, as domany large companies and financial institutions).In Sweden, Codds paper was also read and Mimer SQL was developed from the mid-70s atUppsala University. In 1984, this project was consolidated into an independent enterprise. In theearly 1980s, M
38、imer introduced transaction handling for high robustness in applications, an ideathat was subsequently implemented on most other DBMS.3.4 1980s Object Oriented DatabasesThe 1980s, along with a rise in object oriented programming, saw a growth in how data invarious databases were handled. Programmers
39、 and designers began to treat the data in theirdatabases as objects. That is to say that if a persons data were in a database, that personsattributes, such as their address, phone number, and age, were now considered to belong to thatperson instead of being extraneous data. This allows for relations
40、hips between data to be relationto objects and their attributes and not to individual fields. Another big game changer for databases in the 1980s was the focus on increasing reliabilityand access speeds. In 1989, two professors from the University of Michigan at Madison, publishedan article at an AC
41、M associated conference outlining their methods on increasing databaseperformance. The idea was to replicate specific important, and often queried information, andstore it in a smaller temporary database that linked these key features back to the main database.This meant that a query could search th
42、e smaller database much quicker, rather than search theentire dataset. This eventually leads to the practice of indexing, which is used by almost everyoperating system from Windows to the system that operates Apple iPod devices.4. DBMS building blocksA DBMS includes four main parts: modeling languag
43、e, data structure, database querylanguage, and transaction mechanisms:4.1 Components of DBMSDBMS Engine accepts logical request from the various other DBMS subsystems, convertsthem into physical equivalents, and actually accesses the database and data dictionary as they existon a storage device.Data
44、 Definition Subsystem helps user to create and maintain the data dictionary and definethe structure of the files in a database.Data Manipulation Subsystem helps user to add, change, and delete information in adatabase and query it for valuable information. Software tools within the data manipulation
45、subsystem are most often the primary interface between user and the information contained in adatabase. It allows user to specify its logical information requirements.Application Generation Subsystem contains facilities to help users to developtransaction-intensive applications. It usually requires
46、that user perform a detailed series of tasks toprocess a transaction. It facilitates easy-to-use data entry screens, programming languages, andinterfaces.Data Administration Subsystem helps users to manage the overall database environment byproviding facilities for backup and recovery, security mana
47、gement, query optimization,concurrency control, and change management.4.2 Modeling languageA data modeling language to define the schema of each database hosted in the DBMS,according to the DBMS database model. The four most common types of models are the:hierarchical model,network model,relational
48、model, andobject model.Inverted lists and other methods are also used. A given database management system mayprovide one or more of the four models. The optimal structure depends on the natural organization of the applications data, and on the applications requirements (which include transaction rat
49、e(speed), reliability, maintainability, scalability, and cost).The dominant model in use today is the ad hoc one embedded in SQL, despite the objectionsof purists who believe this model is a corruption of the relational model, since it violates several ofits fundamental principles for the sake of pr
50、acticality and performance. Many DBMSs also supportthe Open Database Connectivity API that supports a standard way for programmers to access theDBMS.Before the database management approach, organizations relied on file processing systems toorganize, store, and process data files. End users became ag
51、gravated with file processing becausedata is stored in many different files and each organized in a different way. Each file wasspecialized to be used with a specific application. Needless to say, file processing was bulky,costly and nonflexible when it came to supplying needed data accurately and p
52、romptly. Dataredundancy is an issue with the file processing system because the independent data files produceduplicate data so when updates were needed each separate file would need to be updated. Anotherissue is the lack of data integration. The data is dependent on other data to organize and stor
53、e it.Lastly, there was not any consistency or standardization of the data in a file processing systemwhich makes maintenance difficult. For all these reasons, the database management approach wasproduced. Database management systems (DBMS) are designed to use one of five databasestructures to provid
54、e simplistic access to information stored in databases. The five databasestructures are hierarchical, network, relational, multidimensional and object-oriented models.The hierarchical structure was used in early mainframe DBMS. Records relationships form atreelike model. This structure is simple but
55、 nonflexible because the relationship is confined to aone-to-many relationship. IBMs IMS system and the RDM Mobile are examples of a hierarchicaldatabase system with multiple hierarchies over the same data. RDM Mobile is a newly designedembedded database for a mobile computer system. The hierarchica
56、l structure is used primarytoday for storing geographic information and file systems.The network structure consists of more complex relationships. Unlike the hierarchicalstructure, it can relate to many records and accesses them by following one of several paths. Inother words, this structure allows
57、 for many-to-many relationships.The relational structure is the most commonly used today. It is used by mainframe, midrangeand microcomputer systems. It uses two-dimensional rows and columns to store data. The tablesof records can be connected by common key values. While working for IBM, E.F. Codd d
58、esignedthis structure in 1970. The model is not easy for the end user to run queries with because it mayrequire a complex combination of many tables.The multidimensional structure is similar to the relational model. The dimensions of the cubelooking model have data relating to elements in each cell.
59、 This structure gives a spreadsheet likeview of data. This structure is easy to maintain because records are stored as fundamental attributes, the same way theyre viewed and the structure is easy to understand. Its highperformance has made it the most popular database structure when it comes to enab
60、ling onlineanalytical processing (OLAP).The object oriented structure has the ability to handle graphics, pictures, voice and text, typesof data, without difficultly unlike the other database structures. This structure is popular formultimedia Web-based applications. It was designed to work with obj
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 上海复旦附中2026年高三下学期期末考试英语试题(文A卷)含解析
- 2026年山东省惠民县第二中学高三5月校质检物理试题含解析
- 上海市长宁、嘉定区2026届高三下期末考试(一模)化学试题试卷含解析
- 江苏省盐城市滨海县2026届高三5月高考模拟考试语文试题含解析
- 甘肃省白银市第九中学2026年全国卷Ⅱ语文试题高考模拟题含解析
- 2026年江苏省扬州市江都区大桥高中高三3月网络自测语文试题含解析
- 2025福建漳州闽投华阳发电有限公司招聘52人笔试历年难易错考点试卷带答案解析
- 2025福建泉州工程职业技术学院及南安市翼融信资产运营有限公司招聘35笔试历年典型考点题库附带答案详解2套试卷
- 医疗护理操作流程与服务规范(标准版)
- 2025福建三明市清流县金星园建设发展有限公司招聘笔试参考题库附带答案详解
- 2026元旦主题班会:马年猜猜乐猜成语 (共130题)【课件】
- 2026年中级消防设施操作员新版试题及答案
- 临床成人留置导尿护理及并发症处理-2025团体标准
- 全屋微水泥施工方案
- 西红柿栽培管理技术要点
- 《中国金融学》课件 第4章 信用形式与信用体系-课件
- 医用Mg-Zn-Mn合金:制备、强化工艺与性能的深度剖析
- 院长发现再审申请书范文
- 2024年湖南中烟考试真题及答案
- 超星尔雅《艺术鉴赏》课后答案彭吉象82045
- 国家教育事业发展“十五五”规划纲要
评论
0/150
提交评论