ผู้เขียน หัวข้อ: My.cnf RAM8  (อ่าน 5582 ครั้ง)

0 สมาชิก และ 1 บุคคลทั่วไป กำลังดูหัวข้อนี้

doramon

  • บุคคลทั่วไป
My.cnf RAM8
« เมื่อ: กุมภาพันธ์ 16, 2008, 15:59:39 PM »
0
เอามาฝากเพื่อใครจะใช้

Example MySQL options

Here is the  example of  /etc/my.cnf  on T2000(32x1200MHz, 8GB RAM, Solaris 10 11/06) in sysbench OLTP I/O bound test(100M-row):

 

[mysqld]

port = 3306

socket = /tmp/mysql.sock

basedir = /usr/local/mysql

datadir = /usr/local/mysql/data

log-error = /data/error.txt

user=root

skip-locking

max_connections = 3000

table_cache = 1024

max_allowed_packet = 1M 

sort_buffer_size = 64K

thread_cache = 8

thread_concurrency = 32

query_cache_size = 0M

query_cache_type = 0

default-storage-engine = innodb

transaction_isolation = REPEATABLE-READ

tmp_table_size = 1M

innodb_data_file_path = ibdata1:100M:autoextend

innodb_buffer_pool_size = 5500M

innodb_additional_mem_pool_size = 20M

innodb_log_file_size =1900M

innodb_log_buffer_size = 8M

innodb_flush_log_at_trx_commit =1 

innodb_lock_wait_timeout = 300

innodb_max_dirty_pages_pct = 90

innodb_thread_concurrency =32

 

Example /etc/system on T2000

set pcie:pcie_aer_ce_mask=0x1

set ip:dohwcksum=0

set autoup=900

set tune_t_fsflushr=1

set auto_lpg_maxszc=1


ออฟไลน์ เกื้อกูล ครับ..

  • Hero Member
  • *****
  • กระทู้: 12,611
  • Respect: +169
    • ดูรายละเอียด
    • โรงพยาบาลปากท่อ
Re: My.cnf RAM8
« ตอบกลับ #1 เมื่อ: กุมภาพันธ์ 17, 2008, 12:32:34 PM »
0
RAM8?????  ประมาณไหนครับ อ.อ๋อด
Implement  HOSxP  Start 2548 ---> NOW!
Station : 130 Client   V.3 Version  3.67.1.XX
Server  : CENTOS  +MySQL maria 10.x.x

ออฟไลน์ chronoX

  • Sr. Member
  • ****
  • กระทู้: 385
  • Respect: +10
    • ดูรายละเอียด
    • รพ.สมเด็จพระยุพราชท่าบ่อ
Re: My.cnf RAM8
« ตอบกลับ #2 เมื่อ: กุมภาพันธ์ 17, 2008, 19:12:24 PM »
0
ขอวิธีจูน สำหรับ ram 2 G ด้วยครับ
Kreangrit  Pakjinda  Position: Administrator&Programmer @ Thabo Crown Prince Hospital,
Server:OS Linux CenOS 7,RAM 64 Gb HDD 1 TB,Mysql 5.5.31
Slave:OS Linux CenOS 7  Cient:WindowsXP ,7
HOSxP Version 3.59.3.21
http://www.thabohospital.com

ออฟไลน์ NtvHospital

  • Jr. Member
  • **
  • กระทู้: 99
  • Respect: +2
    • ดูรายละเอียด
Re: My.cnf RAM8
« ตอบกลับ #3 เมื่อ: เมษายน 12, 2008, 14:13:09 PM »
0
รบกวนขอ "My.cnf" for Ram4G ด้วยนะครับ อ.อ๊อด พอดีเพิ่งได้แรมมาแล้ว และก็กะลังจะอัพ Mysql 4.1 เป็น 5.1.23 ขอบคุณครับ อ.อ๊อด
Somdej Praborom Rachineenat Hospital Nathawee Songkhla

Ms:  Server IBM x3650 M3 Xeon 6Core 5660 2.80GHz,Ram 32G(ECC-Original ram),HD-SAS146G 15Krpm x 4(RAID10)
CentOS 6.4 x64 ,Mysql Percona 5.5.33

SL:  Server IBM x3650 M2 Xeon 4Core 5520 2.26GHz,Ram 8G(ECC-Original ram),HD-SAS146G 10Krpm x 4(RAID10)
CentOS 6.4 x64 ,Mysql Percona 5.5.33

IMG:Server IBM x3550 M3 Xeon 4Core 5620 2.40GHz,Ram 4G(ECC-Original ram),HD-SAS1.2TB 10Krpm x 3(RAID5)
CentOS 6.5 x64 ,Mysql Percona 5.5.33

HosXP 3.56.12.16
INET 3BB Leaseline 40M + Adsl 10M ,Endian Firewall 2.2 rc2
NetWork SRW2048-K9-EU ,HP V1405-24G
UPS Emerson Liebert True Online GXT3-3000RT,APC Smart Online SURTD3000RMXLI
NAS LinkStation Buffalo 2TB x2
KVM Switch ATEN CS-1734A
X-RAY WEBPACS
LAB LIS

RunSystem 2006-06-14 ,Implement By อ.ชัยพร+ทีมงาน ขอบคุณทีมงาน BMS

ออฟไลน์ osx

  • Newbie
  • *
  • กระทู้: 35
  • Respect: 0
    • ดูรายละเอียด
Re: My.cnf RAM8
« ตอบกลับ #4 เมื่อ: ตุลาคม 13, 2008, 15:47:28 PM »
0
อ.อ๊อดครับ ของ 4G นี่  ตัว script  clean_install ต้องใช้แบบ 4 G ด้วยใช่ไหมครับ ลองใช้ที่ น้องดา (ปัว) เอามาให้ตอนขึ้น server ตัวเก่า 1 G นี่มัน error   แล้ว ไป d/l  cnf 4 G มา file type เป็น speeddial  มันกลายเป็น shortcut เฉย งงมาก แนะนำด้วยครับ
 

doramon

  • บุคคลทั่วไป
Re: My.cnf RAM8
« ตอบกลับ #5 เมื่อ: ตุลาคม 13, 2008, 16:03:13 PM »
0