![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Oracle-Redo/Undo
文章平均质量分 78
bitko
这个作者很懒,什么都没留下…
展开
-
非IMU和IMU模式下redo log格式解析
1. 改为非IMU模式 SQL> alter system set "_in_memory_undo"=false scope=spfile; System altered. SQL> shutdown immediate Database closed. Database dismounted. ORACLE instance shut down. SQL> startup ORACLE原创 2016-12-05 17:22:13 · 958 阅读 · 0 评论 -
探索undo一致性读
1. 按照以下步骤模拟一致性读 SQL> create table test(id int,name char(2000)); Table created. SQL> insert into test values(1,'AAAAA'); 1 row created. SQL> commit; Commit complete. SQL> select current_scn原创 2016-11-16 15:20:06 · 1021 阅读 · 0 评论 -
Oracle切换Undo表空间
参考文档:How to Switch to a New Undo Tablespace (Doc ID 1951695.1) 1. 查看当前默认undo表空间 SQL> show parameter undo NAME TYPE VALUE -----------------------------------原创 2018-02-06 09:51:01 · 694 阅读 · 0 评论 -
undo表空间使用率99%居高不下
背景:两套同样的测试环境,一套数据库Undo使用率一直处于99%,已经持续了很长一段时间,而另外一套几乎为0排查手段:1. 查看占用高的undo表空间使用情况,发现都是unexpired的状态-- 整体undo使用情况 select b.tablespace_name, nvl(used_undo, 0) "USED_UNDO(M)", total_undo "Tot...原创 2018-06-11 16:42:04 · 3591 阅读 · 0 评论