随笔分类 - Oracle
摘要:About Oracle Hint - CONNECT_BY_FILTERING
阅读全文
摘要:DISTINCT 可能造成执行计划很大的改变。
阅读全文
摘要:UNION or UNION ALL?
阅读全文
摘要:经常会在执行计划中看到很奇怪的"FILTER"操作,然后看对应的执行信息是"filter(NULL IS NOT NULL)". 其实这是优化器非常聪明的“短路”操作。比如下面的这个执行计划,(尤其是从统计信息中可以看到logical/physical reads都是0)(注:在Ask Tom: On Constraints, Metadata, and Truth (http://www.oracle.com/technetwork/issue-archive/2011/11-mar/o21asktom-312223.html) 有提到)Executi
阅读全文
摘要:在 “http://www.cnblogs.com/fangwenyu/p/3260907.html” 中提到通过打了一个数据库的补丁来解决"row cache objects"的问题。但是结果很不幸,问题并没有解决!后来通过仔细观察,发现压力测试中随着 vuser的数量增加,DB服务器的usage一直在上升,但是一旦达到或接近100%的时候,发现这个时候就会出现row cache objects 的争用问题了。后来还是老老实实对有问题的SQL进行优化(虽然有些已经很难改动了),然后对一些sequence的cache size进行增加(这个在有个report中反映明显,因为
阅读全文
摘要:About one Oracle wait event ~ latch:row cache objects.
阅读全文
摘要:By default, Oracle will run some maintance jobs every night. If you don't want to run those jobs, you can just disable them.Query the automatic jobs using the SQL statement below,select * from DBA_AUTOTASK_CLIENTYou would normally see the following 3 jobs:(1)auto optimizer stats collection(2)aut
阅读全文
摘要:诡异的 "Error 45 initializing SQL*Plus - Internal error"
阅读全文
摘要:NULL值在predicate和constraint中的不同处理方式
阅读全文
摘要:rowid paging benefit from 11g new feature
阅读全文
摘要:A simple example to create java stored procedure in oracle
阅读全文
摘要:CASE WHEN might lead to wrong outer join result in 11.2.0.2. This article gives an working example.
阅读全文
摘要:One interesting trick to spell the number using SQL!
阅读全文
摘要:You may wonder what the hell the difference between "DATA_OBJECT_ID" and "OBJECT_ID" sometimes. Congrats, you are not alone. Here we go --
阅读全文
摘要:A simple example of Oracle Secure Application Role
阅读全文
摘要:Example of converting physical standby database to snapshot standby databsae
阅读全文
摘要:Oracle Data Guard - real time apply
阅读全文
摘要:A weird problem when loading LOB file using SQL*LODER
阅读全文
摘要:Set up physical standby db example
阅读全文
摘要:Implement "read lock" using Oracle VPD
阅读全文

浙公网安备 33010602011771号