您好,欢迎访问一九零五行业门户网

magento2网站10万SKU 需要怎么样的配置?

一个magento2网站10万sku ,需要怎么样的服务器
目前8g内存4核
还有 php.ini 需要怎么样的配置
mysql ,my.cnf 需要怎么样配置
网上看到一些参考如下 , 想知道该怎么调整这些参数。
mysql
innodb_thread_concurrency = 8
innodb_flush_log_at_trx_commit = 2
thread_concurrency = 12
thread_cache_size = 32
table_cache = 1024
query_cache_size = 64m
query_cache_limit = 2m
join_buffer_size = 8m
tmp_table_size = 256m
key_buffer = 32m
innodb_autoextend_increment=512
max_allowed_packet = 16m
max_heap_table_size = 256m
read_buffer_size = 2m
read_rnd_buffer_size = 16m
bulk_insert_buffer_size = 64m
myisam_sort_buffer_size = 128m
myisam_max_sort_file_size = 1g
myisam_max_extra_sort_file_size = 1g
myisam_repair_threads = 1
php配置
realpath_cache_size = 32k
realpath_cache_ttl = 7200
max_execution_time = 90
max_input_time = 90
memory_limit = 256m
default_socket_timeout = 90
pdo_mysql.cache_size = 2000
output_buffering = 4096
回复内容: 一个magento2网站10万sku ,需要怎么样的服务器
目前8g内存4核
还有 php.ini 需要怎么样的配置
mysql ,my.cnf 需要怎么样配置
网上看到一些参考如下 , 想知道该怎么调整这些参数。
mysql
innodb_thread_concurrency = 8
innodb_flush_log_at_trx_commit = 2
thread_concurrency = 12
thread_cache_size = 32
table_cache = 1024
query_cache_size = 64m
query_cache_limit = 2m
join_buffer_size = 8m
tmp_table_size = 256m
key_buffer = 32m
innodb_autoextend_increment=512
max_allowed_packet = 16m
max_heap_table_size = 256m
read_buffer_size = 2m
read_rnd_buffer_size = 16m
bulk_insert_buffer_size = 64m
myisam_sort_buffer_size = 128m
myisam_max_sort_file_size = 1g
myisam_max_extra_sort_file_size = 1g
myisam_repair_threads = 1
php配置
realpath_cache_size = 32k
realpath_cache_ttl = 7200
max_execution_time = 90
max_input_time = 90
memory_limit = 256m
default_socket_timeout = 90
pdo_mysql.cache_size = 2000
output_buffering = 4096
其它类似信息

推荐信息