DB2表的重组
DB2在存儲大數據的時候,遇到一個問題,將數據導入表中保存不了,最后是重組后才解決。
下面是從IBM官網上搜集的資料:
官網地址:http://publib.boulder.ibm.com/infocenter/db2e/v9r1/index.jsp?topic=%2Fcom.ibm.db2e.doc%2Fsqlreorgt.html >>-REORGTABLE--table-name--+------------+---------------------><??????????????????????????? '-int1--int2-'??? 這里有兩個參數,要么兩個都不使用,要么兩個都是, 比如: reorg table xxx 如果兩個都使用,則必須要在發生重組之前達到兩個條件: 1是,你的第一個參數如果設置成10%則表示必須有10%的空間是不可用的。 10 percent means "at least 10 percent of the space is unusable 2是,你的第二個參數如果是1000則表示必須有1000字節的空間不可用。 at least 1000 bytes must be unusable space 如果不設置參數,默認需30%,6144字節不可用。 In a Java? program the reorganization mode is set by the DB2eStatement interface enableReorg method. 提供的接口是enableReorg
轉載于:https://www.cnblogs.com/SATinnovation/p/3348289.html
總結
- 上一篇: 微电子学与计算机模板,微电子学专业个人简
- 下一篇: 关于整数划分的问题