IBM HACMP5.1配置手册
Hacmp 5.1 的配置方法 Hacmp 自从出了5.1 版本后, 很多客户向IBM技术支持中心打电话咨询配置方法。的确,hacmp5.1 较以前的版本无论是从界面还是从配置方法都有了很大的改变。具体内容我们可以从IBM hacmp5。1 红皮...
VIEW OF 'index$_join$_002'
p570 oracle9204 rboSQL> set autotrace traceonly;select a.czrkrybh,a.czrkxm,b.czrkpcs from t_person a ,t_huji bwhere a.czrkryid=b.czrkryid and a.czrkgmsfhm='510214197501131748';Execution Plan----------...
The Power of CASE Expressions in SQL Queries[akadia]
One of the most powerful SQL features is often unknown - CASE Expressions in SQL Queries. An expression is a combination of one or more values, operators, and SQL functions that evaluate to a value. A...
Truncating a Table from a Remote Database[akadia]
ProblemIf you try to truncate a table on a remote database, you will get the following error:ORA-02021: DDL operations are not allowed on a remote database.You have a database link to the re...
How to store data DES encrypted in Oracle ?[akadia]
This tip is from the Oracle Magazine, it shows the usage of the DBMS_OBFUSCATION_TOOLKIT. The DBMS_OBFUSCATION_TOOLKIT is the DES encryption package. This package shipped with Oracle8i Release 2 and l...
经过三天的培训,通过了db2 700,701认证
不是很难,把资料看好了,通过是没有问题的.
iFS (Internet Filesystem) Test Installation[akadia]
Internet portals are currently implementing document management systems as part of the offered services on their portal. We have been asked to review Oracle Internet File System (iFS) in order to enab...
检测监听进程并自动重起
昨天遇到一个问题,监听进程会自动消失. es4100 4.0d oracle734 双机热备系统一级没有任何日志,客户端和服务器端的oracle的一个版本.重新配了双机服务.并写了一个检测监听进程并自动重起的shell脚本cd 目录rm -f lsn...
Creating updatable views using INSTEAD OF triggers[akadia]
INSTEAD OF triggers provide a transparent way of modifying views that cannot be modified directly through UPDATE, INSERT, and DELETE statements. These triggers are called INSTEAD OF triggers because, ...
用index and no_index优化了两个 sql 语句
环境:aix 433 oracle9204 rac.唯一需要注意的是,在indexname前一定要加tablename,不加则效果不好,好像以前从来不用加的.
oracle与unix时间的转换 zt
http://www.itwenzhai.com/data/2006/0523/article_8484.htmCREATE OR REPLACE FUNCTION unix_to_oracle(in_number NUMBER) RETURN DATE IS BEGIN RETURN TO_DATE('19700101','yyyymmdd') + in_number/8...
windows下自动ftp
ftp -i -n -s:ftpcommget.txt > ftp_r.txtftpcommget.txt:open 192.168.2.191user root passwdget smit.logclosebye
根据lob segment找到所属对象
我们经常看到诸如: SYS_LOB0000135102C00022$的lob segment.如果找到它属于哪个表或者索引呢?其实,名称中的 135102 就是 object_id, 从 dba_objects 就可以查到对象的信息. ...
解决oracle9i数据库不能通过dblink直接访问oracle7数据库
其实也很简单,在中间建一个oracle8/oracle8i数据库,中间过渡一下即可.
足彩常用缩水算法-10-4
10个310,4个31,中14包13.33333333333333333333333311133333333333133133333333333111
ORA-01652: unable to extend temp segment by string in tablespace string
用户在sqlldr一个大文件的时报错,表空间还有很大的剩余空间,经检查,原因是表空间的DMT的,频繁的dml导致碎片过多.将表的存储参数改小即可.
测试
chr(92) ""
今天优化了一个110系统
环境: oracle9205 rac , p690 ,rbo数据量增长很快.在程序,主机等没有改变的情况,突然从2005.11.20开始,很多查询语句变慢了几时倍。经过检查,除了个别语句很烂以外,大部分语句只要加rbo hint就可以在1S内...
ORA-01410:Invalid ROWID
解决ORA-01410:Invalid ROWID的一般步骤===========================================================1.使用ANALYZE TABLE <table> VALIDATE STRUCTURE CASCADE验证表和索引中的rowid是否有效.2.设置event = "1410 ...
How to return an exit code from SQL*Plus to the Unix Shell ?[akadia]
If you want to return a code from SQL*Plus to the UNIX shell script, then the WHENEVER SQLERROR directive can help. We can return a status from 0...255 to the UNIX shell. This is usually in the $? env...