Oracle 基础体系结构及性能优化 Tiger Qiu 运营支持部 – 数据仓库组
About me 2007 年 7 月加入腾讯,现为运营支持系统运营支持部数据仓库组组长; 从事 Oracle 相关的工作近 10 年; 2003 年 9 月通过 Oracle Certified Master 认证; 曾任职于 HP 全球服务中心和 Oracle 亚太区售前技术支持中心;
课程大纲 Oracle 数据库中的基础对象 常见的 Oracle 硬件架构 腾讯数据仓库的架构 Oracle 体系结构介绍 Oracle 推荐的存储架构 表分区技术 Oracle 中的关联技术 统计信息与执行计划分析演示 性能监控与分析演示 参考资料与导读
Oracle 数据库中的基础对象 Tablespace Datafile Tempfile Segment Extent Page Table Index
常见的 Oracle 硬件架构
腾讯数据仓库的架构
Oracle 体系结构介绍
Oracle 推荐的存储架构 Raid 5 Disk Group: Stripped among 6 disks with one hot spare disk.  Lun: Created based on raid 5 disk group VPath: Balance IO workload among all HBAs ASM Disk Group: Stripped among all LVs, in another word, it's stripped among all Luns.
表分区技术 分区的几种方法 Range Partition/List Partition/Hash Partition Range + Hash or List + Hash 查询中的分区裁剪 Partition-Wise 关联
Oracle 中常用的三种关联方法 Nested Loop Join 对相对较少的数据量进行操作,尤其是驱动表 针对关联条件,嵌套表有高效的访问方法 Hash Join 对大数据量进行关联 驱动表的数据最好能够完全 LOAD 进内存中 Sort-Merge Join 关联数据已经是预排序的 关联条件为非等值关联
统计信息收集与执行计划 90–9–1  定律 统计信息收集方法 对表和索引统计信息进行第一次收集 系统在运行时将自动收集对表的使用情况和负载 重新收集一次表和索引统计信息,系统将根据之前收集到的负载信息自动收集必须的统计信息 如果统计信息仍不准确,可以手动进行收集 校验统计信息准确性的方法 alter session set statistics_level = all select * from table(dbms_xplan.display_cursor()) Optimizer Hint 及执行计划分析演示
性能监控与分析演示
参考资料与导读 Useful Websites asktom.oracle.com metalink.oracle.com www.itpub.net www.google.com Books in Oracle Documentation Library Oracle Data Warehousing Guide Oracle Performance Tuning Guide Oracle Administrator's Guide Oracle SQL Reference Oracle Reference

腾讯大讲堂38 oracle基础体系结构及性能优化

  • 1.
    Oracle 基础体系结构及性能优化 TigerQiu 运营支持部 – 数据仓库组
  • 2.
    About me 2007年 7 月加入腾讯,现为运营支持系统运营支持部数据仓库组组长; 从事 Oracle 相关的工作近 10 年; 2003 年 9 月通过 Oracle Certified Master 认证; 曾任职于 HP 全球服务中心和 Oracle 亚太区售前技术支持中心;
  • 3.
    课程大纲 Oracle 数据库中的基础对象常见的 Oracle 硬件架构 腾讯数据仓库的架构 Oracle 体系结构介绍 Oracle 推荐的存储架构 表分区技术 Oracle 中的关联技术 统计信息与执行计划分析演示 性能监控与分析演示 参考资料与导读
  • 4.
    Oracle 数据库中的基础对象 TablespaceDatafile Tempfile Segment Extent Page Table Index
  • 5.
  • 6.
  • 7.
  • 8.
    Oracle 推荐的存储架构 Raid5 Disk Group: Stripped among 6 disks with one hot spare disk. Lun: Created based on raid 5 disk group VPath: Balance IO workload among all HBAs ASM Disk Group: Stripped among all LVs, in another word, it's stripped among all Luns.
  • 9.
    表分区技术 分区的几种方法 RangePartition/List Partition/Hash Partition Range + Hash or List + Hash 查询中的分区裁剪 Partition-Wise 关联
  • 10.
    Oracle 中常用的三种关联方法 NestedLoop Join 对相对较少的数据量进行操作,尤其是驱动表 针对关联条件,嵌套表有高效的访问方法 Hash Join 对大数据量进行关联 驱动表的数据最好能够完全 LOAD 进内存中 Sort-Merge Join 关联数据已经是预排序的 关联条件为非等值关联
  • 11.
    统计信息收集与执行计划 90–9–1 定律 统计信息收集方法 对表和索引统计信息进行第一次收集 系统在运行时将自动收集对表的使用情况和负载 重新收集一次表和索引统计信息,系统将根据之前收集到的负载信息自动收集必须的统计信息 如果统计信息仍不准确,可以手动进行收集 校验统计信息准确性的方法 alter session set statistics_level = all select * from table(dbms_xplan.display_cursor()) Optimizer Hint 及执行计划分析演示
  • 12.
  • 13.
    参考资料与导读 Useful Websitesasktom.oracle.com metalink.oracle.com www.itpub.net www.google.com Books in Oracle Documentation Library Oracle Data Warehousing Guide Oracle Performance Tuning Guide Oracle Administrator's Guide Oracle SQL Reference Oracle Reference