oracle DML执行阶段

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/yb464855952/article/details/84066418

DML语句处理:

每种类型的语句都需要如下阶段

  第1: Create a Cursor 创建游标 
  第2步: Parse the Statement 分析语句

  第5: Bind Any Variables 绑定变量

  第7: Run the Statement 运行语句

  第9: Close the Cursor 关闭游标

如果使用了并行功能,还会包含如下阶段。

  第6: Parallelize the Statement 并行执行语句

如果是SELECT 查询语句,则需要如下额外步骤

   第3: Describe Results of a Query 描述查询的结果集

   第4: Define Output of a Query 定义查询的输出数据

   第8: Fetch Rows of a Query 取查询出来的行

猜你喜欢

转载自blog.csdn.net/yb464855952/article/details/84066418
今日推荐