- 浏览: 27136 次
- 性别:
- 来自: 北京
最新评论
1.manual
undo_management=manual
transactions
transactions_per_rollback_segment
rollback_segments =('rbs1','rbs2')
create rollback segment rbs1 tablespace undotbs1; privs seg
create public rollback segment prbs1 tablespace undotbs1 public seg
alter rollback segment rbs1 online;
note: create rollback segment default offline,we need to online;
when instance startup, the oracle open private seg(rollback_segments ),then caculate the numbers of rollbacksegments with transactions/transactions_per_rollback_segment.if rollback_segments = the result, oracle open database,other ,get public segs then open database.
2.auto
undo_management=auto
undo_tablespace=undotbs1
if undotablespace is to small,autoetend off ,when we execute big transactions, we encounter some errors.ORA-30036: unable to extend segment by 8 in undo tablespace 'SMALLUNDO'. ORA-06512: at line 3
3. it is a common misconception that undo is used to restore the database physically to the
way it was before the statement or transaction executed, but this is not so. The database is
logically restored to the way it was—any changes are logically undone—but the data struc-
tures, the database blocks themselves, may well be different after a rollback. The reason for
this lies in the fact that, in any multiuser system, there will be tens or hundreds or thousands
of concurrent transactions. One of the primary functions of a database is to mediate concur-
rent access to its data. The blocks that our transaction modifies are, in general, being modified
by many other transactions as well. Therefore, we cannot just put a block back exactly the way
it was at the start of our transaction—that could undo someone else’s work!
For example, suppose our transaction executed an INSERT statement that caused the allo-
cation of a new extent (i.e., it caused the table to grow). Our INSERT would cause us to get a
new block, format it for use, and put some data on it. At that point, some other transaction
might come along and insert data into this block. If we were to roll back our transaction, obvi-
ously we cannot unformat and unallocate this block. Therefore, when Oracle rolls back, it is
really doing the logical equivalent of the opposite of what we did in the first place. For every
INSERT, Oracle will do a DELETE. For every DELETE, Oracle will do an INSERT. For every UPDATE,
Oracle will do an “anti-UPDATE,” or an UPDATE that puts the row back the way it was prior to our
modification.
4.Generates the Most and Least Undo
an INSERT will, in general, generate the least amount of undo, since all Oracle needs to record for this is a rowid to “delete.
The INSERT generated very little undo that needed to be logged.
The UPDATE generated an amount equal to the before image of the data that was changed.
The DELETE generated the entire set of data written into the undo segment.
an update of an unindexed column not only executes much faster, but will tend to generate significantly less undo than an update of an indexed column.
5.ORA-01555: snapshot too old Error,provide for read consistency,
that results in the ORA-01555 error
CAUSE:
• The undo segments are too small for the work you perform on your system.
• Your programs fetch across COMMITs (actually a variation on the preceding point).
We covered this in the last chapter.
• Block cleanout. Delayed Block Cleanout,To clean out the
block, Oracle determines the undo segment used for the previous transaction (from the blocks
header) and then determines if the undo header indicates whether it has been committed or
not. This confirmation is accomplished in one of two ways. One way is that Oracle can deter-
mine that the transaction committed a long time ago, even though its transaction slot has
been overwritten in the undo segment transaction table. The other way is that the COMMIT SCN
is still in the transaction table of the undo segment, meaning the transaction committed a short time ago, and its transaction slot hasn’t been overwritten.if its transaction slot has been overwritten,when clear block ,result in ORA-01555.
发表评论
-
from string get number data using pl/sql or sql
2012-02-16 17:32 888declare @aa varchar(80),--- ... -
SQL
2012-02-15 18:01 7241.select sal salary from emp; ... -
modify ip
2012-02-10 17:45 7891.netconfig 2./etc/sysconfig/n ... -
MULTI dbwr or io slaves
2012-02-10 15:21 878thanks dukope of itpub. ... -
FAQS
2012-02-09 15:59 7531.How can I get the largest amo ... -
HOW TO STUDY ORACLE FROM Yong Huang
2012-01-18 14:48 798Assuming you want to study orac ... -
RMAN
2012-01-14 17:07 7031.components of the rman ... -
INSTANCE and CRASH RECOVERY
2012-01-12 10:12 7481.type of checkpoint full c ... -
STARTUP PFILE=
2011-12-31 14:11 11951.vi initdbs.ora spfile=&quo ... -
MANAGE TABLE
2011-12-26 16:50 5671.heap table IOT PARTI ... -
MONITOR redo size
2011-12-21 17:48 6421.set autot on stat 2.unsin ... -
What do rollback and commit
2011-12-21 11:21 736When we COMMIT, all that is lef ... -
What is the schema ?
2011-12-20 15:18 588A schema is a collection of dat ... -
DBA SQL
2011-12-19 15:21 4351.select a.name,b.status from v ... -
SEGMENT EXTENTS ORACLEBLOCK
2011-12-15 16:11 7881.SEGMENT: allocated fo ... -
MANAGE TABLESPACE AND DATAFILES
2011-12-13 15:28 5751. tablespace,segment,extent,bl ... -
ORACLE NET
2011-12-12 09:49 6841.net_service_name: servive ... -
SQLPLUS TIPS
2011-12-09 17:51 9031.SQLPLUS : a tool that execute ... -
ORACLE ENVIRONMENT VARIABLES
2011-12-09 17:15 652ORACLE_HOME ORACLE_SID : or ... -
Exam Test1
2011-12-09 16:18 6341.utl_file_dir: indicate the di ...
相关推荐
SOLIDWORKS Manage是Dassault Systèmes公司推出的一款强大的产品数据管理(PDM)解决方案,它扩展了SOLIDWORKS 3D CAD软件的功能,提供了全面的项目管理、文档控制、BOM管理和变更管理等工具。在这个基础配置教程中...
【标题】ManageEngine MibBrowser 是一款强大的SNMP协议管理工具,它专为网络管理员设计,用于探索、管理和监控使用SNMP(简单网络管理协议)的网络设备。该工具提供了对SNMP数据包的全面控制,包括构造、分析和发送...
【标题】"ManageEngine-MibBrowser_FreeTool_64bit.zip" 提供的是一个64位版本的SNMP MIB库浏览器工具,该工具由ManageEngine公司开发,旨在帮助网络管理员便捷地管理和浏览SNMP(Simple Network Management ...
【ManageEngine EventLogAnalyzer 12.04】是一款由ManageEngine公司开发的企业级日志管理软件,专门用于收集、分析和报告系统事件日志。该版本提供了强大的日志管理和安全监控功能,帮助企业IT管理员更好地理解和...
【标题详解】"ManageEngine-MibBrowser-FreeTool" 是一个专为网络管理员设计的免费工具,主要用于管理和浏览SNMP(简单网络管理协议)相关的MIB(Management Information Base)库。这个工具由ManageEngine公司开发...
【ManageEngine OpManager 12.3安装手册+管理员指南】是针对企业网络管理的一款强大工具的详细指导文档。ManageEngine OpManager是一款全面的网络性能监控解决方案,它提供了丰富的功能,帮助管理员有效地监控、管理...
ManageEngine Desktop Central 10 License 实测可用。
【ManageEngine EventLog Analyzer 12.0.5 Build 12050】是一款强大的事件日志分析工具,主要用于企业级的系统监控和安全审计。该软件由ManageEngine公司开发,提供对Windows事件日志、Linux syslog以及各种网络设备...
"MIB实用工具ManageEngine_MibBrowser_FreeTool.rar" 是一个关于网络管理的压缩包,其中包含了一款名为 ManageEngine MibBrowser 的免费工具。MIB(Management Information Base)是SNMP(Simple Network Management...
ManageEngine Applications Manager 7.0 crack file
请用Service-manage 在网络安全管理和维护过程中,我们经常遇到一种情况:尽管接口已正确配置了安全区域与路由,但仍然无法通过Ping或SSH访问特定设备。这往往是因为没有正确配置**Service-manage**功能所导致的。 ...
《SOLIDWORKS PDM 2022-SOLIDWORKS Manage 2022安装指南》是一份专为初学者设计的详细教程,旨在帮助用户成功安装和配置这两个强大的工程设计管理工具。SOLIDWORKS PDM是针对产品数据管理的专业解决方案,而SOLID...
ManageEngine_FirewallAnalyzer注册码
《SolidWorks PDM/Manage2023 安装指南》是针对新手的详细教程,旨在帮助用户成功安装和配置这一专业级的三维CAD管理软件。该指南包含了SQL SERVER的安装步骤,使得学习者能够在没有专业指导的情况下独立完成整个...
【AdventNet ManageEngine ApplicationManager Enterprise v12.1.0】是一款强大的企业级应用性能管理软件,由AdventNet(现称为Zoho Corporation的一部分)开发。该版本被视为相对较新,意味着它包含了最新的特性和...
ManageEngine Eventlog Analyzer是用来分析和审计系统及事件日志的管理软件,能够对全网范围内的主机、服务器、网络设备、数据库以及各种应用服务系统等产生的日志,进行全面收集和细致分析,通过统一的控制台进行...
ManageEngine_OpManager 外企都在用的远程监控软件哦 注册版的
Vue Manage System V4.2.0 是一个基于 Vue.js 框架和 Element UI 组件库的现代化后台管理系统模板。这个版本提供了丰富的功能和优化,旨在帮助开发者快速构建高效的管理界面。Vue.js 是一个轻量级、高性能的前端 ...
ADAudit Plus是由ManageEngine(卓豪)官方出品的一款IT运维管理解决方案。在企业中为了方便处理日常事务,管理员需要给帮助台、支持人员、人力资源和其它用户指派相应的管理权限,如用户管理、组管理、计算机管理等...
ManageEngine-EventLog-Analyzer-12.0.5 软件,