undo表空间
来源:互联网 发布:汽车维修管理系统源码 编辑:程序博客网 时间:2024/05/01 03:59
SQL> select * from v$version;
BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Prod
PL/SQL Release 10.2.0.2.0 - Production
CORE 10.2.0.2.0 Production
TNS for Solaris: Version 10.2.0.2.0 - Production
NLSRTL Version 10.2.0.2.0 - Production
--查看当前的undo表空间
SQL> show parameter undo;
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
undo_management string AUTO
undo_retention integer 900
undo_tablespace string UNDOTBS2
SQL> col tablespace_name for a20;
SQL> select tablespace_name ,contents from dba_tablespaces;
TABLESPACE_NAME CONTENTS
-------------------- ---------
SYSTEM PERMANENT
SYSAUX PERMANENT
TEMP TEMPORARY
USERS PERMANENT
UNDOTBS2 UNDO
EXAMPLE PERMANENT
--创建undo表空间
SQL>create UNDO tablespace myundotbs1 datfile '/u01/oradata/undotbs1.db size 100m;
--删除undo表空间
SQL>drop tablespace undotbs2;
-修改undo_retention
SQL>alter system set undo_retention =900 scope=both;
-- 切换undo
SQL>alter system set undo_tablespace=undotbs2;
--查看当前的事物
SQL> select addr ,used_ublk from v$transaction;
--查看undo的使用情况,默认记录每10分钟采集一次
SQL> select begin_time ,end_time ,undotsn ,undoblks from v$undostat;
- 重置UNDO 表空间.
- 监控Undo表空间
- 管理UNDO表空间
- undo表空间管理
- UNDO 表空间管理
- undo表空间
- UNDO表空间
- 释放UNDO表空间
- undo表空间
- 管理UNDO表空间
- undo表空间切换
- 重置undo表空间
- UNDO表空间
- UNDO表空间
- UNDO表空间
- UNDO表空间
- undo表空间管理
- undo 表空间管理
- 持久化类的属性及访问方法
- 设计模式 Design Parttern ——装饰模式Decorator
- “博观而约取,厚积而薄发”——苏东坡
- SQL Server2008存储结构之基本系统视图
- 被叫(callee)怎么使用applicatemap功能
- undo表空间
- VB:绘图示例—屏保软件设计1
- ASP.NET4.0中客户端ID的生成
- 将一个字符串中的各个位按递增排序的最大整数打印出来
- 设计模式 Design Parttern ——外观模式Facade
- Linux常用命令和工具摘要 (持续更新中)
- pRTI中的chat例子的Java版分析
- 难道说这个就是生活吗?
- 关于高端ARM处理器选型的一些个人看法(作者:gooogleman)