SQL实现万年历
转自http://space.itpub.net/12932950/viewspace-626842 用SQL语句实现万年历先上一个例子:年月星期日星期一星期二星期三星期四星期五星期六本月最后一日201006&nbs...
Cannot Compile Forms Module On Unix FRM-91500
Oracle Forms - Version: 9.0.2 to 10.1.2HP-UX PA-RISC (32-bit)AIX5L Based Systems (64-bit)Solaris Operating System (SPARC 64-bit)Linux x86SymptomsGenerating modules by frmcmp.sh or frmcmp_batch.sh bri...
重新定位inventory
1. Create a new oraInst.loc file in the $ORACLE_HOMEThis file should have the follow content:inventory_loc=$ORACLE_HOME/oraInventory (注:这里要用ORACLE_HOME的具体目录代替$ORACLE_HOME,否则进行不了)in...
CRS-215 Srvctl unable to start ASM, Listener, RDBMS Resources
CRS-215 Srvctl unable to start ASM, Listener, RDBMS Resources [ID 740319.1] 修改时间 14-DEC-2009 类型 PROBLEM 状态 PUBL...
Abnornal program termination. An internal error has occured.
Red Hat Linux AS 4.7下安装Oracle RAC 10.2时碰到这个错:"Abnornal program termination. An internal error has occured. Please provide the following files to Oracle Support:"/u01/oracle/oraInventory/logs/...
关于PRKC-1002问题的解决办法
在VMWare Server 1.0.8中安装Oracle RAC时, 碰到到了PRKC-1002错误:WARNING: Error while copying directory /u01/oracle/product/10.2.0/db_1 with exclude file list 'null' to nodes 'rac2'. [PRKC-1002 : ...
PRKC-1002错误
PRKC-1002 Error When Copying Files to Remote Nodes [ID 312437.1] 修改时间 04-JAN-2008 类型 PROBLEM 状态 PUBLISHED ...
No matching CACHE element found in webcache.xml for current hostname
No matching CACHE element found in webcache.xml for current hostname [ID 278836.1] Modified 02-SEP-2008 Type BULLETIN S...
grep的一些例子
Option What It Does –b Precedes each line by the block number on which it was found. This is sometimes useful in locating disk block numbers by context. –c Displays a count ...
常用的分析函数
--计算employees表中相同经理下的每一雇员和雇佣日期正好位于雇员正前后的雇员的平均薪水:SELECT manager_id, last_name, salary, AVG(salary) over(PARTITION BY manager_id ORDER BY hire_date rows BETWEEN 1 pr...
在Oracle Enterprise Linux 上安装Oracle 10.2 RAC
使用虚拟机在 Oracle Enterprise Linux 上免费试用 Oracle 真正应用集群 10g 第 2 版2007 年 1 月发表 于 10 月份 Oracle OpenWorld 2006 上推介的 Oracle 坚不可摧的 Linux 旨在为 Red Hat Linux 提供企业级支持...
sar用法
sar 2 5//每隔2秒,显示5次,CPU使用的情况%usr:CPU处在用户模式下的时间百分比。%sys:CPU处在系统模式下的时间百分比。%wio:CPU等待输入输出完成时间的百分比。%idle:CPU空闲时间百分比。在所有的显示中,我们...
使用BREAK和COMPUTE在SQL*Plus中得到分组统计结果
转自: http://space.itpub.net/519536/viewspace-618344秉承KISS原则,一切简单实用的工具都是值得深入挖掘的。SQL*Plus就是其中之一。我通过这个小文儿给大家介绍一下在SQL*Plus中使用break和compute命令实现类似g...
查看statspack已存在的快照ID与快照时间脚本
#!/bin/bash# use your actual ORACLE_SID instead of dbORACLE_SID=dbexport ORACLE_SID#The follow only use /etc/oratab have ORACLE_SID, if not, please write the actual PATHORACLE_HOME=`cat /etc/oratab|gr...
cut的用法
我们经常会遇到需要取出分字段的文件的某些特定字段,例如 /etc/password就是通过":"分隔各个字段的。可以通过cut命令来实现。例如,我们希望将系统账号名保存到特定的文件,就可以: cut -d: -f 1 /etc/passwd ...
聚集索引与非聚集索引的区别
聚集索引和非聚集索引的根本区别是表记录的排列顺序和与索引的排列顺序是否一致,聚集索引表记录的排列顺序与索引的排列顺序一致,优点是查询速度快,因为一旦具有第一个索引值的纪录被找到,具有连续索引值的记录...
linux shell编程if语句内判断参数
shell 编程中使用到得if语句内判断参数 –b 当file存在并且是块文件时返回真 -c 当file存在并且是字符文件时返回真 -d 当pathname存在并且是一个目录时返回真 -e 当pathname指定的文件或目录存在时...
Linux下修改IP地址
Linux系统下如何设置IP地址?我们可以通过命令设定IP的方法,不过此方法的前提条件是用户需root权限。在linux系统的 /etc/sysconfig/network-script/ifcfg-eth0文件中存放着网卡IP地址配置的相关信息,它的具体格式...
查看局域网中IP被谁占用了
1.nbtstat -a <ip> 2.ping -a <ip>
Why Isn't Oracle Using My Index?!
转自http://www.dbazine.com/oracle/or-articles/jlewis12我用10g测试,都走索引了,不知道9i是不是向以下说的这样Why Isn't Oracle Using My Index?!by Jonathan Lewis ...