时间:2021-07-01 10:21:17 帮助过:24人阅读
CREATE TABLE account_all
(id
int(11) NOT NULL AUTO_INCREMENT ,name
varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL ,money
float NOT NULL ,tradeDate
datetime NOT NULL
PRIMARY KEY (id
)
)
ENGINE=MRG_MYISAM
DEFAULT CHARACTER SET=utf8 COLLATE=utf8_general_ci
UNION=(account_2011
,account_2012
)
INSERT_METHOD=LAST
ROW_FORMAT=DYNAMIC;
insert_method=last,那是不是将来所有的操作都放到了account_2012中呢,数据量大了不是account_2012会很大,这也没有什么意义啊。实际中是怎么处理呢。