
数据库
water_mys
这个作者很懒,什么都没留下…
展开
-
Oracle语句优化53个规则详解
Oracle语句优化53个规则详解(1) Oracle sql 性能优化调整 1. 选用适合的ORACLE优化器 ORACLE的优化器共有3种: a. RULE (基于规则) b. COST (基于成本) c. CHOOSE (选择性) 设置缺省的优化器,可以通过对init.ora文件中OPTIMIZER_MODE参数的各种...原创 2009-11-26 00:02:55 · 96 阅读 · 0 评论 -
Oracle的执行计划详解
一、什么是执行计划 An explain plan is a representation of the access path that is taken when a query is executed within Oracle. 二、如何访问数据 At the physical level Oracle reads blocks of data. The smalle...原创 2009-11-26 00:05:45 · 153 阅读 · 0 评论 -
oracle trunc函数用法
1. TRUNC(for dates) TRUNC函数为指定元素而截去的日期值。 其具体的语法格式如下: TRUNC(date[,fmt]) 其中: date 一个日期值 fmt 日期格式,该日期将由指定的元素格式所截去。忽略它则由最近的日期截去 2.TRUNC(for number) TRUNC...原创 2009-11-26 00:29:34 · 125 阅读 · 0 评论