Data file 结构: 第一个extent:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
page 0 : File Header,注m_type = 15,Metadata: ObjectId = 99 page 1 : PFS( page free space),注m_type = 11,Metadata: ObjectId = 99 page 2 : GAM ( global allocation map),注m_type = 8,Metadata: ObjectId = 99,每个GAM管理4GB的页面,所以每隔4GB大小的页面,会有一个GAM。 page 3 : SGAM ( shared global allocation map),注m_type = 9,Metadata: ObjectId = 99 page 4 : 空的,注m_type = 0,Metadata: ObjectId = 0 page 5 : 空的,注m_type = 0,Metadata: ObjectId = 0 page 6 : DCM(differential change map),注m_type = 16,Metadata: ObjectId = 99 page 7 :BCM(bulk change map),注m_type = 17,Metadata: ObjectId = 99 |
注意,如果大temp文件(一个超过4G)的page latch,往往是在temp数据文件的第一个extent的第2个page上,其争用可以用下面的sql监控: [crayon-680c […]