Oracle 11.2.0.1 Result Cache 測試 - 5
三,Result Cache測試
測試1:普通測試
SQL> create table apps.test_result_cache as select * from dba_objects where rownum<=200000 ;
SQL> exec dbms_stats.gather_table_stats(ownname => 'apps',tabname => 'TEST_RESULT_CACHE' ,estimate_percent => null ,method_opt => 'for all indexed columns' ,cascade => true);
PL/SQL procedure successfully completed.
SQL> set timing on
SQL> set autotrace traceonly
SQL> select object_id, object_name,object_type,status from apps.test_result_cache where mod(object_id,3)=1;
66661 rows selected.
Elapsed: 00:00:00.79
Execution Plan
----------------------------------------------------------
----------------------------------------------------------------------------
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)|
----------------------------------------------------------------------------
| 0 | SELECT STATEMENT | | 2000 | 185K| 772 (2)|
|* 1 | TABLE ACCESS FULL| TEST_RESULT_CACHE | 2000 | 185K| 772 (2)|
----------------------------------------------------------------------------
Predicate Information (identified by operation id):
---------------------------------------------------
1 - filter(MOD("OBJECT_ID",3)=1)
Note
-----
- 'PLAN_TABLE' is old version
Statistics
----------------------------------------------------------
0 recursive calls
0 db block gets
7148 consistent gets
0 physical reads
。....
SQL>
測試1:普通測試
SQL> create table apps.test_result_cache as select * from dba_objects where rownum<=200000 ;
SQL> exec dbms_stats.gather_table_stats(ownname => 'apps',tabname => 'TEST_RESULT_CACHE' ,estimate_percent => null ,method_opt => 'for all indexed columns' ,cascade => true);
PL/SQL procedure successfully completed.
SQL> set timing on
SQL> set autotrace traceonly
SQL> select object_id, object_name,object_type,status from apps.test_result_cache where mod(object_id,3)=1;
66661 rows selected.
Elapsed: 00:00:00.79
Execution Plan
----------------------------------------------------------
----------------------------------------------------------------------------
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)|
----------------------------------------------------------------------------
| 0 | SELECT STATEMENT | | 2000 | 185K| 772 (2)|
|* 1 | TABLE ACCESS FULL| TEST_RESULT_CACHE | 2000 | 185K| 772 (2)|
----------------------------------------------------------------------------
Predicate Information (identified by operation id):
---------------------------------------------------
1 - filter(MOD("OBJECT_ID",3)=1)
Note
-----
- 'PLAN_TABLE' is old version
Statistics
----------------------------------------------------------
0 recursive calls
0 db block gets
7148 consistent gets
0 physical reads
。....
SQL>
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/35489/viewspace-1433528/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle 11.2.0.1 Result Cache 測試 - 1Oracle
- Oracle 11.2.0.1 Result Cache 測試 - 6Oracle
- Oracle 11.2.0.1 Result Cache 測試 - 7Oracle
- Oracle 11.2.0.1 Result Cache 測試 - 8Oracle
- Oracle 11.2.0.1 Result Cache 測試 - 9Oracle
- Oracle 11.2.0.1 Result Cache 測試 - 10Oracle
- Oracle 11.2.0.1 Result Cache 測試 - 12 DBMS_RESULT_CACHE管理包Oracle
- Oracle 11.2.0.1 Result Cache 測試 - 2 引數Oracle
- Oracle 11.2.0.1 Result Cache 測試 - 13 常用檢視Oracle
- Oracle 11.2.0.1 Result Cache 測試 - 3 引數及使用,限制Oracle
- Oracle 11.2.0.1 Result Cache 測試 - 11 各種場景測試結果Oracle
- oracle11g RESULT_CACHE測試 (一)Oracle
- Oracle Query Result CacheOracle
- 淺談Oracle Result CacheOracle
- query result cache in oracle 11gOracle
- Oracle 11g新特性:Result CacheOracle
- oracle 11g result_cache分析Oracle
- Oracle中sequence cache的測試Oracle
- 聊聊Oracle 11g的Result Cache(一)Oracle
- 聊聊Oracle 11g的Result Cache(二)Oracle
- 聊聊Oracle 11g的Result Cache(三)Oracle
- ORACLE 11g Result cache使用指南Oracle
- 聊聊Oracle 11g的Result Cache(四)Oracle
- oracle result cache 結果集快取的使用Oracle快取
- Oracle11g新特性:SQL Result Cache [zt]OracleSQL
- Oracle 11gR2 Result Cache特性文章收集Oracle
- Using Oracle Database 11g Release 2 Result Cache in an Oracle RAC EnvironmentOracleDatabase
- oracle cache table(5)Oracle
- Oracle11gr2新增表的RESULT CACHE屬性Oracle
- Oracle11gR2 Smart Flash Cache測試說明Oracle
- 使用RESULT CACHE加速SQL查詢效率SQL
- SQL Query Result Cache的使用和配置--Oracle 11G新特性SQLOracle
- Oracle 11g 的server結果快取result_cache_modeOracleServer快取
- Oracle中db_16k_cache_size的設定測試Oracle
- 12c設定RESULT_CACHE_MODE=MANUAL發生'Result Cache:RC Latch'型別的Latch Free等待型別
- Oracle OCP 1Z0-053 Q206(Query Result Cache)Oracle
- oracle小知識點15--result cache結果快取記憶體Oracle快取記憶體
- 1223 result cache,sql profile,sql patchSQL