- 27
- 0
- 约1.2万字
- 约 13页
- 2017-10-07 发布于河南
- 举报
数据库的日志文件(Database log file)
数据库的日志文件(Database log file)
Analyze the Oracle database log file (1)
As Oracle DBA, we sometimes need to track malicious operation of data deletion or users, we not only need to find out these operations database account, also need to know the operation by which client (IP address) issued. To solve these problems, one of the most effective, practical and low-cost methods is to analyze the log files of the Oracle database. This article will make a deep discussion about Oracle log analysis technology.
How to analyze, that is, LogMiner interpretation
From the current point of view, the analysis method is to use only the Oracle log provided by Oracle LogMiner to Oracle, all changes are recorded in the database log, but the original log information we cannot understand, but LogMiner is let us read log information tool. From this point of view, it is similar to tkprof; one is used to analyze log information, and the other is to format trace files. Through the analysis of logs, we can achieve the following objectives:
1. Identify logical changes to the database;
2, to detect and correct the users misoperation;
3, the implementation of ex post audit;
4. Perform change analysis.
Not only that, the information recorded in the log database also includes: the history of changes, change type (INSERT, UPDATE, DELETE, DDL etc.), change the corresponding SCN number, and performs these operations such as user information, LogMiner log analysis, the reconstruction of the equivalent SQL statement and UNDO statement (recorded in the V$LOGMNR_CONTENTS view SQL_REDO and SQL_UNDO). What we need to note here is the equivalent statement, not the original SQL statement, for example: we initially implemented the delete a where lt C1; cyx; and the LogMiner refactoring was equivalent to the 6 DELETE statement. So we should realize the display in the V$LOGMNR_CONTENTS view is not the original reality, from the perspective of the database which is easy to understand, it is a record of $operation
您可能关注的文档
- 我是软体-- 那些处理器教我的事(I'm software -- what those processors teach me).doc
- 我是这样评课的(That's the way I judge the class).doc
- 我收集的oracle经典面试题(I collected the Oracle classic interview questions).doc
- 我最喜欢的老师征文5 篇(My favorite teacher 5 articles for discussion).doc
- 我来说说我在美国是如何看感冒发烧的(Let me tell you how I see a cold in the United States).doc
- 我是如何网上创业的(How do I start an online business).doc
- 我的autocad2010命令大全档(My autocad2010 command Guinness).doc
- 我的hr年度关键词_电子商务高管一将难求(My HR keywords _ electronic business executives will be hard to find).doc
- 我对晋级有话说(I have something to say about promotion).doc
- 我的世界(Minecraft).doc
最近下载
- 从零开始讲装置布置:建规、石化规、精细规在工程设计时如何合理选用.docx
- 2026安全员-C证考试(专职安全员)题库200道附参考答案(模拟题).docx VIP
- 漏电保护器原理图及讲解..doc VIP
- 空间直线平面夹角公式.doc VIP
- 一种水性环氧树脂及其制备方法和应用.pdf VIP
- 大班音乐活动游戏化的实施现状及策略研究——以石家庄市X幼儿园为例.docx VIP
- 爱丽丝奇境历险记(下) (英)刘易斯·卡洛尔.pdf VIP
- 海南省建筑安管人员模拟考试题.doc VIP
- 2026年足球b级教练考试题库完整.docx VIP
- 中班幼儿音乐教学活动游戏化的现状及对策研究——以巴中市Y幼儿园为例.doc VIP
原创力文档

文档评论(0)