Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1972437
  • 博文数量: 221
  • 博客积分: 10045
  • 博客等级: 上将
  • 技术积分: 2252
  • 用 户 组: 普通用户
  • 注册时间: 2005-01-25 20:28
文章分类

全部博文(221)

文章存档

2012年(1)

2008年(4)

2007年(11)

2006年(26)

2005年(179)

我的朋友

分类:

2005-06-13 18:25:33

  : Oracle在企业中应用,尤其是在金融,电力,银行,交通等支柱产业的应用是非常广泛的,这些领域需要大量的数据存储,一般是以数据仓库的方式和数据库集群的方式来进行数据库服务器的分布式处理,对于数据库的分布式处理是一种多级数据处理过程,每一层次在运行的过程中会产生大量的日志积累,如何有效地利用这些遗留下来的日志数据以发现有效的利润增值模式,或者从历史日志中发现数据库的异常操作。本系统旨在研究如何通过oracle的日志文件重现历史操作。按照审计的方式分析日志格式,在历史还原的基础上,能对有毁坏性的数据进行数据恢复,对于不正常的数据操作,能很快地查明是什么人在什么时间进行了什么操作?

关键字: ORACLE{LOG MINIER,TKPROF, PRO*C/C++},.Net FRAMEWORK{C#,ASP.Net,VC.NET,IIS6.0},软件工程

Abstract

The Oracle is applied in the business enterprise, especially in the finance, electric power, bank particularly, transportation etc. pay the main industry applied is very extensiveThese realms need a great deal of data storage, gather the way of the cluster with database by the data warehouse generally to carry on the distribute type processing of the database serverIs a kind of many series for the distribute type processing of the database according to the processing process, each layer will produce a great deal of daily record backlog in the process of circulate, how make use of these daily records datas that leave behind down availably to discover that the valid profits increases in value the mode, or discover excrescent operations of the database from the history daily record.This system aim is studying how to re-appear the history operation through an oracle daily record documentAccording to the analytical daily record format of way that audit, foundation restore in the history up, the ability carry on the data instauration towards having the data of the deformation, operating for the abnormality data, can find out very soon is what person is carrying on when what operation?

KeywordsORACLE{LOG MINIER,TKPROF, PRO*C/C++},.Net FRAMEWORK{C#,ASP.Net,VC.NET,IIS6.0},SE

 

Oracle 9i 日志分析... 3

一、概述... 4

1.1 DOTNET框架... 4

1.1.1什么是 .NET 框架?... 4

1.1.2运行库术语... 5

1.1.3系统用到的。NET技术... 5

1.2 ORACLE体系结构... 5

1.2.1 ORACLE日志体系结构... 5

1.2.2 系统用到的ORACLE技术... 6

1.3 数据库安全审计概述... 6

1.4 本课题的研究背景和目的... 6

二、深入分析ORACLE数据库文件... 6

2.1如何分析即LogMiner解释... 6

2.1.1 LogMiner包含两个PL/SQL包和几个视图... 6

2.1.2 LogMiner相关的数据字典... 6

2.2 Oracle9i LogMiner的增强... 6

2.2.1 支持更多数据/存储类型... 6

2.2.2提取和使用数据字典的选项... 6

2.2.3允许对DML操作按事务进行分组... 6

2.2.4 支持SCHEMA的变化... 6

2.2.5 在日志中记录更多列信息的能力... 6

2.2.6 支持基于数值的查询... 7

2.3 Oracle的日志分析过程... 7

2.3.1 确认设置了初始化参数... 7

2.3.2 生成字典信息文件... 7

2.3.3 添加需要分析的日志文件... 7

2.3.4LogMiner开始分析... 7

2.3.5 v$logmnr_contents. 8

2.3.6 dbms_logmnr.end_logmnr 8

2.4Trace文件和Tkprof 8

2.4.1 准备使用SQL TRACE. 8

2.4.1.1 Init.ORA参数... 8

2.4.2 在系统中打开SQL_TRACE. 9

2.4.3 session中打开SQL_TRACE. 9

2.4.3.1 SQLPLUS... 9

2.4.3.2PL/SQL... 9

2.4.3.3 打开其它sessionSQL_TRACE. 9

2.4.3.4 event来打开... 9

2.4.4找到trace文件... 9

2.4.5 tkprof格式化trace文件... 9

2.4.6 tkprof的参数... 10

三、Oracle数据库日志分析设计... 11

3.1系统得功能需求... 11

3.1.1系统功能图... 11

3.2 系统的总体设计... 12

3.2.1 系统的开发模式和方法... 12

3.2.2 功能模块划分... 12

3.2.3数据库集群服务网络拓扑图... 12

3.2.4 工程架构图... 13

3.2.5 程序流程图... 15

3.3部分主要模块详细设计... 15

3.3.1 归档日志和重做日志... 16

3.3.2 跟踪日志... 16

3.3.3 两种日志分析的关系... 17

四、Oracle日志分析的实现... 18

4.1 总体实现... 18

4.2 PRO* C/C++DLL. 18管理员在2009年8月13日编辑了该文章文章。

-->
阅读(2091) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~