当前位置:网站首页>Analysis of redo log generated by select command
Analysis of redo log generated by select command
2022-04-23 13:43:00 【Not dizzy yet】
In the near future , A user is doing SQL To optimize the , adopt sqlplus Of set autotrace on Command tracking SQL When implementing , I found this SELECT The command also produced REDO journal ; With what we usually understand DML/DDL Statement REDO There are differences in the understanding of logs ~
Yes ORACLE If you have a clear understanding of the characteristics of the database , Especially data blocks 、 Have a deeper understanding of transaction processing , Will know ORACLE Database transactions 、 Data block ITL Some principles of transaction slot 、 structural information ; You will know a concept called “ Delay block clearing ”--delayed block cleanout, In about 9 Years ago, when I was learning to understand this piece of knowledge , The related concepts and principles are summarized and tested , You can check the BLOG: On the concept and experiment of delayed block clearing _ Not a dizzy blog -CSDN Blog
In short, it is :
Many data blocks may be manipulated in large transactions ; and BUFFER CACHE The time to write the modified dirty data in the data file is not COMMIT It is DBWR According to the rules ; Therefore, the data blocks related to transactions are brushed out first buffer cache, And then COMMIT Not yet implemented .
When this transaction COMMIT After submission , Business related data block ,undo block Transaction information on , The lock information will not be cleared .
The next time the data block is read buffer cache( May be SELECT Read or other DML), oracle Make transaction information when reading such data blocks 、 Clearing of lock information .
Statistics
----------------------------------------------------------
105 recursive calls
0 db block gets
1343685 consistent gets
550158 physical reads
28532 redo size ====>>>> SELECT When the REDO
2940 bytes sent via SQL*Net to client
520 bytes received via SQL*Net from client
2 SQL*Net roundtrips to/from client
11 sorts (memory)
0 sorts (disk)
15 rows processed
版权声明
本文为[Not dizzy yet]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230601579395.html
边栏推荐
- ACFs file system creation, expansion, reduction and other configuration steps
- 聯想拯救者Y9000X 2020
- Parameter comparison of several e-book readers
- Opening: identification of double pointer instrument panel
- Isparta is a tool that generates webp, GIF and apng from PNG and supports the transformation of webp, GIF and apng
- 联想拯救者Y9000X 2020
- Test the time required for Oracle library to create an index with 7 million data in a common way
- [point cloud series] deepmapping: unsupervised map estimation from multiple point clouds
- Oracle calculates the difference between two dates in seconds, minutes, hours and days
- On the bug of JS regular test method
猜你喜欢

TIA博途中基於高速計數器觸發中斷OB40實現定點加工動作的具體方法示例

Campus takeout system - "nongzhibang" wechat native cloud development applet

How do ordinary college students get offers from big factories? Ao Bing teaches you one move to win!

MySQL and PgSQL time related operations

切线空间(tangent space)

Exemple de méthode de réalisation de l'action d'usinage à point fixe basée sur l'interruption de déclenchement du compteur à grande vitesse ob40 pendant le voyage de tia Expo

校园外卖系统 - 「农职邦」微信原生云开发小程序

零拷贝技术

Search ideas and cases of large amount of Oracle redo log

SAP ui5 application development tutorial 72 - trial version of animation effect setting of SAP ui5 page routing
随机推荐
Exemple de méthode de réalisation de l'action d'usinage à point fixe basée sur l'interruption de déclenchement du compteur à grande vitesse ob40 pendant le voyage de tia Expo
19c RAC steps for modifying VIP and scanip - same network segment
Troubleshooting of expdp export error when Oracle table has logical bad blocks
Solve tp6 download error course not find package topthink / think with stability stable
Lenovo Savior y9000x 2020
Software test system integration project management engineer full truth simulation question (including answer and analysis)
On the bug of JS regular test method
SAP UI5 应用开发教程之七十二 - SAP UI5 页面路由的动画效果设置试读版
Unified task distribution scheduling execution framework
QT调用外部程序
Personal learning related
GDB的使用
MySQL and PgSQL time related operations
Interval query through rownum
集简云 x 飞书深诺,助力企业运营部实现自动化办公
SAP UI5 应用开发教程之七十二 - SAP UI5 页面路由的动画效果设置
UEFI learning 01-arm aarch64 compilation, armplatformpripeicore (SEC)
SAP ui5 application development tutorial 72 - trial version of animation effect setting of SAP ui5 page routing
TCP 复位gongji原理和实战复现
Modification of table fields by Oracle