oracle buffer gets=db block gets+consistent gets
SQL> select STATISTIC#,name from v$statname where name like '%db block gets%';
STATISTIC# NAME
---------- ----------------------------------------------------------------
63 db block gets
64 db block gets from cache
65 db block gets from cache (fastpath)
66 db block gets direct
--9號會話為使用者會話
SQL> select sid,VALUE from v$sesstat where STATISTIC#=63 and sid=9;
SID VALUE
---------- ----------
9 375
--9號會話插入資料
SQL> insert into t_detail values(2);
1 row created.
SQL> commit;
Commit complete.
--回到監控會話發現
SQL> select sid,VALUE from v$sesstat where STATISTIC#=63 and sid=9;
SID VALUE
---------- ----------
9 378
--9號會話多次執行select查詢, db block gets未發生變化
小結:db block gets僅與dml有關
--buffer gets如何計算
buffer gets = db block gets + consistent gets
---db block gets與consistent gets可由如何計算而知
SQL> select STATISTIC#,name from v$statname where name like '%db block get%';
STATISTIC# NAME
---------- ----------------------------------------------------------------
63 db block gets
64 db block gets from cache
65 db block gets from cache (fastpath)
66 db block gets direct
SQL> select STATISTIC#,name from v$statname where name like '%consistent gets%';
STATISTIC# NAME
---------- ----------------------------------------------------------------
67 consistent gets
68 consistent gets from cache
69 consistent gets from cache (fastpath)
70 consistent gets - examination
71 consistent gets direct
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/9240380/viewspace-756267/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- db block gets 與 consistent read getsBloC
- DB Block Gets、Consistent Gets、Physical ReadsBloC
- recursive calls, db block gets,consistent gets,physical ReadsBloC
- recursive calls ,db block gets , consistent gets的含義BloC
- db block gets的解釋[轉]BloC
- 對'Consistent Gets',''Physical Reads'和'DB Block Gets'的理解BloC
- consistent gets、db block gets的簡單精闢的理解BloC
- Consistent Gets,Physical Reads和DB Block Gets的解釋(轉)BloC
- (轉)關於 db block gets,consistent gets,physical reads的概念BloC
- 對'Consistent Gets',''Physical Reads'和'DB Block Gets'的理解和解釋BloC
- DB Bocks gets & Consistent gets 區別
- Consistent Gets(就是logical read)+ DB Block Gets = 所謂的Logical ReadsBloC
- 關於統計中Consistent Gets,Physical Reads和DB Block Gets的意義BloC
- 【Oracle-記憶體管理】-DB Blocks gets,Consistent gets And Physical readsOracle記憶體BloC
- DB Bocks gets,Consistent gets And Physical reads 轉載
- 關於執行計劃裡recursive calls,db block gets和consistent gets引數的解釋BloC
- consistent gets
- 某條sql的buffer gets 的歷史月度變化SQL
- gets函式的漏洞函式
- oracle實驗記錄 (oracle consistent gets 計算)Oracle
- Oracle一致性讀(consistents gets)Oracle
- C語言關於指標,gets()和gets_s()函式的理解C語言指標函式
- AIX: Database performance gets slower the longer the db is running_316533.1AIDatabaseORM
- Your Prediction Gets As Good As Your DataGo
- Why Archive, FRA Diskgroup Gets Mounted / DismountedHive
- consistent gets 到底指的是什麼?
- getc();fgetc();getchar();gets();fgets();
- gets函式的不安性詳解函式
- 淺談consistent gets的計算
- Database performance gets slower the longer the database is runningDatabaseORM
- OPatch failed with error code 73(OracleHomeInventory gets null oracleHomeInfo)AIErrorOracleNull
- DB_BLOCK_SIZE and DB_CACHE_SIZE in OracleBloCOracle
- gets()getchar()與緩衝區的問題
- consistent gets暴漲的一種情況
- oracle的塊 db_block_sizeOracleBloC
- sqlplus中arrayseize引數以及consistent getsSQL
- Oracle透過AWR的SQL ordered by Gets和SQL ordered by Reads診斷問題OracleSQL
- 緩衝區溢位漏洞那些事:C -gets函式函式