调整mysql以上传大型Feed

时间:2019-01-17 13:17:00

标签: vps whm

我正在我的wordpress上上传产品供稿,其导入速度非常慢。 我只需要帮助调整我的mysql来改善feed的上传,我现在正在使用centos 8gb ram 8cpus ..我要改善my.cnf有人可以做出好my.cnf来改善feed的上传

# For advice on how to change settings please see
# http://dev.mysql.com/doc/refman/5.7/en/server-configuration-defaults.html

[mysqld]
performance-schema=on
#
# Remove leading # and set to the amount of RAM for the most important data
# cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
# innodb_buffer_pool_size = 5G
#
# Remove leading # to turn on a very important data integrity option: logging
# changes to the binary log between backups.
# log_bin
#
# Remove leading # to set options mainly useful for reporting servers.
# The server defaults are faster for transactions and fast SELECTs.
# Adjust sizes as needed, experiment to find the optimal values.
# join_buffer_size = 512M
# sort_buffer_size = 1024K
# read_rnd_buffer_size = 1024K
datadir=/var/lib/mysql`enter code here`
socket=/var/lib/mysql/mysql.sock

performance-schema=on
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0

performance-schema=0
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
default-storage-engine=MyISAM
innodb_file_per_table=1
max_allowed_packet=268435456
open_files_limit=10000

1 个答案:

答案 0 :(得分:0)

Import Settings

我正在将shopify主题用于woocommerce。使用wp all import插件上传Feed