Oracle wait problems and potential solutions

编程知识 更新时间:2023-05-01 23:49:29

Wait Problem

Potential Fix

Sequential ReadIndicates many index reads—tune the code (especially joins)
Scattered ReadIndicates many full table scans—tune the code; cache small tables
Free Buffer

Increase the DB_CACHE_SIZE; shorten the checkpoint; tune
the code

Buffer BusySegment header—add freelists or freelist groups
Buffer Busy

Data block—separate “hot” data; use reverse key indexes; use
smaller blocks; increase initrans (debatable); reduce block
popularity; make I/O faster

Buffer BusyUndo header—add rollback segments or areas
Buffer BusyUndo block—commit more; larger rollback segments or areas
Latch FreeInvestigate the detail (a listing later in this chapter includes fixes)
Enqueue – STUse LMTs or preallocate large extents
Enqueue – HWPreallocate extents above the high water mark
Enqueue – TX4Increase initrans or use a smaller block size on the table or index
Enqueue – TX6Fix the code that is making the block unsharable (use v$lock to find)
Enqueue – TMIndex foreign keys; check application locking of tables
Log Buffer SpaceIncrease the log buffer; use faster disks for the redo logs
Log File SwitchArchive destination slow or full; add more or larger redo logs
Log file sync

Commit more records at a time; use faster redo log disks; use
raw devices

Write complete waitsAdd database writers; checkpoint more often; buffer cache too small
Idle EventIgnore it

更多推荐

Oracle wait problems and potential solutions

本文发布于:2023-04-24 14:58:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/1ac822e8e8fd32a2fc7eca4dbfe65fe3.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:wait   Oracle   problems   solutions   potential

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!

  • 100873文章数
  • 26067阅读数
  • 0评论数