View: 2007|Reply: 3
|
[HELP] MySQL Config (my.cnf)
[Copy link]
|
|
ni yg my.cnf aku gune skang ni
- [mysqld]
- port = ****
- socket = /var/lib/mysql/mysql.sock
- skip-locking
- key_buffer = 16K
- max_allowed_packet = 1M
- table_cache = 4
- sort_buffer_size = 64K
- read_buffer_size = 256K
- read_rnd_buffer_size = 256K
- net_buffer_length = 2K
- thread_stack = 64K
- skip-bdb
- skip-innodb
- [mysqldump]
- quick
- max_allowed_packet = 16M
- [mysql]
- no-auto-rehash
- #safe-updates
- [isamchk]
- key_buffer = 8M
- sort_buffer_size = 8M
- [myisamchk]
- key_buffer = 8M
- sort_buffer_size = 8M
- [mysqlhotcopy]
- interactive-timeout
Copy the Code
RAM vps aku maximum - 320 MB
aku run 2 blog wordpress setiap satu lebih kurang 10k page view sehari.
jadi ok ke config yg mcm ni? pasal RAM aku selalunye akan habis. pelik bin ajaib
ni pulak process list
mintak tolong le kengkawan eh.
mod-mod sekalian, aku pacak thread nii kat sini dulu, pasal bod programming tu kurang manusia la kat situ
[ Last edited by skycrew at 14-4-2008 01:03 PM ] |
|
|
|
|
|
|
|
Reply #3 st.yeepi's post
tq utk input anda, nanti aku check |
|
|
|
|
|
|
| |
|