[bbk2863] 第54集 Chapter 14Using Oracle Dasta Storage Structures Efficiently(00)

本章主要就是讲解,Oracle提供了哪些手段让我们的访问速度更快!

Objectives

After completing this lesson,you should be able to do the following:

  • Compare and evalate the different storage structuess
  • Examine different data access methods
  • Implement different partitionion methods

Data Storage Structures

最最普通的表

集群表(将几个相互关联的表,一起放在一个块里面,读写的时候只进行一次I/O操作即可.) 

本质上就是将表和索引合二为一.作为普通的heap表,其表和索引是分开创建的,占用至少两个segment.而IOT表的创建,将表本身和索引进行了融合,表就是索引,索引就是表.

partitioned table是由若干个普通的heap表组成.一般应用于存储较多的数据.

Selecting Physical Structure

Factors affecting the selection:

  • Rows read in groups
  • SELECT or DML statements
  • Table size
  • Row size,row group,and blockd size
  • Small or large transactions
  • Using parallel queries to load or for SELECT statements

有的表,可能会read intensive;对于经常读的表,可以通过添加索引的方式,来提高读的速度.

有的表,可能会write intensive;对于经常写的表,可以通过减少索引或者不加索引,减少redo等措施;

原文地址:https://www.cnblogs.com/arcer/p/3067396.html