Collection iterator pickler fetch appears in the execution plan
Today, when I used explain plan for to view the SQL Execution plan, the following strange execution plan appeared:
- SQL> explain plan for select * from test where object_id = 100;
- Explained.
- SQL> select * from table (dbms_xplan.display ());
- 14 rows selected.
- Execution Plan
- ----------------------------------------------------------
- Plan hash value: 2137789089
- Bytes ---------------------------------------------------------------------------------------------
- | Id | Operation | Name | Rows | Bytes | Cost (% CPU) | Time |
- Bytes ---------------------------------------------------------------------------------------------
- | 0 | select statement | 8168 | 16336 | 29 (0) | 00:00:01 |
- | 1 | collection iterator pickler fetch | DISPLAY | 8168 | 16336 | 29 (0) | 00:00:01 |
- Bytes ---------------------------------------------------------------------------------------------
- Statistics
- ----------------------------------------------------------
- 14 recursive CILS
- 12 db block gets
- 55 consistent gets
- 0 physical reads
- 0 redo size
- 1414 bytes sent via SQL * Net to client
- 519 bytes encoded ed via SQL * Net from client
- 2 SQL * Net roundtrips to/from client
- 1 sorts (memory)
- 0 sorts (disk)
- 14 rows processed
After investigation, it is found that the set autotrace on is executed before the use of the explain plan for. After autotrace is disabled, the execution plan is displayed as normal, with a little knowledge and record for reference.