• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

I would like to configure MYSQL for best performance

igoldman

Regular Pleskian
Hello to everyone,

I would like to know how to configure MYSQL to work in better performance ?
which value did you type in the my.ini configure file ?
 
SWsoft has configured MySQL for Plesk capability, so I don't think you have to reconfigure it :)
 
I am not talking about the MYSQL which serv Plesk Control Panel.
I am talking about the MYSQL for clients databases
 
Originally posted by igoldman
I am not talking about the MYSQL which serv Plesk Control Panel.
I am talking about the MYSQL for clients databases

Very strange question... You have a many little databases or one HUGE database or something other... every variant have a different settings... but default MySQL configured to separate variant.
 
you probably didn't understand my question.

I will give example about which MYSQL I am talking about.
lets say that customer ordered from me web hosting package.
this customer have the abilitly to open through Plesk Control Panel MYSQL databases.

what I would like to do ?
I would like to configure MYSQL to work faster and stop to crush !!!
because I have some customer that use MYSQL databases and their web sites are very big and make use of MYSQL.

now , there is a file , which called my.ini
thats file located in:
C:\Program Files\SWsoft\Plesk\Databases\MySQL\Data

the current configuration is :

[MySQLD]
port=3306
basedir=C:\\Program Files\\SWsoft\\Plesk\\Databases\\MySQL
datadir=D:\\mysqldata
default-character-set=latin1
default-storage-engine=INNODB
query_cache_size=8M
table_cache=32
tmp_table_size=7M
thread_cache=32
myisam_max_sort_file_size=100G
myisam_max_extra_sort_file_size=100G
myisam_sort_buffer_size=2M
key_buffer_size=2M
read_buffer_size=1M
read_rnd_buffer_size=256K
sort_buffer_size=256K
innodb_additional_mem_pool_size=2M
innodb_flush_log_at_trx_commit=1
innodb_log_buffer_size=1M
innodb_buffer_pool_size=16M
innodb_log_file_size=10M
innodb_thread_concurrency=8
max_connections=300
key_buffer=4M
max_allowed_packet=1M
sort_buffer=256K
net_buffer_length=4K
old_passwords=1
[client]
port=3306


I would like to know which value I need to change that the MYSQL will stop to crush. it's defently because MYSQL not configured correctly. I have alots of RAM in my server , 2 GB
where do I config that MYSQL will be able to use more RAM ?
what about cache memory ?
and so on , what do you suggest me ?
 
Back
Top