oracle sql优化相关整理

来源:互联网 发布:lol网络延迟高 编辑:程序博客网 时间:2024/05/26 07:27


当一个oracle实例接收到一条sql后,执行过程如下:

  1) create  a cursor  创建游标

  2) parse the statement 分析语句

  3)  describe results of a query 描述查询的结果集

  4)define output of a query 定义查询的输出数据

  5)bind any variables 绑定变量

  6)parallelize the statement 并行执行语句

  7)run the statement 运行语句

  8)fetch rows of a query 取查询结果

  9)close the cursor 关闭游标



参考:

http://www.cnblogs.com/wishyouhappy/p/3684148.html


常用sql语句及案例(oracle)

http://www.cnblogs.com/wishyouhappy/p/3700683.html