DB2数据库中提高INSERT性能详解(上)(3) - 软件开发网 ensionalClustering,MDC),则另当别论,我们在这里不予讨论。)缺省模式是,DB2搜索散布在表的各页上的自由空间控制记录(FreeSpaceControlRecords,FSCR),以找到有足够自由空间存放新行的页。显然,如果每页上的自由空间都比较少的话,就要浪费很多的搜索时间。
基于14个网页-相关网页
FSCR Field Select Command Register 字段选择命令寄存器
This avoids the FSCR search entirely, as rows are simply placed immediately at the end of the table.
这样就完全避免了FSCR搜索,因为只需简单地将行直接放到表的末尾。
If there's no room there, it tries nearby pages, and if there's no room there either, it does an FSCR search.
如果那一页没有空间了,DB 2就会尝试附近的页,如果附近的页也没有空间,DB 2就进行FSCR搜索。
应用推荐