巨型MYSQL数据库配置设定

本文提供了关于一个全球排名靠前网站使用的MySQL服务器的详细信息,包括运行时间、网络流量统计、连接状态及查询统计等。此外,还展示了服务器的各种配置参数,如缓存大小、字符集设置等。

 

该服务器服务于全球alexa 170位左右的网站,供大家参考!

 

基本信息如下:

 

 

此 MySQL 服务器已经运行了 245 天 12 小时,12 分 51 秒,启动时间为 2009 年 03 月 05 日 19:18。

运行信息

服务器流量:这些表显示了此 MySQL 服务器自启动以来的网络流量统计。

流量 Tipø 每小时
已收到1,146 GB199 MB
送出118 TB20 GB
统计119 TB21 GB
连接ø 每小时%
max. concurrent connections1,501 --- ---
尝试失败334 k56.72 0.04%
中止89 M15.11 k9.37%
统计950 M161.24 k100.00%

查询统计:自从启动后,服务器共收到了 10,653,108,965 次查询。

统计ø 每小时ø 每分钟ø 每秒
11 G1.81 M30.13 k502.22

 

 

 服务器变量和设置

变量会话值 / 全局值
auto increment increment1
auto increment offset1
automatic sp privilegesON
back log1,000
basedir/usr/
bdb cache size8,388,600
bdb home/var/lib/mysql/
bdb log buffer size32,768
bdb logdir 
bdb max lock10,000
bdb shared dataOFF
bdb tmpdir/tmp/
binlog cache size32,768
bulk insert buffer size8,388,608
character set clientutf8
(全局值)latin1
character set connectionutf8
(全局值)latin1
character set databaselatin1
character set filesystembinary
character set resultsutf8
(全局值)latin1
character set serverlatin1
character set systemutf8
character sets dir/usr/share/mysql/charsets/
collation connectionutf8_unicode_ci
(全局值)latin1_swedish_ci
collation databaselatin1_swedish_ci
collation serverlatin1_swedish_ci
completion type0
concurrent insert1
connect timeout10
datadir/var/lib/mysql/
date format%Y-%m-%d
datetime format%Y-%m-%d %H:%i:%s
default week format0
delay key writeON
delayed insert limit100
delayed insert timeout300
delayed queue size1,000
div precision increment4
keep files on createOFF
engine condition pushdownOFF
expire logs days14
flushOFF
flush time0
ft boolean syntax+ -><()~*:""&|
ft max word len84
ft min word len4
ft query expansion limit20
ft stopword file(built-in)
group concat max len1,024
have archiveNO
have bdbYES
have blackhole engineNO
have compressYES
have cryptYES
have csvNO
have dynamic loadingYES
have example engineNO
have federated engineNO
have geometryYES
have innodbYES
have isamNO
have merge engineYES
have ndbclusterNO
have opensslDISABLED
have sslDISABLED
have query cacheYES
have raidNO
have rtree keysYES
have symlinkYES
hostnamedfwwpd1.ch3.sourceforge.com
init connect 
init file 
init slave 
innodb additional mem pool size1,048,576
innodb autoextend increment8
innodb buffer pool awe mem mb0
innodb buffer pool size8,388,608
innodb checksumsON
innodb commit concurrency0
innodb concurrency tickets500
innodb data file pathibdata1:10M:autoextend
innodb data home dir 
innodb doublewriteON
innodb fast shutdown1
innodb file io threads4
innodb file per tableOFF
innodb flush log at trx commit1
innodb flush method 
innodb force recovery0
innodb lock wait timeout50
innodb locks unsafe for binlogOFF
innodb log arch dir 
innodb log archiveOFF
innodb log buffer size1,048,576
innodb log file size5,242,880
innodb log files in group2
innodb log group home dir./
innodb max dirty pages pct90
innodb max purge lag0
innodb mirrored log groups1
innodb open files300
innodb rollback on timeoutOFF
innodb support xaON
innodb sync spin loops20
innodb table locksON
innodb thread concurrency8
innodb thread sleep delay10,000
interactive timeout28,800
join buffer size131,072
key buffer size8,589,934,592
key cache age threshold300
key cache block size1,024
key cache division limit100
language/usr/share/mysql/english/
large files supportON
large page size0
large pagesOFF
lc time namesen_US
licenseGPL
local infileON
locked in memoryOFF
logOFF
log binON
log bin trust function creatorsOFF
log error 
log queries not using indexesOFF
log slave updatesOFF
log slow queriesON
log warnings1
long query time1
low priority updatesOFF
lower case file systemOFF
lower case table names0
max allowed packet8,387,584
max binlog cache size18446744073709551615
max binlog size1,073,741,824
max connect errors1,000
max connections1,500
max delayed threads20
max error count64
max heap table size4,294,967,296
max insert delayed threads20
max join size18446744073709551615
max length for sort data1,024
max prepared stmt count16,382
max relay log size0
max seeks for key18446744073709551615
max sort length1,024
max sp recursion depth0
max tmp tables32
max user connections0
max write lock count18446744073709551615
multi range count256
myisam data pointer size6
myisam max sort file size9223372036854775807
myisam recover optionsOFF
myisam repair threads1
myisam sort buffer size8,388,608
myisam stats methodnulls_unequal
net buffer length16,384
net read timeout60
net retry count100
net write timeout120
newOFF
old passwordsOFF
open files limit7,500
optimizer prune level1
optimizer search depth62
pid file/var/run/mysqld/mysqld.pid
port3,306
preload buffer size32,768
profilingOFF
profiling history size15
protocol version10
query alloc block size8,192
query cache limit1,048,576
query cache min res unit4,096
query cache size33,554,432
query cache typeON
query cache wlock invalidateOFF
query prealloc size8,192
range alloc block size2,048
read buffer size131,072
read onlyOFF
read rnd buffer size262,144
relay log purgeON
relay log space limit0
rpl recovery rank0
secure authOFF
secure file priv 
server id7,003
skip external lockingON
skip networkingOFF
skip show databaseOFF
slave compressed protocolOFF
slave load tmpdir/tmp/
slave net timeout3,600
slave skip errorsOFF
slave transaction retries10
slow launch time2
socket/var/lib/mysql/mysql.sock
sort buffer size2,097,144
sql big selectsON
sql mode 
sql notesON
sql warningsOFF
ssl ca 
ssl capath 
ssl cert 
ssl cipher 
ssl key 
storage engineMyISAM
sync binlog0
sync frmON
system time zoneUTC
table cache64
table lock wait timeout50
table typeMyISAM
thread cache size128
thread stack262,144
time format%H:%i:%s
time zoneSYSTEM
timed mutexesOFF
tmp table size33,554,432
tmpdir/tmp/
transaction alloc block size8,192
transaction prealloc size4,096
tx isolationREPEATABLE-READ
updatable views with limitYES
version5.0.51a-log
version bdbSleepycat Software: Berkeley DB 4.1.24: (January 11, 2008)
version commentSource distribution
version compile machinex86_64
version compile osredhat-linux-gnu
wait timeout301
评论 1
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值