In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
enq: HW - contention Description:
Hardware queues are used to allocate space outside the high water mark of serialized segments.
The problem can be solved by manually assigning ranges.
V$SESSION_WAIT,P2 / V$LOCK.ID1 is the tablespace number.
V$SESSION_WAIT.P3 / V$LOCK.ID2 is the relative data block address (dba)
of segment header of the object for which space is being allocated.
Inspection found problems:
select event,count(*) from gv$session_wait where wait_class 'Idle'group by event;
1 enq: HW - contention 274
Identify the session in question:
select sid,event,P2,P3 from gv$session_wait where event like '%HW%';
The DBMS_UTILITY package is used to locate objects for which HW contention occurs.
SELECT DBMS_UTILITY.data_block_address_file(ID2) FILE#, DBMS_UTILITY.data_block_address_block(ID2) BLOCK#FROM GV$LOCK WHERE TYPE = 'HW';
Locate the waiting object by looking up the file number and block ID.
SELECT OWNER , SEGMENT_TYPE, SEGMENT_NAMEFROM DBA_EXTENTSWHERE FILE_ID = 111AND 126423 BETWEEN BLOCK_ID AND BLOCK_ID + BLOCKS -1 ;
DnSN+jK70gfP53Y1rnKR5yx+cn+oJUjtfBx8cIqu9RjGILHkIX7wugo85WGmwRnC+WHoePVRquCU9zG6DrOLrzmJrXJXPHGBaEB8jEHVogFdk/Edhy9Dza1+eBBfN3YfMY/iJ/dHaxk2n/LB6Vht9a3wrmG+wWsq8FIPcxyO+PSQYCuqxvkzZdSLn+Ukl86BrfpK55qI5cPO8sF1Gs+teYmD65C5XAMP4mesuOJDcwY/uT/UN+pV2Wd91D7yVbHMhYaYwb0VeNrDTIP1ACinPFvmMKhObXQei4Z41XW2X3y0no8xfnCFVw02GHkqmzlcwxiMeP00n/KV3ekzX8aRu/OhOYOf3B+vZYzjy3g4kBrrGBv0XMoTP3hdBf74w+wNZ2tZ451jDFa5Ml5jmPMIq4vv+avcK7xqsMFH5yEe1H1mnPrd7vSZL+PI2fnQnMFP7o/Xkj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wnbic+7WFe2agXwMc7C5Hl6i5+ph/u9wpUPVvhXePjo/643se/r7Z/vKv4Fd41On4HO/agv6jtyr6OerCS4xGNrlXjdd2rfLaH73J/9GE+u9FK/91Nr8YfXfzVPJ+s8x5qLdx3duz9ORsfazmK6dbb+Y7yqv/V7aoO1b6O6l7F7eKP1ss8R6h6dtuHD3Mszn8swi9G8JWWGPVnXPj51O44fLsx29/uOd49n/a76icarwU86P6sP2gD/cu40HQxmkN1WS71a5zP0cVWcXfnWZ/vjZrgV8TnMaHBp/qdPHl9buZd5cmzGw8f5m7C7GJ0+lfzvfv+Xq0fvt7pj1dkxjsq4I8yOSse/06ch7mp5lz8pjg3cF3VH/1XE/YNtjtL+KAKzMPcNPuqi99MOa4TFZj+nCjWSF+qAr8e5jDmNzWYMzBnYM7APc7Av3Iplva+CwTvAAAAAElFTkSuQmCC">
Find the corresponding table according to the lob field.
SELECT OWNER , TABLE_NAME , SEGMENT_NAME FROM DBA_LOBS WHERE SEGMENT_NAME = 'SYS_LOB0000080646C00004$$';
Now, we have found out which LOB segment caused HW wait. You should manually add a new extent to the segment to resolve the problem.
Add an extent of the same size as the largest extent in the segment.
Query the size of the object's maximum extent.
SELECT DISTINCT BYTES FROM DBA_EXTENTS WHERE SEGMENT_NAME = 'SYS_LOB0000080646C00004$$'AND OWNER ='USER'
Add extents to lob fields.
alter table USER.TAB modify lob ('COL_NAME') (allocate extents (size 64M));
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.