当前位置:网站首页>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
边栏推荐
- Detailed explanation of constraints of Oracle table
- Dolphin scheduler configuring dataX pit records
- Window analysis function last_ VALUE,FIRST_ VALUE,lag,lead
- [Video] Bayesian inference in linear regression and R language prediction of workers' wage data | data sharing
- [point cloud series] neural opportunity point cloud (NOPC)
- RTOS mainstream assessment
- AI21 Labs | Standing on the Shoulders of Giant Frozen Language Models(站在巨大的冷冻语言模型的肩膀上)
- sys. dbms_ scheduler. create_ Job creates scheduled tasks (more powerful and rich functions)
- Why do you need to learn container technology to engage in cloud native development
- [multi screen interaction] realize dual multi screen display II: startactivity mode
猜你喜欢

Cross carbon market and Web3 to achieve renewable transformation
![[point cloud series] Introduction to scene recognition](/img/1f/c64712b03ae5b235b5dd3347c3e86a.png)
[point cloud series] Introduction to scene recognition
![[indicators] precision, recall](/img/40/8fbd9b83bd2fe8ac13ffeb1834b002.png)
[indicators] precision, recall

Dolphin scheduler configuring dataX pit records
![[point cloud series] multi view neural human rendering (NHR)](/img/40/dc042a42710096b66f3c173f04adc4.png)
[point cloud series] multi view neural human rendering (NHR)

聯想拯救者Y9000X 2020
![[point cloud series] so net: self organizing network for point cloud analysis](/img/3c/6136b7aa322c42089f40ce13a2d747.png)
[point cloud series] so net: self organizing network for point cloud analysis
![[point cloud series] pointfilter: point cloud filtering via encoder decoder modeling](/img/da/02d1e18400414e045ce469425db644.png)
[point cloud series] pointfilter: point cloud filtering via encoder decoder modeling

Dolphin scheduler integrates Flink task pit records

./gradlew: Permission denied
随机推荐
QT调用外部程序
Stack protector under armcc / GCC
Solution: you have 18 unapplied migration (s) Your project may not work properly until you apply
Software test system integration project management engineer full truth simulation question (including answer and analysis)
RAC environment error reporting ora-00239: timeout waiting for control file enqueue troubleshooting
[machine learning] Note 4. KNN + cross validation
innobackupex增量备份
爱可可AI前沿推介 (4.23)
Zero copy technology
校园外卖系统 - 「农职邦」微信原生云开发小程序
Why do you need to learn container technology to engage in cloud native development
Oracle modify default temporary tablespace
Oracle and MySQL batch query all table names and table name comments under users
torch. Where can transfer gradient
At the same time, the problems of height collapse and outer margin overlap are solved
torch. Where can transfer gradient
The interviewer dug a hole for me: what's the use of "/ /" in URI?
Longitude and latitude position of provincial capitals in China
[point cloud series] pointfilter: point cloud filtering via encoder decoder modeling
[point cloud series] learning representations and generative models for 3D point clouds