Oracle sql执行过程

每种类型的语句都要运行的全过程:

  1、Create a Cursor  创建游标;

  2、Parse the Statement  分析语句;

  5、Bind Any Variables  绑定变量;

  7、Run the Statement  运行语句;

  9、Close the Cursor  关闭游标;

如果使用了并行功能,还会包含下面的这个阶段:

  6、Parallelize the Statement  并行执行语句;

如果是查询语句,则需要以下几个额外的步骤:

  3、Describe Results of a Query  描述查询的结果集;

  4、Define Output of a Query   定义查询的输出数据;

  8、Fetch Rows of a Query  取查询出来的行;

posted @ 2012-10-25 16:50  Peyton  阅读(162)  评论(0编辑  收藏  举报