| 订阅 | 在线投稿
分享
 
 
 

讲解一个经过高手优化的MySQL数据库实例

2008-08-15 05:14:47 编辑來源:互联网 国际版 评论
 
 
本文为【讲解一个经过高手优化的MySQL数据库实例】的汉字拼音对照版显示拼音
  jushuozheshigaoshouyouhuademysql,gongdajiashenkao,qizhonglianjieshu: max_connections=1500keyigenjufuwuqidexingnenggenggai.

  #set-variable = connect_timeout=5

  #set-variable = wait_timeout=5

  jianyiqiyong,fudanchongdefuwuqikeyishidangjianshaochixulianjieshijian

  [mysqld]

  basedir=D:/mysql

  #bind-address=ip

  datadir=D:/mysql/data

  #language=D:/mysql/share/your language directory

  #slow query log#=

  #tmpdir#=

  #port=3306

  set-variable = max_connections=1500

  skip-locking

  #skip-networking

  set-variable = key_buffer=384M

  set-variable = max_allowed_packet=1M

  set-variable = table_cache=512

  set-variable = sort_buffer=2M

  set-variable = record_buffer=2M

  set-variable = thread_cache=8

  # Try number of CPU's*2 for thread_concurrency

  set-variable = thread_concurrency=8

  set-variable = myisam_sort_buffer_size=64M

  #set-variable = connect_timeout=5

  #set-variable = wait_timeout=5

  server-id = 1

  [isamchk]

  set-variable = key_buffer=128M

  set-variable = sort_buffer=128M

  set-variable = read_buffer=2M

  set-variable = write_buffer=2M

  [myisamchk]

  set-variable = key_buffer=128M

  set-variable = sort_buffer=128M

  set-variable = read_buffer=2M

  set-variable = write_buffer=2M

  [WinMySQLadmin]

  Server=D:/mysql/bin/mysqld-nt.exe原文
 
 
据说这是高手优化的mysql,供大家参考,其中连接数: max_connections=1500可以根据服务器的性能更改. #set-variable = connect_timeout=5 #set-variable = wait_timeout=5 建议启用,负担重的服务器可以适当减少持续连接时间 [mysqld] basedir=D:/mysql #bind-address=ip datadir=D:/mysql/data #language=D:/mysql/share/your language directory #slow query log#= #tmpdir#= #port=3306 set-variable = max_connections=1500 skip-locking #skip-networking set-variable = key_buffer=384M set-variable = max_allowed_packet=1M set-variable = table_cache=512 set-variable = sort_buffer=2M set-variable = record_buffer=2M set-variable = thread_cache=8 # Try number of CPU's*2 for thread_concurrency set-variable = thread_concurrency=8 set-variable = myisam_sort_buffer_size=64M #set-variable = connect_timeout=5 #set-variable = wait_timeout=5 server-id = 1 [isamchk] set-variable = key_buffer=128M set-variable = sort_buffer=128M set-variable = read_buffer=2M set-variable = write_buffer=2M [myisamchk] set-variable = key_buffer=128M set-variable = sort_buffer=128M set-variable = read_buffer=2M set-variable = write_buffer=2M [WinMySQLadmin] Server=D:/mysql/bin/mysqld-nt.exe
󰈣󰈤
日版宠物情人插曲《Winding Road》歌词

日版宠物情人2017的插曲,很带节奏感,日语的,女生唱的。 最后听见是在第8集的时候女主手割伤了,然后男主用嘴帮她吸了一下,插曲就出来了。 歌手:Def...

兄弟共妻,我成了他们夜里的美食

老钟家的两个儿子很特别,就是跟其他的人不太一样,魔一般的执着。兄弟俩都到了要结婚的年龄了,不管自家老爹怎么磨破嘴皮子,兄弟俩说不娶就不娶,老父母为兄弟两操碎了心...

网络安全治理:国家安全保障的主要方向是打击犯罪,而不是处置和惩罚受害者

来源:中国青年报 新的攻击方法不断涌现,黑客几乎永远占据网络攻击的上风,我们不可能通过技术手段杜绝网络攻击。国家安全保障的主要方向是打击犯罪,而不是处置和惩罚...

 
 
 
>>返回首页<<
 为你推荐
 
 
 
 转载本文
 UBB代码 HTML代码
复制到剪贴板...
 
 
 热帖排行
 
单纯美女 迷人女孩
校园甜美少女
忍辱负重
大学校园
 
 
王朝网络微信公众号
微信扫码关注本站公众号wangchaonetcn
 
  免责声明:本文仅代表作者个人观点,与王朝网络无关。王朝网络登载此文出于传递更多信息之目的,并不意味着赞同其观点或证实其描述,其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
©2005- 王朝网络 版权所有