一个SQL语句在Oracle里面是如何执行的?

匿名网友 匿名网友 发布于: 2015-08-30 00:00:00
阅读 167 收藏 0 点赞 0 评论 0

当一个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 关闭游标

评论列表
文章目录