首页 > 编程知识 正文

mysql使用教程windows,windows mysql启动

时间:2023-05-04 16:08:01 阅读:12359 作者:4411

[mysql使用内存统计表达式

//每个连接(线程)使用的内存数量(这些配置的总和) ) ) )。

per_connection_memory=

read _ buffer _ size//memoryforsequentialtablescans

read _ rnd _ buffer _ size//memoryforbufferingreads

sort _ buffer _ size//memoryforinmemsorts

thread _ stack//perconnectionmemory

join _ buffer _ size//memoryforinmemtablejoins

//每台服务器(固定)使用的内存数) ) ) ) ) )。

per_server_memory=

tmp _ table _ size//memoryforalltemptables

max _ heap _ table _ size//maxsizeofsingletemptable

key _ buffer _ size//memoryallocatedforindexblocks

innodb _ buffer _ pool _ size//maincacheforinnodbdata

innodb _ additional _ mem _ pool _ size//innodbrecordstructurecache

innodb _ log _ buffer _ size//logfilewritebuffer

query _ cache _ size//compiledstatementcache

//MySQL1一个使用内存的总和

max _ memory=(per _ connection _ memory * max _ connections ) per_server_memory

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。