摘要: 2011年1月14日select * from v$version;--10.2.0.1.0首先测试非归档下append,nologging,append+nologging的比较1.非归档模式 append,nologging,append+nologging 三种情况数据产生REDO的对比SQL> archive log list数据库日志模式 非存档模式自动存档 禁用存档终点 USE_DB_RECOVERY_FILE_DEST最早的联机日志序列 567当前日志序列 569create table t as select * from dba_objects where owner= 阅读全文
posted @ 2011-01-14 15:22 蓝紫 阅读(9001) 评论(0) 推荐(0) 编辑
摘要: 2011年1月14日 /2011-12-15增加修改sql跟踪方法介绍 一、sql_trace的介绍--打开trace文件设置,把sql trace设置为true,就会在udump目录中增加一个trc文件。alter session set sql_trace=true;show parameter sql_trace;(select * from v$parameter where name='sql_trace';)修改后不生效呢?show parameter sql_trace;其参数始终是FALSE show parameter sql_trace是从v$paramet 阅读全文
posted @ 2011-01-14 14:21 蓝紫 阅读(2377) 评论(0) 推荐(0) 编辑
摘要: 2011年1月14日 先把数据库的机子介绍下:aix5 Host Mem (MB): 7,936.0(4个cpu) SGA use (MB): 4,144.0 PGA use (MB): 49.4 % Host Mem used for SGA+PGA: 52.8 Shared Pool Size(MB): 320 这两天想看看数据库为什么性能差的问题,通过stackpack报告,查看了一些相关参数后,将Shared Pool Size改为800m,之后运行其存储过程老是提示:“ORA 4031: unable to allocate %s bytes of shared memory ( 阅读全文
posted @ 2011-01-14 11:49 蓝紫 阅读(902) 评论(0) 推荐(0) 编辑