题 目:oracle数据库巡检报告自动生成工具
目 录
摘 要: ........................................................................................................................................................................ 1 ABSTRACT: ............................................................................................................................................................. 1 绪 论 .......................................................................................................................................................................... 2 第一章 工具开发分析................................................................................................................................................. 3 1.1 需求分析 ........................................................................................................................................................... 3 1.2 工具的性能分析 ............................................................................................................................................... 3 1.3 运行环境 ........................................................................................................................................................... 3 第二章 使用技术的介绍 ............................................................................................................................................. 5 2.1 所用语言简介 ................................................................................................................................................... 5 2.1.1 Java简介 ................................................................................................................................................. 5 2.1.2 HTML简介 ............................................................................................................................................... 5 2.1.3 CSS简介 ................................................................................................................................................. 5 2.2 数据库简介 ....................................................................................................................................................... 5 2.3 JAVA SE介绍 ..................................................................................................................................................... 6 第三章 总体设计分析............................................................................................................................................... 7 3.1工具所需代码设计 ........................................................................................................................................... 7 3.2工具的流程设计和功能模块 ............................................................................................................................ 7 3.3 数据库设计 ....................................................................................................................................................... 8 3.3.1 数据库需求分析 ........................................................................................................................................ 8 3.3.2 数据库逻辑结构设计 ................................................................................................................................ 9 第四章 总体设计实现............................................................................................................................................. 12 4.1 生成初始文档 .................................................................................................................................................. 12 4.2 JAVA进行中英替换 ......................................................................................................................................... 14 4.3 页面最终效果 ................................................................................................................................................. 14 第五章 测试与总结................................................................................................................................................... 19 5.1 测试内容 ......................................................................................................................................................... 19 5.2 测试中出现的问题 ......................................................................................................................................... 19 5.3 总结 ................................................................................................................................................................. 21 结束语 ........................................................................................................................................................................ 22 参考文献 .................................................................................................................................................................... 23 指导教师评语 ............................................................................................................................................................ 24 评阅人评语 ................................................................................................................................................................ 25
Oracle数据库巡检报告自动生成工具
摘 要:20世纪末,随着计算机科学的发展,数据库技术在Internet中的应用越来越广泛,越来越多的企业都有属于自己的数据库,对数据库的维护工作也就越发重要起来。数据库种类繁多,几大巨头公司相继推出自己的数据库产品,其中甲骨文的oracle数据库更是越来越受到各大企业的喜欢。
本文研究了一种可以自动生成oracle数据库巡检报告的工具,这一工具解决了耗费大量数据库管理员时间的问题,应用这一特性,可以快速的生成一个基于HTML格式的页面报告,使操作更方便,也省去了繁琐的粘贴信息的操作,大大提高了数据库管理员的工作效率。
关键词:HTML格式;巡检报告;自动生成;Oracle
Automatically Generate Tools of Oracle Database
Inspection Report
LV Ya-nan , Class 3,Grade 2007,Departement of Computer Science
Abstract: In the end of the 20th century, along with the development of computer science, the application of database technology in Internet is more and more extensive, more and more enterprises have databases belonging to their own. The database maintenance work is also more important. There are a wide range of databases. Several giant companies have launched their own database products, including Oracle's oracle database which is more and more popular.
This paper studies a tool which can automatically generate oracle database of inspection report. The tools can solve the database administrator balancing time problem. Application of this one character can quickly generate report based on HTML page and make the operation more convenient. It can also save a lot of paste information operations, which greatly improved the working efficiency of the database administrator.
Keywords: HTML format; Inspection Report ; Automatically Generate; Oracle
1
绪 论
随着企业信息化建设不断发展和壮大,业务支撑系统的数据成为企业的决策分析,指导企业发展的核心命脉。数据所依赖的数据库系统的选择和适用也变得尤为重要。传统关系数据库的技术发展至今,已日趋成熟,关系数据库的竞争也不仅仅是单纯的技术竞争,早已扩展到了商业智能、一体化解决方案和服务等更广阔的层面【1】。
无论企业里选择和适用的是哪种数据库产品,确保其健康、高可用运行,是企业正常运营的基础保证,因此定期的数据库健康检查,找出业务支撑系统中可能存在的隐患,保证数据的安全非常重要【2】。
目前保证数据安全的方法就是定期的对数据库进行健康检查,并对查询出的信息进行分析,掌握数据库的健康状况。
在健康检查的过程中,数据库管理员会有相关的脚本,执行即可,相应的会生成一个TXT格式的文档。通过对收集的信息的分析,判断数据库的健康状况。听起来也并没有多少的工作量,但是上面的并不是全部的工作,最繁琐的是要把每一部分的信息手工的粘贴到正式的文档中,最终交给客户。如果只是几套数据库也还好,但有的客户会有几十套的库,管理员做这一系列的工作就需要花费大量的时间。一个可以自动生成报告的工具就显得既方便又省时了。
2