1、扬州大学计算机专业毕业设计(外文翻译)外文资料Database Management SystemsA database (sometimes spelled data base) is also called an electronic database , referring to any collection of data, or information, that is specially organized for rapid search and retrieval by a computer. Databases are structured to facilitate the
2、 storage, retrieval , modification, and deletion of data in conjunction with various dataprocessing operations 。Databases can be stored on magnetic disk or tape, optical disk, or some other secondary storage device.A database consists of a file or a set of files. The information in these files may b
3、e broken down into records, each of which consists of one or more fields. Fields are the basic units of data storage , and each field typically contains information pertaining to one aspect or attribute of the entity described by the database 。 Using keywords and various sorting commands, users can
4、rapidly search , rearrange, group, and select the fields in many records to retrieve or create reports on particular aggregate of data。Complex data relationships and linkages may be found in all but the simplest databases .The system software package that handles the difficult tasks associated with
5、creating ,accessing, and maintaining database records is called a database management system(DBMS)。The programs in a DBMS package establish an interface between the database itself and the users of the database。 (These users may be applications programmers, managers and others with information needs
6、, and various OS programs。)A DBMS can organize, process, and present selected data elements form the database。 This capability enables decision makers to search, probe, and query database contents in order to extract answers to nonrecurring and unplanned questions that arent available in regular rep
7、orts。 These questions might initially be vague and/or poorly defined ,but people can “browse” through the database until they have the needed information。 In short, the DBMS will “manage” the stored data items and assemble the needed items from the common database in response to the queries of those
8、 who arent programmers.A database management system (DBMS) is composed of three major parts:(1)a storage subsystem that stores and retrieves data in files;(2) a modeling and manipulation subsystem that provides the means with which to organize the data and to add , delete, maintain, and update the d
9、ata;(3)and an interface between the DBMS and its users。 Several major trends are emerging that enhance the value and usefulness of database management systems;Managers: who require more upto-data information to make effective decisionCustomers: who demand increasingly sophisticated information servi
10、ces and more current information about the status of their orders, invoices, and accounts。Users: who find that they can develop custom applications with database systems in a fraction of the time it takes to use traditional programming languages.Organizations : that discover information has a strate
11、gic value; they utilize their database systems to gain an edge over their competitors。The Database ModelA data model describes a way to structure and manipulate the data in a database. The structural part of the model specifies how data should be represented(such as tree, tables, and so on ).The man
12、ipulative part of the model specifies the operation with which to add, delete, display, maintain, print, search, select, sort and update the data.Hierarchical ModelThe first database management systems used a hierarchical model-that is-they arranged records into a tree structure。 Some records are ro
13、ot records and all others have unique parent records. The structure of the tree is designed to reflect the order in which the data will be used that is ,the record at the root of a tree will be accessed first, then records one level below the root ,and so on。The hierarchical model was developed beca
14、use hierarchical relationships are commonly found in business applications。 As you have known, an organization char often describes a hierarchical relationship: top management is at the highest level, middle management at lower levels, and operational employees at the lowest levels. Note that within
15、 a strict hierarchy, each level of management may have many employees or levels of employees beneath it, but each employee has only one manager。 Hierarchical data are characterized by this one-tomany relationship among data.In the hierarchical approach, each relationship must be explicitly defined w
16、hen the database is created。 Each record in a hierarchical database can contain only one key field and only one relationship is allowed between any two fields. This can create a problem because data do not always conform to such a strict hierarchy.Relational Model A major breakthrough in database re
17、search occurred in 1970 when E。 F. Codd proposed a fundamentally different approach to database management called relational model ,which uses a table as its data structure。The relational database is the most widely used database structure. Data is organized into related tables。 Each table is made u
18、p of rows called and columns called fields. Each record contains fields of data about some specific item。 For example, in a table containing information on employees, a record would contain fields of data such as a persons last name ,first name ,and street address。Structured query language(SQL)is a
19、query language for manipulating data in a relational database .It is nonprocedural or declarative, in which the user need only specify an English-like description that specifies the operation and the described record or combination of records。 A query optimizer translates the description into a proc
20、edure to perform the database manipulation。Network ModelThe network model creates relationships among data through a linkedlist structure in which subordinate records can be linked to more than one parent record。 This approach combines records with links, which are called pointers。 The pointers are
21、addresses that indicate the location of a record。 With the network approach, a subordinate record can be linked to a key record and at the same time itself be a key record linked to other sets of subordinate records。 The network mode historically has had a performance advantage over other database m
22、odels。 Today , such performance characteristics are only important in highvolume ,high-speed transaction processing such as automatic teller machine networks or airline reservation system。Both hierarchical and network databases are application specific。 If a new application is developed ,maintaining
23、 the consistency of databases in different applications can be very difficult. For example, suppose a new pension application is developed .The data are the same, but a new database must be created。Object Model The newest approach to database management uses an object model , in which records are re
24、presented by entities called objects that can both store data and provide methods or procedures to perform specific tasks。The query language used for the object model is the same objectoriented programming language used to develop the database application 。This can create problems because there is n
25、o simple , uniform query language such as SQL 。 The object model is relatively new, and only a few examples of objectoriented database exist. It has attracted attention because developers who choose an objectoriented programming language want a database based on an object-oriented model。Distributed
26、DatabaseSimilarly , a distributed database is one in which different parts of the database reside on physically separated computers 。 One goal of distributed databases is the access of information without regard to where the data might be stored. Keeping in mind that once the users and their data ar
27、e separated , the communication and networking concepts come into play .Distributed databases require software that resides partially in the larger computer. This software bridges the gap between personal and large computers and resolves the problems of incompatible data formats. Ideally, it would m
28、ake the mainframe databases appear to be large libraries of information, with most of the processing accomplished on the personal computer。A drawback to some distributed systems is that they are often based on what is called a mainframe-entire model , in which the larger host computer is seen as the
29、 master and the terminal or personal computer is seen as a slave。 There are some advantages to this approach 。 With databases under centralized control , many of the problems of data integrity that we mentioned earlier are solved . But todays personal computers, departmental computers, and distribut
30、ed processing require computers and their applications to communicate with each other on a more equal or peertopeer basis. In a database, the client/server model provides the framework for distributing databases。One way to take advantage of many connected computers running database applications is t
31、o distribute the application into cooperating parts that are independent of one anther. A client is an end user or computer program that requests resources across a network。 A server is a computer running software that fulfills those requests across a network . When the resources are data in a datab
32、ase ,the client/server model provides the framework for distributing database。A file serve is software that provides access to files across a network. A dedicated file server is a single computer dedicated to being a file server。 This is useful ,for example ,if the files are large and require fast a
33、ccess 。In such cases, a minicomputer or mainframe would be used as a file server. A distributed file server spreads the files around on individual computers instead of placing them on one dedicated computer.Advantages of the latter server include the ability to store and retrieve files on other comp
34、uters and the elimination of duplicate files on each computer。 A major disadvantage , however, is that individual read/write requests are being moved across the network and problems can arise when updating files. Suppose a user requests a record from a file and changes it while another user requests
35、 the same record and changes it too. The solution to this problems called record locking, which means that the first request makes others requests wait until the first request is satisfied . Other users may be able to read the record, but they will not be able to change it 。A database server is soft
36、ware that services requests to a database across a network。 For example, suppose a user types in a query for data on his or her personal computer . If the application is designed with the client/server model in mind ,the query language part on the personal computer simple sends the query across the
37、network to the database server and requests to be notified when the data are found.Examples of distributed database systems can be found in the engineering world。 Suns Network Filing System(NFS),for example, is used in computeraided engineering applications to distribute data among the hard disks in
38、 a network of Sun workstation.Distributing databases is an evolutionary step because it is logical that data should exist at the location where they are being used 。 Departmental computers within a large corporation ,for example, should have data reside locally , yet those data should be accessible
39、by authorized corporate management when they want to consolidate departmental data . DBMS software will protect the security and integrity of the database , and the distributed database will appear to its users as no different from the non-distributed database 。In this information age, the data serv
40、er has become the heart of a company。 This one piece of software controls the rhythm of most organizations and is used to pump information lifeblood through the arteries of the network。 Because of the critical nature of this application, the data server is also the one of the most popular targets fo
41、r hackers。 If a hacker owns this application, he can cause the companys heart” to suffer a fatal arrest.Ironically, although most users are now aware of hackers, they still do not realize how susceptible their database servers are to hack attacks. Thus, this article presents a description of the pri
42、mary methods of attacking database servers (also known as SQL servers) and shows you how to protect yourself from these attacks. You should note this information is not new。 Many technical whitepapers go into great detail about how to perform SQL attacks, and numerous vulnerabilities have been poste
43、d to security lists that describe exactly how certain database applications can be exploited. This article was written for the curious non-SQL experts who do not care to know the details, and as a review to those who do use SQL regularly. What Is a SQL Server?A database application is a program that
44、 provides clients with access to data. There are many variations of this type of application, ranging from the expensive enterpriselevel Microsoft SQL Server to the free and open source mySQL. Regardless of the flavor, most database server applications have several things in common. First, database
45、applications use the same general programming language known as SQL, or Structured Query Language. This language, also known as a fourthlevel language due to its simplistic syntax, is at the core of how a client communicates its requests to the server。 Using SQL in its simplest form, a programmer ca
46、n select, add, update, and delete information in a database. However, SQL can also be used to create and design entire databases, perform various functions on the returned information, and even execute other programs.To illustrate how SQL can be used, the following is an example of a simple standard
47、 SQL query and a more powerful SQL query: Simple: Select from dbFurniture。tblChairThis returns all information in the table tblChair from the database dbFurniture。Complex: ”EXEC master.。xp_cmdshell dir c:”This short SQL command returns to the client the list of files and folders under the c: directo
48、ry of the SQL server. Note that this example uses an extended stored procedure that is exclusive to MS SQL Server. The second function that database server applications share is that they all require some form of authenticated connection between client and host. Although the SQL language is fairly e
49、asy to use, at least in its basic form, any client that wants to perform queries must first provide some form of credentials that will authorize the client; the client also must define the format of the request and response。This connection is defined by several attributes, depending on the relative location of the client and what operating systems are in use。 We could spend a whole article discussing various technologies such as DSN connections, DSN