|
@@ -105,7 +105,7 @@ public class MakeTableSpace {
|
|
|
// 根据季度建表空间,3个月为一个季度
|
|
|
for (Integer i = 0; i < wanted; i++) {
|
|
|
Integer quarter= WhateQuarter(lastAddTablespaceTime.getMonth() + 1);
|
|
|
- String targetSql = startSql + DateUtils.getYear(lastAddTablespaceTime) + quarter + "\"" + datafile + "'" + datafilePath + DateUtils.getYear(lastAddTablespaceTime) + quarter + ".DBF" + "'" + " size " + initSize + "M" + " autoextend on next" + nextSize + "M" + " maxsize " + maxSize + "M";
|
|
|
+ String targetSql = startSql + DateUtils.getYear(lastAddTablespaceTime) + quarter + "\"" + datafile + "'" + datafilePath + DateUtils.getYear(lastAddTablespaceTime) + quarter + ".DBF" + "'" + " size " + initSize + "M" + " autoextend on next " + nextSize + "M" + " maxsize " + maxSize + "M";
|
|
|
HashMap<String, Object> hashMap = new HashMap<>();
|
|
|
hashMap.put(SpaceEnum.TABLESPACE_SQL.getName(),targetSql);
|
|
|
hashMap.put(SpaceEnum.DATE.getName(), lastAddTablespaceTime);
|