In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
This event occurs during the process of loading the same data block into memory, and multiple sessions select the same data block at the same time causing buffer lock contention. In oracle 9i, it is equivalent to "buffer busy waits", and in Oracle 10.1 and later, this event is broken down into "read by other session" wait events.
Select c.PARAMETER1,c.PARAMETER2,c.PARAMETER3 from v$event_name c where c.name='read by other session'
PARAMETER1 PARAMETER2 PARAMETER3
File# block# class#
Parameters:
P1 = file# Absolute File# (AFN)
P2 = block#
P3 = class# Block class
The file# absolute file number (AFN) contains the file number of the data file waiting for the block needed for the session.
Block# waits for the block number of the above file to be accessed by the session.
Block classes that class# is waiting for:
Class 1 stands for "block" and can be a table or index
Category 4 of class means "Duan Tou"
Class > = 15 means "undo block"
Find blocker:
SELECT SID mySID, blocking_session
P1 "FILE#", p2 "BLOCK#", p3 "class#", row_wait_obj# OBJECT_ID
FROM v$session
WHERE event = 'read by other session'
AND STATE='WAITING'
Find the object:
SELECT relative_fno, owner, segment_name, segment_type
FROM dba_extents
WHERE file_id = & FILE
AND & BLOCK BETWEEN block_id AND block_id + blocks-1
Reduce the wait event:
1. Optimize sql to reduce block read in
two。 Increase the size of sga
Mos:WAITEVENT: "read by other session" Reference Note (document ID 732891.1)
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.