RSS dbtan 谈DB
哪吒推荐该订阅
简介:dbtan的生活、oracle及linux学习笔记、观点 说,永远易于做!
原站:http://dbtan.com
点击立即订阅,“dbtan 谈DB”的内容有更新,哪吒第一时间提醒您
“dbtan 谈DB”的内容更新
累计:93 篇(自 2009-09-08 起)
更新:约3篇/月,最后更新521 天前
dbtan 谈DB
how to automate cleanup of dead connections and inactive sessions [id 206007.1]modified 25-jun-2009 type howto status publishedpurpose-------this note explains the difference between a dead connection and aninactive session in v$session. it also discusses the mechanismsprovided to automate the cleanup of each.scope & application-----------... (308 天前)
dbtan 谈DB
认领博客 dbtan 谈dbqqreaderf129f7d46654828b随机日志2009/12/03 -- shared_pool_reserved_size参数的设置及作用2010/04/09 -- 新增v$session_wait_history视图2009/09/07 -- 备份策略的选择2009/12/04 -- library cache pin 及 library cache lock分析2010/04/09 -- 捕获相关sql... (308 天前)
dbtan 谈DB
oracle 10g/11g latch机制的变化:前面曾经提到,oracle的latch机制采用spin来进行持有cpu的不断尝试,虽然通常latch的获取会非常快(一般在微秒级),但是很多时候latch竞争还是会引发极为严重的cpu争用。所以从oracle 10g开始,oracle尝试引入一种新的机制来代替传统的latch机制,这就是mutex机制,也就是互斥机制。和latch相比,一个mutex get大约仅需要30~35个指令,而latch get... (308 天前)
dbtan 谈DB
latch free(闩锁释放):latch free通常被称为闩锁释放,这个名称常常引起误解,实际上我们应该在前面加上一个“等待”(wait),当数据库出现这个等待时,说明有进程正在等待某个latch被释放,也就是waiting latch free。latch是一种低级排队(串行)机制,用于保护sga中共享内存结构。latch就像是一种快速被获取和释放的内存锁,用于防止共享内存结构被多个用户同时访问。其实不必... (308 天前)
dbtan 谈DB
enqueue (队列等待):enqueue是一种保护共享资源的锁定机制。该锁定机制保护共享资源,以避免因并发操作而损坏数据,比如通过锁定保护一行记录,避免多个用户同时更新。enqueue采用排队机制,即fifo(先进先出)来控制资源的使用。在oracle 10g之前,enqueue事件是一组锁定事件的集合,如果数据库中这个等待事件比较显著,我们还需要进一步来追踪是哪个类别的锁定引发了数据库等待。... (308 天前)
dbtan 谈DB
日志文件相关等待:redo对于数据库来说非常重要,有一系统等待事件和日志相关,通过v$event_name视图可以找到这些等待事件:sys@ccdb> select name from v$event_name where name like '%log%';name--------------------------------------------------logout restrictorlns async archive loglns async end of loglog file sequential readlog file single writelog file parallel w... (308 天前)
dbtan 谈DB
direct path read/write (直接路径读/写):直接路径读(direct path read)通常发生在oracle直接读数据到进程pga时,这个读取不需要经过sga。直接路径读等待事件的3个参数分别是file number(指绝对文件号)、first dba、block cnt数量。在oracle 10g/11g中,这个等待事件被归于user i/o一类。db file sequential read、db file scattered read、direct path read是常见的集中数据... (308 天前)
订阅者 ( 2 )
tscccn
tqgzs1217
我要反馈