install grid control 10201 on linux ,oc4j CA OUI-25031 error
vi 打开,增加-Djava.net.preferIPv4Stack=true,后如下
$self->logAndExec(“$self->{‘OH’}/jdk/bin/java -Xmx512M -DemLocOverride=$self->
{‘OH’} -Djava.net.preferIPv4Stack=true
10g stop/disable isqlplus/EM
平时装完数据库都习惯停掉EM,ISQLPLUS,两个服务是独立的,利用J2EEE为用户提供的WEB操作或监控的应用,10G EM可能还不太完美,这之后的版本应该是最好监控ORACLE的工具软件了,如GRID,12cloud
Control the order in which the tables accessed join using sql hint leading and ordered
The LEADING hint causes Oracle to use the specified table as the first table in the join order.
If you specify two or more LEADING hints on different tables, then all of them are ignored. If you specify the ORDERED hint, then it overrides all LEADING hints.
ORACLE VPD ROW-LEVEL MARKING..
VPD Virtual Private Database
ORACLE安全方面的控制,例如VIEW ,但是比view控制更灵活。
CREATE VIEW VXX AS SELECT * FROM TXX WHERE XX
Optimizer_mode ALL_ROWS and FIRST_ROWS[_N]
all_rows是默认参数,first_rows只是为了向前兼容,ORACLE建议你平时用时使用first_rows_N,N的值越大就越像ALL_ROWS靠近。
…
how to disable/enable index?
DISABLE applies only to a function-based index. This clause lets you disable the use of a function-based index.
11g adrci全称(full name)
一个很无聊的问题
adrci = Oracle Automatic Diagnostic Repository Command Interpreter
与AMM ,ASMM相关的几个视图
其中V$SGA_RESIZE_OPS 、V$MEMORY_RESIZE_OPS两个可以看出内存设置的抖动情况,如果系统频繁的更改大小,看来资源比较紧张,就不适合A了。
sql performance truning ,hint,parallel,10053 trace
在两个表的JOIN 中,CBO总是会计算三种JOIN的连接方式的代价,分别为NL JOIN,SM JOIN,HA JOIN,三种JOIN对前后两表的我称呼还不一样,分别是NL JOIN :outer table,inner table,SM :firest table,second table,HA:build table ,probe table,Nested jOIN中的outer table又叫driver table…
oracle 11g dbca 找不到asm diskgroup的解决办法
昨天在家里的本本虚拟机里配置11G R2 RAC时,GI安装正常,db soft 安装正常,查看资源asm 磁盘也正常,GI是用的GRID 用户及用ASMLIB配置的ASM DISKGROUP.但到最后一步用ORACLE用户DBCA建库时,在储存选择ASM,无法找到ASMDISKGROUP?
impdp 与 imp区别
今天问到了这个问题:impdp 如果不导入权限?看了下impdp参数没有了grants选项,看了些文档发现还是除了data dump 必需要在服务端执行个参数上还是有一定区别的
crs 安装时The specified shared raw partition /dev/raw/raw1 may not have correct permission
今天网友问到在安装crs时,OUI出现了这个错误
“The specified shared raw partition /dev/raw/raw1 may not have correct permission”
SCN fast increase by database link(scn增长因DB_LINK)
为了保证分布式查询的一致性,通过dblink查询时会同步SCN,有时会撞见ORA-600错误。
alert日志中伴随着warning Rejected the attempt to advance SCN over limit
index block dump
b-tree indexes are an important access path structure in database and file systems
key property: each possible search path has the same length.
oracle index block splits
index是一个逻辑有顺序的结构并非物理存储block上排序,它总是可以把每个键值有顺序的逻辑排放,索引的高度总是平衡的,并且index leaf block就像一个双向链表,在index leaf block上会记录前一块的地址和后一块的地址,这样在index range scan 是就可以很方便的横向扫描..