<!-- /* Font Definitions */ @font-face {font-family:"MS 明朝"; panose-1:2 2 6 9 4 2 5 8 3 4; mso-font-alt:"MS Mincho"; mso-font-charset:128; mso-generic-font-family:roman; mso-font-pitch:fixed; mso-font-signature:-1610612033 1757936891 16 0 131231 0;} @font-face {font-family:SimSun; panose-1:2 1 6 0 3 1 1 1 1 1; mso-font-alt:宋体; mso-font-charset:134; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:3 135135232 16 0 262145 0;} @font-face {font-family:Century; panose-1:2 4 6 4 5 5 5 2 3 4; mso-font-charset:0; mso-generic-font-family:roman; mso-font-pitch:variable; mso-font-signature:647 0 0 0 159 0;} @font-face {font-family:"/@SimSun"; panose-1:2 1 6 0 3 1 1 1 1 1; mso-font-charset:134; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:3 135135232 16 0 262145 0;} @font-face {font-family:"/@MS 明朝"; panose-1:2 2 6 9 4 2 5 8 3 4; mso-font-charset:128; mso-generic-font-family:roman; mso-font-pitch:fixed; mso-font-signature:-1610612033 1757936891 16 0 131231 0;} @font-face {font-family:"MS Pゴシック"; panose-1:2 11 6 0 7 2 5 8 2 4; mso-font-charset:128; mso-generic-font-family:modern; mso-font-pitch:variable; mso-font-signature:-1610612033 1757936891 16 0 131231 0;} @font-face {font-family:"/@MS Pゴシック"; panose-1:2 11 6 0 7 2 5 8 2 4; mso-font-charset:128; mso-generic-font-family:modern; mso-font-pitch:variable; mso-font-signature:-1610612033 1757936891 16 0 131231 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:""; margin:0mm; margin-bottom:.0001pt; text-align:justify; text-justify:inter-ideograph; mso-pagination:none; font-size:10.5pt; mso-bidi-font-size:12.0pt; font-family:Century; mso-fareast-font-family:"MS 明朝"; mso-bidi-font-family:"Times New Roman"; mso-font-kerning:1.0pt;} p {mso-margin-top-alt:auto; margin-right:0mm; mso-margin-bottom-alt:auto; margin-left:0mm; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"MS Pゴシック"; mso-bidi-font-family:"MS Pゴシック";} /* Page Definitions */ @page {mso-page-border-surround-header:no; mso-page-border-surround-footer:no;} @page Section1 {size:612.0pt 792.0pt; margin:99.25pt 30.0mm 30.0mm 30.0mm; mso-header-margin:36.0pt; mso-footer-margin:36.0pt; mso-paper-source:0;} div.Section1 {page:Section1;} -->
原文摘录 自:http://forge.mysql.com/wiki/ServerVariables
Memory-Related Variables
内存相 关变 量
These server variables control the amount of memory allocated to the various buffers and caches within MySQL.
以下 这 些服 务 器 变 量控制 这 MySQL 分配 给 各 种缓 冲或者 换缓 存的内存 总 数。
join_buffer_size
(PER SESSION) Controls the amount of memory allocated to perform joins on tables that have no keys which can be used to perform a condition filter. Allocated for each table joined without necessary filter conditions
( 会 话变 量 ) 控制在 对 没有索引的表 连 接 时 分配的内存 总 数,它可以用做条件 过滤 器。 为连 接中的 每 个表分配而无需必要的 过滤 条件。
key_buffer_size
(GLOBAL) (MyISAM-only) Controls the amount of memory allocated to the MyISAM index key cache
( 全局 变 量 ) ( 只 针对 MyISAM 表 ) 空置分配 给 MyISAM 索引 缓 存的内存 总 数。
innodb_buffer_pool_size
(GLOBAL) (InnoDB-only) Controls the amount of memory allocated to the InnoDB cache containing both clustered data and secondary index pages
( 全局 变 量 ) ( 只 针对 Innodb) 控制分配 给 包括集群数据以及次要索引 页 的 Innodb 缓 存的内存 总 数。
innodb_additional_mem_pool_size
(GLOBAL) (InnoDB-only) Controls the amount of memory allocated to the buffer storing the InnoDB internal data dictionary
( 全局 变 量 ) ( 只 针对 Innodb) 控制分配 给对 Innodb 内部数据字典 进 行排序所需的 缓 冲。
innodb_log_buffer_size
(GLOBAL) (InnoDB-only) Controls the amount of memory allocated to the buffer storing InnoDB write-ahead log entries
( 全局 变 量 ) ( 只 针对 Innodb) 控制分配 给对 Innodb 存 储 提前写日志 记录 所需的 缓 冲。
query_cache_size
(GLOBAL) Controls the amount of memory allocated to the Query Cache
( 全局 变 量 ) 控制分配 给查询缓 存的内存 总 量。
read_buffer_size
(PER SESSION) Controls the amount of memory allocated to the connecting thread in order to process a table scan
( 会 话变 量 ) 控制分配 给处 理 扫 描表的 连 接 线 程内存 总 数。
read_rnd_buffer_size
(PER SESSION) Controls the amount of memory allocated to the buffer used to read previously sorted results
( 会 话变 量 ) 控制分配 给读 取当前排序完的 结 果所需的 缓 冲 总 数。
sort_buffer_size
(PER SESSION) Co
<script src="http://www.onegreen.net/ggao/art2.js"> </script> |
ntrols the amount memory allocated to the buffer used to sort result sets before returning the set to the calling client
( 会 话变 量 ) 控制在把 结 果返回 给调 用的客 户 端之前需要 对结 果集 进 行排序所需的 缓 冲 总 数。
thread_stack
(PER SESSION) Controls the default stack memory allocated for each connecting thread
( 会 话变 量 ) 控制分配 给每 个 连 接 线 程的默 认 堆 栈 内存 总 数。
tmp_table_size
(GLOBAL) Controls the maximum memory to allocate to a temporary table before MySQL converts it into an on-disk MyISAM table
( 全局 变 量 ) 控制 MySQL 在把一个 临时 表 转换 成磁 盘 存 储 的 MyISAM 表 时 所需的最大内存 总 数。
Thread-Related Variables
线 程相 关变 量
thread_cache_size
(GLOBAL) Determines the number of thread connection objects that MySQL keeps in a cache to mitigate resource creation costs
( 全局 变 量 ) 确定 MySQL 在 缓 存中保持的 连 接 线 程数量, 这 能减少 创 建 连 接 时 所需的系 统资 源。