[20181011]12c set FEEDBACK only.txt
[20181011]12c set FEEDBACK only.txt
--//12CR2 ,增強了set FEEDBACK功能,加入only選項可以禁止輸出資訊顯示,僅僅顯示返回幾行,有利於dba集中精力除錯
--//sql語句,18c還增加返回執行語句的sql_id的功能,簡單測試.
1.環境:
SCOTT@test01p> @ ver1
PORT_STRING VERSION BANNER CON_ID
------------------------------ -------------- -------------------------------------------------------------------------------- ----------
IBMPC/WIN_NT64-9.1.0 12.2.0.1.0 Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production 0
2.測試:
SCOTT@test01p> show FEEDBACK
FEEDBACK ON for 6 or more rows
SCOTT@test01p> SET FEEDBACK ONLY
SCOTT@test01p> select * from emp;
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
---------- ---------- --------- ---------- ------------------- ---------- ---------- ----------
14 rows selected.
--//僅僅返回記錄數量.
SCOTT@test01p> SET FEEDBACK On
SCOTT@test01p> @ dpc '' ''
PLAN_TABLE_OUTPUT
-------------------------------------
SQL_ID a2dk8bdn0ujx7, child number 0
-------------------------------------
select * from emp
Plan hash value: 3956160932
---------------------------------------------------------------------------
| Id | Operation | Name | E-Rows |E-Bytes| Cost (%CPU)| E-Time |
---------------------------------------------------------------------------
| 0 | SELECT STATEMENT | | | | 3 (100)| |
| 1 | TABLE ACCESS FULL| EMP | 14 | 532 | 3 (0)| 00:00:01 |
---------------------------------------------------------------------------
Query Block Name / Object Alias (identified by operation id):
-------------------------------------------------------------
1 - SEL$1 / EMP@SEL$1
--//這樣螢幕就不會這麼亂,有利於集中經歷調優sql語句.
--//18c還支援SET FEEDBACK ON SQL_ID顯示sql_id.我目前使用版本不支援這個功能.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/267265/viewspace-2216290/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- [20181105]再論12c set feedback only.txt
- [20181107]18c set feedback顯示sql_id.txtSQL
- [20181011]12c Service "5fc5f5feaffb4fb8976b61874a94d666".txt
- [20200309]expdp 與read only.txt
- [20181011]ORA-65086 cannot openclose the pluggable database.txtDatabase
- [20181011]ORA-44777 – Pluggable database service cannot be started.txtDatabase
- 【論文筆記】 Denoising Implicit Feedback for Recommendation筆記
- win10 怎麼開啟feedback-hub_win10系統開啟feedback-hub的方法Win10
- Android OpenGL ES 系列連載:(07)Transform FeedbackAndroidORM
- Win10怎麼解除安裝Feedback Hub應用程式_Win10解除安裝Feedback Hub的方法Win10
- Deep Learning for joint channel estimation and feedback in massive MIMO systems(1)
- Set
- set /?
- 【論文筆記】Leveraging Post-click Feedback for Content Recommendations筆記
- lombok get/set 與 JavaBean get/setLombokJavaBean
- 【Coursera GenAI with LLM】 Week 3 Reinforcement Learning from Human Feedback Class NotesAI
- [Javascript] Perform Set Operations using JavaScript Set MethodsJavaScriptORM
- set -e
- Jet Set
- set -o
- Vue.set與vue.$set的使用Vue
- 訓練集(train set),驗證集(validation set)和測試集(test set)AI
- alter system set event和set events的區別
- set excel formatExcelORM
- Redis之setRedis
- Set介面_network
- JavaScript Set物件JavaScript物件
- 2020.11.21 Set介面
- Python set(集合)Python
- Set 和Map
- dict和set
- Set delete() 方法delete
- URLSearchParams set() 方法
- 閱讀文獻《DCRNet:Dilated Convolution based CSI Feedback Compression for Massive MIMO Systems》
- 12C打psu
- Oracle 12c系列(十) | 12c中的Recovering Tables and Table PartitionsOracle
- Spatio-Temporal Representation With Deep Neural Recurrent Network in MIMO CSI Feedback閱讀筆記筆記
- 【OCM】Oracle 12C OCMU 12c OCM升級考試大綱Oracle