Question :
1. How can we know available PGA and temporary tablespace before we issue a huge operation?
2. Can we estimate PGA and temporary tables[……]
Question :
1. How can we know available PGA and temporary tablespace before we issue a huge operation?
2. Can we estimate PGA and temporary tables[……]
数据库版本9.2.0.1 OS版本 AIX5
由于9.2.0.1的默认maxlogfiles 为5 maxinstance 为1所以需要重建controlfile 修改maxinstance为4 maxlogfiles 为 16
SQL> alter database backup con[……]
在数据库优化中Index 是一个重要因素。在Oracle 10g中,rebuild online是组建索引的一个重要特性。
在以下情况下应该考虑重建索引:
• 删除的行数超过了总数的30%, 就是说 DEL_LF_ROWS / LF_ROWS > 0.3.
• 索引的高度大于4.
•[……]
pTools — 进程监控的一组工具
{
pTools是AIX 5.2中引进的System V UNIX 提供的一组极有用的工具,用于查看进程相关的信息。包括命令:
{
procwdx,
procfiles,
procflags,
proccred,[……]
很多客户可能认为svmon -S中inuse的求和结果和svmon -G中的inuse一样,但是实际是不一样的。下面的脚本可以用来统计svmon -S中的inuse的相加结果:
#!/usr/bin/ksh
svmon -S | cut -c54-62 | awk ‘/^[-sLm][……]
环境描述:双节点rac 数据库版本10.2.0.5 通过awr发现down机时间段产生大量的cursor: pin S wait on X等待,同时伴随大量的library latch等待,通过与相关人员沟通得知,此库在每月的月头都会有大量的报表业务,从而负载将会增长几十倍之多。通过下面
的awr[……]
测试coolcode插件
select * from v$session where status=’HAPPY’ and owner=’LIU’
and sid not in (1900,2012) order by sid asc
good luck![……]
某局威武,升级弄完都到凌晨6点了 居然还要搭DG ,下面记录这次的升级过程(9.2.0.7-10.2.0.4)
迁移步骤:
1 首先安装10g的数据库软件,基于当时的AIX情况,由于系统是通过OS升级重新导入到P6 570上的需要重新开启AIO,数据库版本为9.2.0.7 需要再打一个[……]
今天偶尔碰到一个ORA-600错误:
[oracle@honcho ~]$ sqlplus sys/oracle@honcho as sysdba
SQL*Plus: Release 10.2.0.1.0 – Production on Sat Oct 29 18:25:11 2011[……]
创建测试环境:
[oracle@yang ~]$ sqlplus ‘/as sysdba’
SQL*Plus: Release 10.2.0.4.0 – Production on Thu Oct 27 00:03:46 2011
Copyright (c) 1982,[……]