mysql--Memory-Related Variables   内存相 关变 量

<!-- /* 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 存中保持的 线 程数量, 能减少 所需的系 统资 源。

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值