产生递归调用 (Recursive Call 或 recursive SQL statements) 的几种情况

 
当执行一条SQL语句时,产生的对其他SQL语句的调用,这些额外的语句称之为''recursive calls''或''recursive SQL statements''.
 
  
触发Recursive Call的几种情况:  
        如:
       (1)我们做一条insert 时,没有足够的空间来保存row记录,Oracle 通过Recursive Call 来动态的分配空间。
       (2)执行DDL语句时,ORACLE总是隐含的发出一些recursive SQL语句,来修改数据字典信息,以便成功的执行该DDL语句。
       (3)当Shared Pool过小,data dictionary cache 也会相应的过小,没有足够的空间存储ORACLE的系统数据字典信息时,会发生
            Recursive calls,这些Recursive calls会将数据字典信息从硬盘读入内存中。
       (4)存储过程、触发器内如果有SQL调用的话,也会产生recursive SQL。
 
 
Recursive calls can be generated by the following activities:
       (1)An object requiring an additional extent for storage (dynamic extension)
       (2)Misses on the dictionary cache (in buffer cache)
       (3)Firing of database triggers  
       (4)DDL statements
       (5)Execution of SQL statements within stored procedures, packages, functions, and anonymous PL/SQL blocks
       (6)Enforcement of referential integrity constraints
请使用浏览器的分享功能分享到微信等