HelloDBA  
搜索WWW 搜索 HelloDBABA
首页 技术文档 培训教程 案例分析 工具、书籍 数据库新闻 网摘 Blog 收藏
Oracle技术站。提供各种数据库技术文档、培训教程、解决方案、案例、工具及周边新闻。同时,本站还提供oracle培训、优化、备份方案和技术支持。email: fuyuncat@gmail.com  MSN: fuyuncat@hotmail.com

 

        Look Oracle from inside (tracing internal calls) --- Logical IOs

 

Oracle provided many method for us to understand its behaviors, help us to manage and improve it. Such as execution plan, statistics data, dynamic views, and even the events trace and dumping. However, as a DBA, we always want to get more informations to find its secrets, operation details. For example, when we tuning a SQL, we will get the consistent gets (Logical IOs) as an important performance reference. However, sometimes such figure may confuse us. why the logical IOs number is so high eventhough it scans an empty table? Why we get so many logical IOs even it hited index? ... In such scenario, we will want to know what the exact data blocks it got. But this is the Oracle internal behaviors, it did not provide any method to look into it. Now, let's change our view, look it from oracle inside. As we know, all of operations are finally implemented by oracle internal functions. If we can find such functions and trace their calling, we will get what we want. In unix/linux, there are several utilities to trace the call stack, such as pstack. ORADEBUG can also dump the call stacks. But such result may not enough for us. In windows (32), I built a tool (OraTracer) to trace special functions, try to detect their arguments. I will use it get the information we interested in.
【全文】

 

 

最新文章

 

 

  • Look Oracle from inside (tracing internal calls) --- Logical IOs
  • Look Oracle from inside (tracing internal calls) --- Execution Plan
  • Query Execution Call Stack Trace
  • 执行计划(Execution Plan)过程分析
  • SQL Rolling Invalidation
  • 布隆过滤器 (Bloom Filter)
  • Oracle的排序
  • All about oracle sorting
  • TIPS: 快速建立OUTLINE
  • CBO 中如何计算调整的MBRC
  • Adjusted MBRC formual in CBO
  • CBO代价估算
  • CBO Cost estimation
  • NULL IS NOT NULL in execution plan
  • CBO Statistics data gathering and internal arithmetic analysis -- Sampling
  • CBO Statistics data gathering and internal arithmetic analysis -- Calculating NDV and Density
  • CBO Statistics data gathering and internal arithmetic analysis -- Converting to endpoint value
  • CBO Statistics data gathering and internal arithmetic analysis -- Frequency or Height Balanaced?
  • CBO Statistics data gathering and internal arithmetic analysis -- when will gather histogram data
  • TIPS: 如何获取数据的存储大小
  • [En] Oracle Row Shipping
  • [中]Oracle Row Shipping
  • Oracle Redo Strand
  • Oracle Redo 并行机制
  • HowTo: Trace the statistics data gathtering
  • Oracle 内存回滚 (In Memory Undo)
  • Oracle In Memory Undo
  • Secret of oracle logical IO: Index Scan
  • Secret of oracle Logical IO: Sorting
  • Secret of oracle Logical IO: Current Mode
  • Secret of oracle Logical IO: Consistent Gets
  • Secret of oracle Logical IO: Full Table Scan: Part 3
  • Secret of oracle Logical IO: Full Table Scan: Part 2
  • Secret of oracle Logical IO: Full Table Scan: Part 1
  • 事务队列等待(Tx Enqueue)深入分析——其它争用
  • 事务队列等待(Tx Enqueue)深入分析——外键约束
  • 事务队列等待(Tx Enqueue)深入分析——位图索引维护
  • 事务队列等待(Tx Enqueue)深入分析——唯一性约束
  • 事务队列等待(Tx Enqueue)深入分析——索引争用
  • 事务队列等待(Tx Enqueue)深入分析——ITL争用
  • B*Tree 索引中的数据块分裂——等待事件
  • B*Tree 索引中的数据块分裂——数据块分配
  • B*Tree 索引中的数据块分裂——分裂事务控制
  • B*Tree 索引中的数据块分裂——存储参数
  • B*Tree 索引中的数据块分裂——树的生长
  • B*Tree 索引中的数据块分裂——如何分裂
  • 10g中构建“高”索引
  • Q&A: 为什么在10053Trace文件中没有变量值?
  • 事务队列等待(Tx Enqueue)深入分析——记录锁
  • 11g新特性 ——更加灵活的分区策略
  • Row Movement 对系统的影响
  • Q&A: 表(Table)和段(Segment)之间是什么关系
  • 11g新特性 —— 索引不可见(Index Invisible)
  • TIPS: OEM锁视图中ROWID的转换
  • TIPS: 获取RAC环境中的锁等待队列
  • Full Table Scan cost formula cracking
  • CBO全表扫描代价计算公式推导
  • Q&A——多缓冲池
  • 一致性读(Consistent Reads)与buffer cache
  • ROWNUM的一个性能陷阱
  • 通过Parallel Trace分析并行过程
  • 让语句横着走————对海量数据更新的并行优化
  • Oracle IO问题解析
  • Oracle 10gR2新SQL提示——opt_param
  • Oracle SCN机制解析
  • Oracle中ROWNUM的使用技巧
  • 查询计划中的笛卡尔积
  • 如何获取长事务的运行情况
  • 如何监控索引的使用情况
  • 利用statspack来获取生成环境中top SQL及其执行计划
  • Oracle时间类型数据为0的bug
  • Oracle 11g 新特性
  • Oracle内存全面分析
  • 什么时候使用绑定变量性能反而更差
  • 查询计划中集的势(Cardinality)的计算
  • TX锁(Transaction Lock)分析
  • 利用Ultra Search创建自己的桌面文档搜索系统
  • 安装配置ultra search
  • Dual 表的性能优化
  • 关于事务对数据块的操作过程的分析和试验
  • 关于Oracle临时表数据cache的研究
  • 通过streams replication实现Oracle和SQL Server之间异构数据同步
  • 创建逻辑stand by数据库
  • 创建监控表的DML的触发器
  • RAC的load balance和failover的配置过程
  • Oracle的语句中的提示
  • Oracle中的Hash Join祥解
  • 普通物理表、临时表和TABLE(函数)的执行效率对比
  • 各种语句的不同写法
  • Oracle 10g新特性——正则表达式
  • Oracle 10g新特性——代码混淆
  • Oracle 10g新特性——选择性编译
  • Oracle10g数据库自动诊断监视工具(ADDM)使用指南
  • 利用Oracle 10g SQL优化器(STA)优化语句
  • 跳跃式索引(Skip Scan Index)的浅析
  • 配置hacmp5.2 的Rotating方式
  • Oracle XML DB之浅入浅出
  • 如何定位锁类型
  • Oracle 10G 新特性——ADDM和查询优化建议器
  • Oracle 10G 新特性——物化视图
  • Oracle 10G 新特性——表空间管理
  • Oracle 10G 新特性——闪回表
  • ORA-01555错误浅析
  • 数据段压缩(Data Segment Compression)浅析
  • Oracle 10g新特性——增强的Connect By子句
  • Oracle 10g新特性——RMAN
  • Oracle 10g新特性——SQL*Plus
  • Oracle 10g新特性——工作量自动收集
  • Oracle 10g新特性——审计
  • Oracle 10g新特性——等待接口
  •  


     

    Top

    Copyright @2005 HelloDBA.Com All reseverd.

    申明
    by fuyuncat