ผู้เขียน หัวข้อ: สอบถามการตั้งค่า my.ini ในเครื่อง notebook ครับ  (อ่าน 3668 ครั้ง)

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

ออฟไลน์ zipzaliio

  • Newbie
  • *
  • กระทู้: 22
  • Respect: 0
    • ดูรายละเอียด
สอบถามการตั้งค่า my.ini ในเครื่อง notebook ครับ
ตอนเปิดตาราง reporttemplate หรือตารางใหญ่ ๆๆ จะ ขึ้น Out of memory




ตอนนี้ ในเครื่องมี
windows 10 64 bit
cpu core i7
ram 16 GB
ssd 480 GB


ตอนนี้ผมลองทำแล้วไม่รู้ถูกต้องไหมคับ
[mysqld]
basedir=C:\Program Files (x86)\BMS\MySQL
datadir=C:\Program Files (x86)\BMS\MySQL\data
character-set-server=tis620
key_buffer=6144M
table_cache=1024
sort_buffer_size=30M
read_buffer_size=30M
read_rnd_buffer_size=30M
myisam_sort_buffer_size=512M
max_allowed_packet=1024M
join_buffer_size=8M
concurrent_insert=2
max_heap_table_size=1024M
innodb_data_file_path=ibdata1:2000M:autoextend
innodb_flush_log_at_trx_commit=2
innodb_buffer_pool_size=1G
innodb_additional_mem_pool_size=20M
innodb_log_file_size=2G
innodb_log_buffer_size=16M
innodb_lock_wait_timeout=50
innodb_support_xa=0
innodb_locks_unsafe_for_binlog=1
innodb_thread_concurrency=0
innodb_doublewrite=0
query_cache_size=256M
myisam-recover=FORCE,BACKUP
default_storage_engine=MyISAM
query_cache_type=2
event_scheduler=0
open_files_limit=1000
max_connections=100
innodb_file_per_table
skip-character-set-client-handshake
skip-name-resolve
big-tables
innodb_force_recovery = 0


[mysql]
default-character-set=tis620
[mysqldump]
default-character-set=tis620
max_allowed_packet=6144M
allow-keywords
[WinMySQLadmin]
user=sa
password=sa


ขอคำแนะนำในการตั้งค่า my ด้วยคับ  :) :) :) :)