09 2012 档案
Bind variables in 'in' condition(在in中动态的绑定参数(参数个数可变))
摘要:Varying in lists... 在书写SQL语句的过程中,我们可能会遇到,在其中的一张表中会存储一个ID串的字段,那么在写SQL语句的过程中,我们可能会出现以下错误的写法,1 SELECT * FROM WHERE col IN (SELECT col2 FROM dual)本文将给出为什么该语法错误的原因:本文也给出了通用的几种处理方法:网址:http://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:110612348061 http://asktom.oracle.com/pls/asktom/f... 阅读全文
posted @ 2012-09-24 07:52 Coldest Winter 阅读(630) 评论(0) 推荐(0)
pass parameters to view(参数视图)
摘要:参考网址:http://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:1448404423206参数视图:在实际的业务中,我们可能要进行权限控制,例如:某个部门经理只能看到属于自己管理部门下的员工信息,而不能看到不属于自己管理的部门下的员工的信息,对于系统来说,就要动态的根据当前的登录人所属的部门,进行动态的过滤某些数据,这时候,可以考虑使用参数视图,但是也可以利用一个包的get/set方法进行权限的过滤例如,以下是一个简单的实例:使用的包:CREATE OR REPLACE PACKAGE get_dept_info I 阅读全文
posted @ 2012-09-22 19:21 Coldest Winter 阅读(463) 评论(0) 推荐(0)
存储过程包实例分享
摘要:1、网址:http://www.databasejournal.com/features/oracle/article.php/10893_3507806_2/A-View-of-Creating-an-Oracle-User---Part-I.htmView Code2、STR包:网址:http://www.joegarrepy.com/str_package.htm http://plnet.org/(包含很多使用的包)API参考手册:http://www.joegarrepy.com/pldoc_str.htmlView Code 1 CREATE OR REPLACE PACK... 阅读全文
posted @ 2012-09-22 09:29 Coldest Winter 阅读(233) 评论(0) 推荐(0)
Row Chaining and Row Migration(转载)
摘要:声明:本文为转载,如果有侵犯知识版权,请通知本人,本人将即刻停止侵权行为:转载网址:http://blog.csdn.net/huang_tg/article/details/5722005本文主要介绍Oracle的行链接(Row Chaining)与行迁移(Row Migration)的产生原因及调整方法。如果数据库存在大量的行迁移及行链接,那么对数据库的性能影响是非常大的。关于数据在数据块中是如何存储的可以参考文章:http://blog.csdn.net/huang_tg/archive/2010/07/08/5722114.aspx及http://blog.csdn.net/huang 阅读全文
posted @ 2012-09-13 21:56 Coldest Winter 阅读(179) 评论(0) 推荐(0)
Clustering Factor: Row Migration’s Victim(转载)
摘要:Clustering Factor: Row Migration’sVictimInPerformanceon2010-03-09at10:15 This article describes the effects of a high row migration rate on the clustering factor and the optimizer’s ability to select the best execution plan. 主要介绍了在高的行链接的情况下对对于聚集因子的影响和对优化器选择最佳执行计划的影响。In my previous article—Row Migra. 阅读全文
posted @ 2012-09-13 06:54 Coldest Winter 阅读(313) 评论(0) 推荐(0)
Row Migration and Row Movement(转载)
摘要:Row Migration and RowMovement声明:本文为转载,如果有侵犯知识版权,请通知本人,本人将即刻停止侵权行为:转载网址:http://blog.fatalmind.com/2010/02/23/row-migration-and-row-movement/InPerformanceon2010-02-23at10:52 The Oracle database knows three distinct processes that are easily mixed up: Row Chaining,Row Migration and Row Movement. Lu... 阅读全文
posted @ 2012-09-12 07:47 Coldest Winter 阅读(414) 评论(0) 推荐(0)
Row Movement in Oracle-转载
摘要:Row Movement 阅读全文
posted @ 2012-09-11 22:05 Coldest Winter 阅读(1455) 评论(0) 推荐(0)
The Secrets of Oracle Row Chaining and Migration(转载)
摘要:Row Chaining and Migration 阅读全文
posted @ 2012-09-10 06:48 Coldest Winter 阅读(491) 评论(0) 推荐(0)
Oracle Performance Tuning--Tips for Avoiding Problematic Queries(转载至databasejournal)
摘要:Tips for Avoiding Problematic Queries 阅读全文
posted @ 2012-09-10 06:40 Coldest Winter 阅读(185) 评论(0) 推荐(0)
oracle-经典图书收集
摘要:Cost Based Oracle Fundamentals豆瓣网简介:http://book.douban.com/subject/1464876/内容简介 ······ Oracle 优化器是如何工作的? 关于这个问题很多 Oracle 图书都有介绍, 但大多数是浅尝辄止, 疏于皮毛。 Lewis 作了一个伟大的尝试, 准备就 CBO 这个话题,用三本书的写作篇幅来彻底回答关于 Oracle 优化器的一切知识。如果您自认为 自己的 Oracle 水平不错,一定要看一下。Expert PL SQL PracticesOracle.C 阅读全文
posted @ 2012-09-09 08:46 Coldest Winter 阅读(312) 评论(0) 推荐(0)
Index Clustering Factor -- Why it Matters
摘要:声明:本文为转载,如果有侵犯知识版权,请通知本人,本人将即刻停止侵权行为:转载网址:http://www.dbasupport.com/forums/archive/index.php/t-38893.htmlIntroduction The index custering factor is a key statistic that can improve both the Oracle optimizer's performance, and the technician's understanding of the utility of an index. index C 阅读全文
posted @ 2012-09-08 22:21 Coldest Winter 阅读(218) 评论(0) 推荐(0)
Oracle Index Clustering Factor 说明(转载)
摘要:Oracle Index Clustering Factor 阅读全文
posted @ 2012-09-08 21:55 Coldest Winter 阅读(288) 评论(0) 推荐(0)
Oracle Statistic 统计信息 小结(转载)
摘要:声明:本文为转载,如果有侵犯知识版权,请通知本人,本人将即刻停止侵权行为:转载网址:http://blog.csdn.net/tianlesoftware/article/details/4668723 sql tuning advisor in 10g:http://www.oracle-developer.net/display.php?id=317本文中提到的一些专业术语,可以查看Oracle Database Performance Tuning Guide, 10g Release 2 (10.2).pdf第14章节Managing Optimizer Statistics一... 阅读全文
posted @ 2012-09-06 06:57 Coldest Winter 阅读(761) 评论(0) 推荐(0)