mysql MEMORY tables 如果目前支持的行数到上限还不够用 可以把 my.cnf 配置里面
sK/Mn
n`J4Y/NK0max_heap_table_size =
256M
1u
b2U1P.`_GM0改大
%Z?h;BOfc~0木铎校园 BBS 社区zM-BS
Iw4W0e3}x设置 MAX_ROWS
#s})K'k+_#J0~0在跑着 可以 ALTER TABLE tbl_name
MAX_ROWS=
4\3U5pmF!f un0MAX_ROWS 依赖于 max_heap_table_size
设置
0k VePL8NY`(Y0木铎校园 BBS 社区xzzS'?3W(BjO相关帮助:
h(in)a:X0max_heap_table_size
hn:X:[
P(n0This variable sets the maximum size
to which MEMORY tables are allowed to grow.
木铎校园 BBS 社区4B!I'e~5xdThe value of the variable is
used to calculate MEMORY table MAX_ROWS values.
*xJn/u!O#w~1e{0Setting this variable has no
effect on any existing MEMORY table,
木铎校园 BBS 社区*fEb*@:r1^0Fnbunless the table is re-created with a
statement such as CREATE TABLE or
木铎校园 BBS 社区@
O5C7]d1|
a7Waltered with ALTER TABLE or TRUNCATE
TABLE.
木铎校园 BBS 社区AdZ#Zh9_)a木铎校园 BBS 社区[(I(F
W E~3i0S2EThe MEMORY (
HEAP) Storage Engine
木铎校园 BBS 社区h
{%_~VMEMORY tables are never
converted to disk tables. To ensure that you
@H7GC
n(HU]4s#E0don't accidentally do anything
foolish, you can set the max_heap_table_size
"q
X/t{r[0system variable to impose a
maximum size on MEMORY tables. For individual tables,
:H4\_(~H8]ksL0you can also specify a
MAX_ROWS table option in the CREATE TABLE statement.