ExaGridDba

explain plan on Oracle SQL Live 18c

Feb 17th, 2018
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. select sysdate from dual;
  2. select * from table( dbms_xplan.display_cursor);
  3. explain plan for
  4. select sysdate from dual;
  5. select * from table( dbms_xplan.display);
  6.  
  7.  
  8. Oracle Live SQL
  9.  
  10. SQL Worksheet
  11.  
  12.  
  13.  
  14. Result Set 11
  15.  
  16. SYSDATE
  17. 17-FEB-18
  18.  
  19. Download CSV
  20. Result Set 12
  21.  
  22. PLAN_TABLE_OUTPUT
  23. User has no SELECT privilege on V$SESSION
  24.  
  25. Download CSV
  26. Statement processed.
  27. Result Set 13
  28.  
  29. PLAN_TABLE_OUTPUT
  30. Plan hash value: 1388734953
  31.  
  32. -----------------------------------------------------------------
  33. | Id | Operation | Name | Rows | Cost (%CPU)| Time |
  34. -----------------------------------------------------------------
  35. | 0 | SELECT STATEMENT | | 1 | 2 (0)| 00:00:01 |
  36. | 1 | FAST DUAL | | 1 | 2 (0)| 00:00:01 |
  37. -----------------------------------------------------------------
  38.  
  39. Download CSV
  40. 8 rows selected.
  41. Live SQL 18.1.2, running Oracle Database 18c Enterprise Edition - 18.1.0.0.0 Set Screen Reader Mode On
  42. © 2018 Oracle Corporation · Privacy · Terms of Use
  43. Live SQL Home · About · Oracle Database on OTN · Oracle Learning Library · Oracle Database Documentation 18c , 12c · Follow on Twitter
  44. Oracle Live SQL - SQL Worksheet
Add Comment
Please, Sign In to add comment