LinuxSEE

  • 首页
  • APACHE
  • CACTI
  • DNS_BIND
  • IPTABLES
  • LINUX杂记
  • LINUX系统性能分析
  • LOG_SERVER
  • LVS+KEEPALIVED
  • MFS
  • MYSQL
  • PHP
  • POSTFIX
  • RSYNC
  • SHELL
  • SQUID
  • VPN

修改MySQL的内存表的三种方法

分类:MYSQL日期:2011-04-21作者:雨尚

修改mysql的内存表的三种方法

修改配置文件my.cnf
在[mysqld]字段中添加max_heap_table_size=1G;

启动时加入参数
-O max_heap_table_size=1G

不重启mysql的情况下,用命令行;
show variables like '%heap%';
set global max_heap_table_size=1073741824;

转载请注明来自:LinuxSEE

Tags: MYSQL
  • 上一篇:在LinuxSEE服务器上添加squid代理本机apache
  • 下一篇:非常实用的iptables脚本
17条评论
  1. Etta 说:

    Tahnks alot – your answer solved all my problems after several days struggling

    POST:2011-06-12 22:08 回复
    • Karcy 说:

      I went to tons of links bofere this, what was I thinking?

      POST:2011-06-25 13:39 回复
      • Kamryn 说:

        And I tghohut I was the sensible one. Thanks for setting me straight.

        POST:2011-09-06 23:17 回复
        • Coralee 说:

          This piece was a lfieajcekt that saved me from drowning.

          POST:2011-10-14 10:52 回复
        • Tiger 说:

          I bow down hubmly in the presence of such greatness.

          POST:2011-10-17 02:02 回复
      • Linx 说:

        Thanks for sharing. What a palesrue to read!

        POST:2011-09-07 16:57 回复
        • Denim 说:

          You’re the one with the barnis here. I’m watching for your posts.

          POST:2011-10-14 02:16 回复
        • Karinthia 说:

          I might be beating a dead horse, but thank you for psotnig this!

          POST:2011-10-17 00:57 回复
    • Datherine 说:

      Kewl you solhud come up with that. Excellent!

      POST:2011-06-26 16:55 回复
      • Allayna 说:

        I relaly needed to find this info, thank God!

        POST:2011-09-07 05:06 回复
        • Jayde 说:

          A good many vlauabels you’ve given me.

          POST:2011-10-14 16:33 回复
        • Anitra 说:

          A piece of erduitoin unlike any other!

          POST:2011-10-17 00:59 回复
      • Buddy 说:

        Frankly I think that’s abslotuely good stuff.

        POST:2011-09-07 16:38 回复
        • Almena 说:

          Full of slainet points. Don’t stop believing or writing!

          POST:2011-10-14 07:16 回复
        • Irish 说:

          Clear, informative, smilpe. Could I send you some e-hugs?

          POST:2011-10-17 00:38 回复
  2. electric toothbrush 说:

    Hi, have you been allowing any ads on your web site? I’d like to purchase a banner for a couple of months promoting my my personal blog which is closely related. Let me know, or give me an email that I can reach you at. Thanks a lot!

    POST:2012-01-19 01:56 回复
    • 雨尚 说:

      My personal mailbox ydjjing@163.com,thank u

      POST:2012-01-19 07:51 回复
VPSYOU合作推广
发表评论 点击取消评论.

*必填

*必填

  • 关于LinuxSEE

日志存档

  • 2012 年五月
  • 2012 年四月
  • 2012 年三月
  • 2012 年一月
  • 2011 年十二月
  • 2011 年十一月
  • 2011 年十月
  • 2011 年九月
  • 2011 年八月
  • 2011 年七月
  • 2011 年六月
  • 2011 年五月
  • 2011 年四月
>

热门文章

  • 用ssh-tunnel模式加密mysql主从复制
  • MYSQL多主一从多实例配置
  • APNIC获取准确的IP地址段
  • Linux下OPENVPN安装配置
  • 强制LINUX用户第一次登录改密码命令
  • 深入研究linux下命令之ls
  • 非常实用的iptables脚本
  • 新浪微博技术架构分析-转载
  • Linux下路由相关设置
  • 全国各地电信、网通、教育网及铁通的DNS服务器地址

随机文章

  • Linux 内存管理机制简介(ZT)
  • Linux下用wget的递归方式下载整个网站
  • 中国最完整的sysctl.conf优化方案(ZT)
  • Apache性能优化(开启gzip压缩)
  • 网站排障分析常用的命令
  • Linux下syslog-ng安装笔记
  • 网站的请求返回值
  • APNIC获取准确的IP地址段
  • Linux下显示前10个占用空间最大的文件或目录命令
  • Linux下OPENVPN安装配置

最新评论

  • 今天有空就来看看你的站»
    Post: 2012-04-29 20:03:15
  • 这个脚本不错,来学习下»
    Post: 2012-04-11 03:37:35
  • 来看看你的博客,有空也去»
    Post: 2012-04-07 20:04:03
  • Great articl»
    Post: 2012-02-24 05:58:40
  • Noarmlly I'm»
    Post: 2012-02-24 05:56:32
  • Why does thi»
    Post: 2012-02-24 05:52:00
  • That's a qui»
    Post: 2012-02-24 05:50:44
  • Well macamdi»
    Post: 2012-02-24 05:50:36
  • Yours is a c»
    Post: 2012-02-24 05:31:50
  • These tpocis»
    Post: 2012-02-24 05:09:11

友情链接

  • 80sec
  • 9inow手机资源门户
  • DBA Notes
  • DeBugFs
  • linuxany.com
  • LinuxTone
  • linux论坛
  • 千千春光
  • 叶茂盛
  • 寒.枫
  • 张宴
  • 最实用的Linux博客
  • 服务器运维
  • 木易水瓶
  • 淘宝数据库技术团队
  • 淘宝核心系统团队博客
  • 简朝阳
  • 运维人生
Copyright © 2011-2012 LinuxSEE All rights reserved.