




版權說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權,請進行舉報或認領
文檔簡介
1、Database: A database is a collection of information that is organized so that it can easily be accessed, managed, and updated.Database Management System (DBMS):DataBase Management System (DBMS) is a software package that allows data to be effectively stored, retrieved and manipulated and the data st
2、ored in a DBMS packege can be accessed by multiple users and by multiple application programs like (SQL Server, Oracle, Ms-Access) .Comparison of Traditional File-Based Approach and Database ApproachAt the beginning, you should understand the rationale of replacing the traditional file-based system
3、with the database system.File-based SystemFile-based systems were an early attempt to computerize the manual filing system. File-based system is a collection of application programs that perform services for the end-users. Each program defines and manages its data.However, five types of problem are
4、occurred in using the file-based approach:1. Separation and isolation of dataWhen data is isolated in separate files, it is more difficult for us to access data that should be available. The application programmer is required to synchronize the processing of two or more files to ensure the correct d
5、ata is extracted.2. Duplication of dataWhen employing the decentralized file-based approach, the uncontrolled duplication of data is occurred. Uncontrolled duplication of data is undesirable because:i.Duplication is wastefulii.Duplication can lead to loss of data integrity3. Data dependenceUsing fil
6、e-based system, the physical structure and storage of the data files and records are defined in the application program code. This characteristic is known as program-data dependence. Making changes to an existing structure are rather difficult and will lead to a modification of program. Such mainten
7、ance activities are time-consuming and subject to error.4. Incompatible file formatsThe structures of the file are dependent on the application programming language. However file structure provided in one programming language such as direct file, indexed-sequential file which is available in COBOL p
8、rogramming, may be different from the structure generated by other programming language such as C. The direct incompatibility makes them difficult to process jointly.Fixed queries / proliferation of application programsFile-based systems are very dependent upon the application programmer. Any requir
9、ed queries or reports have to be written by the application programmer. Normally, a fixed format query or report can only be entertained and no facility for ad-hoc queries if offered.Database Approach:In order to overcome the limitations of the file-based approach, the concept of database and the Da
10、tabase Management System (DMS) was emerged in 60s.AdvantagesA number of advantages of applying database approach in application system are obtained including:1. Control of data redundancyThe database approach attempts to eliminate the redundancy by integrating the file. Although the database approac
11、h does not eliminate redundancy entirely, it controls the amount of redundancy inherent in the database.2. Data consistencyBy eliminating or controlling redundancy, the database approach reduces the risk of inconsistencies occurring. It ensures all copies of the data are kept consistent.3. More info
12、rmation from the same amount of dataWith the integration of the operated data in the database approach, it may be possible to derive additional information for the same data.4. Sharing of dataDatabase belongs to the entire organization and can be shared by all authorized users.5. Improved data integ
13、rityDatabase integrity provides the validity and consistency of stored data. Integrity is usually expressed in terms of constraints, which are consistency rules that the database is not permitted to violate.6. Improved securityDatabase approach provides a protection of the data from the unauthorized
14、 users. It may take the term of user names and passwords to identify user type and their access right in the operation including retrieval, insertion, updating and deletion.7. Enforcement of standardsThe integration of the database enforces the necessary standards including data formats, naming conv
15、entions, documentation standards, update procedures and access rules.8. Economy of scaleCost savings can be obtained by combining all organization's operational data into one database with applications to work on one source of data.9. Balance of conflicting requirementsBy having a structural des
16、ign in the database, the conflicts between users or departments can be resolved. Decisions will be based on the base use of resources for the organization as a whole rather that for an individual entity.10. Improved data accessibility and responsivenessBy having an integration in the database approa
17、ch, data accessing can be crossed departmental boundaries. This feature provides more functionality and better services to the users.11. Increased productivityThe database approach provides all the low-level file-handling routines. The provision of these functions allows the programmer to concentrat
18、e more on the specific functionality required by the users. The fourth-generation environment provided by the database can simplify the database application development.12. Improved maintenanceDatabase approach provides a data independence. As a change of data structure in the database will be affec
19、t the application program, it simplifies database application maintenance.13. Increased concurrencyDatabase can manage concurrent data access effectively. It ensures no interference between users that would not result any loss of information nor loss of integrity.14. Improved backing and recovery se
20、rvicesModern database management system provides facilities to minimize the amount of processing that can be lost following a failure by using the transaction approach.DisadvantagesIn split of a large number of advantages can be found in the database approach, it is not without any challenge. The fo
21、llowing disadvantages can be found including:1. ComplexityDatabase management system is an extremely complex piece of software. All parties must be familiar with its functionality and take full advantage of it. Therefore, training for the administrators, designers and users is required.2. SizeThe da
22、tabase management system consumes a substantial amount of main memory as well as a large number amount of disk space in order to make it run efficiently.3. Cost of DBMS A multi-user database management system may be very expensive. Even after the installation, there is a high recurrent annual mainte
23、nance cost on the software.4. Cost of conversionWhen moving from a file-base system to a database system, the company is required to have additional expenses on hardware acquisition and training cost.5. PerformanceAs the database approach is to cater for many applications rather than exclusively for
24、 a particular one, some applications may not run as fast as before.6. Higher impact of a failureThe database approach increases the vulnerability of the system due to the centralization. As all users and applications reply on the database availability, the failure of any component can bring operatio
25、ns to a halt and affect the services to the customer seriously.DBMS Architecture:1. External view: This is a highest level of abstraction as seen by user. This level of abstraction describes only the part of entire database. It is based on the conceptual model, is the end user view of data environme
26、nt. Each external view described by means of a schema called an external schema or subschema.2. Conceptual level: At this level of database abstraction all the database entities and the relationships among them are included. One conceptual view represents the entire database. the conceptual schema d
27、efines ths conceptual view.3. Internal(physical) level : This lowest level of abstraction. it closest to physical storage device. It describes how data are actually stored on the storage medium. The internal schema, which contains the definition of the stored record, the method representing the data
28、 fields, expresses the internal view and the access aids used.Data Independence:1. The ability to modify a scheme definition in one level without affecting a scheme definition in a higher level is called data independence. 2. There are two kinds: o Physical data independence § The ability to mo
29、dify the physical scheme without causing application programs to be rewritten § Modifications at this level are usually to improve performance o Logical data independence § The ability to modify the conceptual scheme without causing application programs to be rewritten § Usually done
30、when logical structure of database is altered 3. Logical data independence is harder to achieve as the application programs are usually heavily dependent on the logical structure of the data. An analogy is made to abstract data types in programming languages. Types of Database Users: Users are diffe
31、rentiated by the way they expect to interact with the system: 4. · Application programmers - interact with system through DML calls. 5. · Sophisticated users - form requests in a database query language. 6. · Specialized users - write specialized database applications that do not fit
32、into the traditional data processing framework. 7. ·Naive users - invoke one of the permanent application programs that have been written previously. Database Administrator Roles and Responsibilities:A Database Administrator, Database Analyst or Database Developer is the person responsible for managing the information within an organization. As most companies continue to experience inevitable growth of their databases, these positions are probably the most solid within the IT in
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經(jīng)權益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
- 6. 下載文件中如有侵權或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 戰(zhàn)略管理流程與風險評估試題及答案
- 掌握網(wǎng)絡管理員考試核心內(nèi)容的試題及答案
- 綠色產(chǎn)業(yè)的經(jīng)濟政策支持試題及答案
- 數(shù)據(jù)管理與戰(zhàn)略決策的風險試題及答案
- 2025屆浙江省溫州市瑞安市集云實驗學校數(shù)學七下期末質(zhì)量檢測試題含解析
- 社團文化節(jié)的舉辦方案計劃
- 法學概論前沿研究的試題及答案
- 2025屆大慶市重點中學七下數(shù)學期末復習檢測試題含解析
- 行政管理創(chuàng)新思維試題及答案
- 秘書工作的心理調(diào)適技巧計劃
- 郵輪概論考試題及答案
- (2024)仁愛科普版七年級下冊英語全冊知識點總結 (2022新課標 完整版)
- 2024年春八年級生物下冊 25.1 發(fā)酵技術教學設計 (新版)北師大版
- 課題申報書:特殊兒童隨班就讀支持保障機制研究
- 公務用車規(guī)范和管理
- 2025-2030中國水系鈉離子電池市場需求規(guī)模及產(chǎn)業(yè)競爭戰(zhàn)略規(guī)劃報告
- 配料投料操作流程
- DB37-T 5310-2025《城鎮(zhèn)排水管渠養(yǎng)護維修服務規(guī)范》
- 2025年上海市崇明區(qū)中考英語一模試卷
- 2025中考復習必背初中英語單詞1600打印版(上)
- 留隊申請書消防
評論
0/150
提交評論