摘要
Oracle数据库日志文件记录了对数据库进行的所有操作,LogMiner是oracle8i以上版本提供的数据日志分析的工具。介绍了LogMiner的使用方法,使用LogMiner获取的日志分析结果,需要人工分析,不能用程序自动处理。在LogMiner命令基础上,使用C#开发出LogViewer,并对关键点进行分析。LogViewer包含图形用户界面(GuD),可以对Oracle离线、在线日志进行操作,实现Oracle日志查看、查询、重做、回退等功能。LogViewer提高了日志分析效率,减少了误操作概率,为进一步日志应用开发奠定了基础。
Oracle' s log files record all the operations on the database. LogMiner utility that has been provided by the latest Oracle 8i version is the tool to analyze oracle's log files. This paper introduces the usage of LogMiner and log analysis results by using LogMiner. The log analysis should be performed manually and can't be processed with program. Based on LogMiner, C# is used to develop LogViewer program and discuss some implement problem. LogViewer contains Graphical User Interface (GUI), which uses ArchiveLog or NoArchiveLog to achieve log view, search, redo and undo. LogViewer improves the analysis efficiency, reduces the probability of misoperation and lays a foundation for further work.
出处
《计算机与网络》
2013年第3期145-147,共3页
Computer & Network