Tom大师关于oracle优化的经典法则
2010-09-25 13:35
211 查看
• You should do it in a single SQL statement if at all possible. And believe it or not, it
is almost always possible.
• If you can’t do it in a single SQL Statement, do it in PL/SQL—as little PL/SQL as
possible! Follow the saying that goes “more code = more bugs, less code = less
bugs.”
• If you can’t do it in PL/SQL, try a Java stored procedure. The times this is
necessary are extremely rare nowadays with Oracle9i and above.
• If you can’t do it in Java, do it in a C external procedure. This is most frequently
the approach when raw speed or using a third-party API written in C is needed.
• If you can’t do it in a C external routine, you might want to seriously think about
why it is you need to do it
is almost always possible.
• If you can’t do it in a single SQL Statement, do it in PL/SQL—as little PL/SQL as
possible! Follow the saying that goes “more code = more bugs, less code = less
bugs.”
• If you can’t do it in PL/SQL, try a Java stored procedure. The times this is
necessary are extremely rare nowadays with Oracle9i and above.
• If you can’t do it in Java, do it in a C external procedure. This is most frequently
the approach when raw speed or using a third-party API written in C is needed.
• If you can’t do it in a C external routine, you might want to seriously think about
why it is you need to do it
相关文章推荐
- Oracle监听器被优化大师挂掉后的完美解决方法
- Oracle优化经典文章------磁盘I/O和碎片篇
- Oracle里面关于排序的优化
- 经典实用数据库新书推荐-关于mysql和oracle【转孟光】
- 关于Oracle过程,函数的经典例子及解析
- 关于oracle优化的几点经验
- Oracle优化经典文章------索引原理篇
- 关于Oracle的优化
- 关于Oracle过程,函数的经典例子及解析
- 关于JAVA与ORACLE中SQL语句的优化和相应SQL编写规范
- Oracle优化经典文章------索引原理篇
- Sql优化(三) 关于oracle的并发
- 基于成本的oracle的优化法则(一):单表选择率
- 关于oracle游标的使用优化
- 关于oracle的多表查询优化
- 关于SQL语言的优化(Oracle)
- Oracle对Jdk7与Jre7的关系的经典图解。(关于Java开发工具包与Java运行环境)
- yahoo 关于页面优化的黄金法则
- Oracle学习总结(8)—— 面向程序员的数据库访问性能优化法则
- 对话Oracle大师:有关SQL优化的建议