View Single Post
ישן 05-02-15, 08:28   # 9
Rhost
עסק רשום [?]
 
מיני פרופיל
תאריך הצטרפות: Jun 2011
מיקום: הוד השרון
הודעות: 571
Send a message via Skype™ to Rhost

Rhost לא מחובר  

תודה על העזרה, העברתי את המסד מ MyISAM ל InnoDB ולא הרגשתי שום שינוי זה נשאר אותו דבר עכשיו ששאלתי עם מומלץ להשתמש ב cahce במכיוון שעשיתי רייסט לסרביס mariadb ונעלמו לי דברים במשחק שזה די הרס אותו (נעלמו דברים קריטים), הייתי רוצה לקבל ממכם חוות דעת על הקונפיג שעשיתי
השרת שאני משתמש הוא xeon 1245 v3 , 32GB , raid5 ssd 120GB
אני משתמש ב nginx, mariadb
והקונפיג הולך אצלי ככה

[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock

skip-federated
skip-archive
skip-blackhole
wait_timeout = 30
max_heap_table_size = 256M
default-storage-engine = InnoDB
slow_query_log=0
long_query_time = 2
slow_query_log_file=/var/lib/mysql/slowq.log
log-error=/var/log/mysqld.log

# innodb settings

innodb_doublewrite = 1
innodb_file_per_table = 1
innodb_data_file_path= ibdata1:10M:autoextend
innodb_log_files_in_group = 2
innodb_flush_log_at_trx_commit = 2
innodb_thread_concurrency = 0
innodb_lock_wait_timeout=50
innodb_support_xa=1

# DISKS
innodb_io_capacity = 500
innodb_read_io_threads = 8
innodb_write_io_threads = 8

# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
# Settings user and group are ignored when systemd is used.
# If you need to run mysqld under a different user or group,
# customize your systemd unit file for mariadb according to the
# instructions in http://fedoraproject.org/wiki/Systemd

[mariadb-5.5]

innodb_log_block_size = 512

log_slow_filter =admin,filesort,filesort_on_disk,full_join,full_sc an,query_cach$

[mysqld_safe]
log-error=/var/log/mariadb/mariadb.log
pid-file=/var/run/mariadb/mariadb.pid

#
# include all files from the config directory
#
!includedir /etc/my.cnf.d
__________________
Global Net Access | www.Rhost.biz | Europe & USA Data Centers
Domains | Certificates | Web Hosting | VPS | Enterprise Solutions
  Reply With Quote