dbms_xplan.display_cursor 報錯 NOTE: cannot fetch plan for SQL_ID
在使用select * from table(dbms_xplan.display_cursor(null,null,'advanced'));總是報
1 SQL_ID 9m7787camwh4m, child number 0
2
3 begin :id := sys.dbms_transaction.local_transaction_id; end;
4
5 NOTE: cannot fetch plan for SQL_ID: 9m7787camwh4m, CHILD_NUMBER: 0
6 Please verify value of SQL_ID and CHILD_NUMBER;
7 It could also be that the plan is no longer in cursor cache (check v$sql_plan)
8
這個錯誤
最終的網上找到解決辦法
The error is due to the SQL*Plus environment variable SERVEROUTPUT is turned on. One of the Prerequisites for running the package is to turn off SERVEROUTPUT.
在sqlplus中把關閉
SQL>set serveroutput off
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/12798004/viewspace-1480971/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Error: cannot fetch last explain plan from PLAN_TABLEErrorASTAI
- NOTE: cannot fetch plan for SQL_ID_在plsql developer無法獲取sql執行計劃SQLDeveloper
- Django 報錯 TemplateDoesNotExistDjango
- allowedOrigins cannot contain the gateway 報錯AIGateway
- 前端報錯:cannot read property length of undefined前端Undefined
- pip 安裝selenium報錯:Cannot fetch index base URL https://pypi.python.org/simple/怎麼解決??IndexHTTPPython
- gateway 報錯 allowedOrigins cannot contain the specialGatewayAI
- tar (child): bzip2: Cannot exec: No such file or directory 報錯
- vue+echarts報錯Cannot read property ‘init‘ of underfinedVueEcharts
- PHP報錯:?configure: error: Cannot find libmysqlclientPHPErrorIBMMySqlclient
- object dict cannot be used in await expression報錯解釋ObjectAIExpress
- React報錯之Function components cannot have string refsReactFunction
- 執行專案報錯Cannot read property 'styles' of undefinedUndefined
- 解決String cannot be cast to java.util.List報錯ASTJava
- Python django報錯ImportError: cannot import name find_specPythonDjangoImportError
- SQL2012報錯:cannot find one or more cpmponentsSQL
- su - oracle報錯su: cannot set user id: Resource temporarily unavailableOracleAI
- Java訪問Elasticsearch報錯Request cannot be executed; I/O reactor status: STOPPEDJavaElasticsearchReact
- el-tree 報錯 TypeError: Cannot read property ‘setCheckedKeys‘ of undefined“ErrorUndefined
- suse linux 10_su - oracle報ulimit錯誤-cannot modify limit:LinuxOracleMIT
- 開啟 Word 文件報錯: Cannot find the Word document template:WordToRgm.dot
- 執行計劃中Note部分顯示'PLAN TABLE' is old version
- ash報告中無sql_id的情況SQL
- cenots7.6系統報“fork:Cannot allocate memory” 報錯的解決方法(實操)
- Vue啟動報錯 Cannot find module 'webpack/bin/config-yargs'VueWeb
- sqlserver bulk insert報錯Cannot bulk load because the file could not be opened.SQLServer
- Ajax 報錯jquery-3.3.1.min.js:2 Uncaught TypeError: Cannot use 'in' operator to seajQueryJSError
- 獨顯接顯示器報錯提示:Mouse0: cannot open input devicedev
- sqlplus因selinux報錯cannot restore segment prot after reloc: Permission deniedSQLLinuxREST
- libclntsh.so.11.1:cannot restore segment prot after reloc:Permission denied 報錯REST
- mysql匯入報錯Variable 'sql_notes' can't be set to the value of 'NULL'MySqlNull
- LightDB Canopy 常見報錯問題分析(二)DETAIL: Distributed relations cannot haveAI
- solrcloud頁面顯示報錯Cannot load analyzer問題的解決方法SolrCloud
- PB協議報錯 it is missing required fields: (cannot determine missing fields for lite message)協議UI
- python 報錯:raise IllegalCharacterError(f"{value} cannot be used in worksheets.") openpyxl.utils.exceptions.IllegalCharacterErrorPythonAIErrorException
- explain plan VS execution planAI
- Redis 寫磁碟出錯 Cannot allocate memoryRedis
- redis 寫磁碟出錯Cannot allocate memoryRedis