统计需要重建的索引
create or replace procedure sys.rebuildindex is tx varchar2(1000); /*create table index_rebuid (name varchar2(30),del_lf_rows number(12),lf_rows number(12),frag_pct varchar2(10)); */...
批量生成注释命令
批量生成注释命令:表:select 'comment on table '||a.owner||'.'||a.TABLE_NAME||' is '||''''||a.comments||''''||';' from dba_tab_comments a where a.OWNER='JKDA_ZZNEW';列:select 'comment on column '||a...
FTP Connection refused error 解决办法
1 确保包已经安装 rpm -qa | grep -i "*ftp*" yum install vsftpd2 查看fpt 服务是否启动 telnet localhost 21 netstat -tulpn | grep :21或netstat -a...
11g rac 安装过程中常见错误解决办法
1 root.sh 失败第一节点失败:/u01/app/11.2.0/grid/crs/install/rootcrs.pl -deconfig -verbose -force 重新执行root.sh最后一个节点/u01/app/11.2.0/grid/crs/install/rootcrs.pl -deconfi...
oracle 11gr2 rac 安装
环境:virtual box +oracle linux 5.5+oracle 11g rac11.2.0.1简要安装流程如下:一安装GI1 Creating Groups, Users and directories groupadd oinstallgroupadd asmadmingroupadd asmdbagro...
oracle在线重定义表步骤
---1 设置并行(可选项)SQL> alter session force parallel dml parallel 20; Session alteredSQL> alter session force parallel query parallel 20; Session altered---2 创建中间表(...
linux 自动挂载分区
在root用户下vi etc/fstabLABEL=/1 / ext3 d...
单实例删除ASM实例
需要删除一个asm实例,发现网上有一篇转载过,本人已测试[oracle@ligle-db ~]$ ps -ef | grep asmoracle 4138 1 0 03:45 ? 00:00:00 asm_pmon_+ASMoracle 4140 1 0 03:45 ? 00:00:00 asm_psp0_+ASMoracle 4142 1 ...
重做日志大小的设置
1重做大小从几百兆到几G都被认为是合理的确定重做日志的最小限定是保证一次重做日志切换不小于20分钟2如果重做日志没有设置多路复用,不建议设置的过大,因为重做故障将无法重备份中恢复,将丢失较多的数据3&nb...
linux udev Rules files 理解
在配置11g rac的时候发现网上对 udev Rules files 有多重写法以下写法相同scsi_id -g -u -s /block/sdd等于 scsi_id -g -u -s /block/sdd/sdd1以下写法相同/sbin/scsi_id -g -u -d /dev/$parent等于 /sbin/s...
修改 linux&unix 用户名
linux 下修改/etc/sysconfig/network 重启生效
VT-x/AMD-V 硬件加速器已被启动,但当前处于无效状态
VT-x/AMD-V 硬件加速器已被启动,但当前处于无效状态。您虚拟电脑内的操作系统将无法检测到64位的CPU,因此也将无法启动。请确认在您电脑的BIOS中已启用VT-x/AMD-V支持。问题分析:1、请确认你的iso文件或dvd为64位...
ORACLE 收缩数据文件
select /*+ordered use_hash(a,c)*/ 'alter database datafile ''' || a.file_name || ''' resize ' || round(a.filesize - (a.filesize - c.hwmsize - 100) * 0.8) || 'M;', a.filesize, ...
配置 HugePages for Oracle on Linux (x86-64)
1 查看当前hugepages配置情况$ grep Huge /proc/meminfoHugePages_Total: 0HugePages_Free: 0HugePages_Rsvd: 0HugePages_Surp: ...
Troubleshoot Grid Infrastructure Startup Issues (Doc ID 1050908.1)
PurposeScopeDetails Start up sequence: Cluster status Case 1: OHASD does not start Case 2: OHASD Agents do not start Case 3: OCSSD.BIN does not start ...
Troubleshooting CRSD Start up Issue (Doc ID 1323698.1)
In this DocumentPurposeTroubleshooting Steps A. Find out whether OCR master is healthy B. Enable further tracing C. Take pstackReferencesThis document is being delivered to you via Orac...
linux 下oracle10g自动启动
一root用户vi /etc/oratab N 改为Y 二oracle 用户vi $ORACLE_HOME/bin/dbstart 修改 ORACLE...
[转载]Linux下批量Kill多个进程(oracle)
ps -ef|grep LOCAL=NO | grep -v grep | awk '{print $2}' |xargs kill -9 管道符“|”用来隔开两个命令,管道符左边...
ORA-04030/ORA-12500 In 32-bit Windows Environment
步骤Enable /3GBEnable /PAE and USE_INDIRECT_DATA_BUFFERS, set AWE sizeReduce unused SGA memory allocations OR implement A(S)MM (set SGA_TARGET; note that A(S)MM cannot be used with /PAE in place)Shrin...
常用RMAN 备份命令
---SHOW SHOW RETENTION POLICY;SHOW DEVICE TYPE;SHOW DEFAULT DEVICE TYPE;SHOW CHANNEL;SHOW MAXSETSIZE;SHOW ALL;---LISTRMAN> LIST ARCHIVELOG ALL;RMAN> LIST BACKUP OF ARCHIVELOG ALL;RMAN> L...