oracle之errors
出現的問題:
SQL> set autot trace on;
SP2-0618: 無法找到會話識別符號。啟用檢查 PLUSTRACE 角色
SP2-0611: 啟用 STATISTICS 報告時出錯
SP2-0618: 無法找到會話識別符號。啟用檢查 PLUSTRACE 角色
SP2-0611: 啟用 STATISTICS 報告時出錯
解決辦法:1 conn /as sysdba
SQL> @D:\app\QiLin\product\11.2.0\dbhome_1\sqlplus\admin\plustrce.sql
2 授權
SQL> grant plustrace to scott;
SQL> @D:\app\QiLin\product\11.2.0\dbhome_1\sqlplus\admin\plustrce.sql
2 授權
SQL> grant plustrace to scott;
3 開啟
SQL> set autot on;
SQL> set timing on;
SQL> set autot on;
SQL> set timing on;
4 查詢
SQL> select * from emp;
已選擇14行。
SQL> select * from emp;
已選擇14行。
已用時間: 00: 00: 00.03
執行計劃
----------------------------------------------------------
Plan hash value: 3956160932
----------------------------------------------------------
Plan hash value: 3956160932
--------------------------------------------------------------------------
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
--------------------------------------------------------------------------
| 0 | SELECT STATEMENT | | 14 | 1218 | 3 (0)| 00:00:01 |
| 1 | TABLE ACCESS FULL| EMP | 14 | 1218 | 3 (0)| 00:00:01 |
--------------------------------------------------------------------------
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
--------------------------------------------------------------------------
| 0 | SELECT STATEMENT | | 14 | 1218 | 3 (0)| 00:00:01 |
| 1 | TABLE ACCESS FULL| EMP | 14 | 1218 | 3 (0)| 00:00:01 |
--------------------------------------------------------------------------
Note
-----
- dynamic sampling used for this statement (level=2)
-----
- dynamic sampling used for this statement (level=2)
統計資訊
----------------------------------------------------------
0 recursive calls
0 db block gets
8 consistent gets
0 physical reads
0 redo size
1455 bytes sent via SQL*Net to client
416 bytes received via SQL*Net from client
2 SQL*Net roundtrips to/from client
0 sorts (memory)
0 sorts (disk)
14 rows processed
SQL>
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/20976446/viewspace-706163/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- oracle 之errorsOracleError
- oracle之errors_ORA-00257OracleError
- 獲取oracle exception vs errors;sqlcode sqlerrm使用OracleExceptionErrorSQL
- Go 錯誤堆疊資訊之 CockroachDB errors 庫GoError
- Metric Collection ErrorsError
- Go Errors 詳解GoError
- slave-skip-errorsError
- HIbernate errors...Error
- Working with Errors in Go 1.13ErrorGo
- Errors and Recovery for the Server Parameter FileErrorServer
- mysql slave-skip-errorsMySqlError
- Canvas errors & CORS All In OneCanvasErrorCORS
- React 18 errors All In OneReactError
- How to recover from USB pipe errorsError
- Two errors after cloning eBSError
- nvm command errors All In OneError
- Oracle10g新特性——LOG ERRORS記錄DML錯誤日誌(三)OracleError
- Oracle10g新特性——LOG ERRORS記錄DML錯誤日誌(二)OracleError
- Oracle10g新特性——LOG ERRORS 記錄DML錯誤日誌(一)OracleError
- Oracle資料庫出現WARNING: too many parse errors告警的分析思路Oracle資料庫Error
- [20230104]Oracle too many parse errors PARSE ERROR.txtOracleError
- 記:”$ORACLE_HOME/.../sysman/recv/errors“目錄下產生大量日誌檔案OracleError
- “setting.xml” has syntax errorsXMLError
- 忘不了的 TODOS & FIXMES & ERRORSError
- How to Diagnose and Resolve UNABLE TO EXTEND ErrorsError
- error: Exited sync due to fetch errorsError
- tar: Error exit delayed from previous errorsError
- 【MySQL】Host is blocked because of many connection errorsMySqlBloCError
- MyEclipse提示Errors occurred during the buildEclipseErrorUI
- Errors During Multilevel Price DeterminationError
- SMON Following Errors ORA-21779Error
- Django admin static files errors All In OneDjangoError
- Troubleshooting ORA-3137 [12333] Errors When Using Oracle JDBC DriverErrorOracleJDBC
- oracle impdp的skip_constraint_errors選項跳過唯一約束錯誤OracleAIError
- [譯] Go 1.13 errors 包錯誤處理GoError
- Archiving not possible: No primary destinations errorsError
- 【Mysql】MySql Host is blocked because of many connection errors;MySqlBloCError
- MonkeyRunner進坑——errors importing other modulesErrorImport