• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

optimize my.cnf file

N

noworyz

Guest
I am working on getting the VPS I have being setup to best performance and I have seen a lot of talk about changing the my.cnf file for mysql as this seems to be the major performance issue I am having.

Here is the my.cnf for my server which is the default that came with it (except for the slow queries.

Does anyone know what I should do to this file to better the server or know of any resources to tell me what settings to do?

My server specs are:

CPU: AuthenticAMD, Dual-Core AMD Opteron(tm) Processor 2212
Version: psa v8.1.1_build81070423.15 os_FedoraCore 6
OS: Linux 2.6.9-023stab043.1-smp
HD: 25GB Hard Drive Space (3GB Used)
RAM: 1GB Total (about 280 MB used)



Here is the my.cnf file
Code:
[mysqld]
set-variable=local-infile=0
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1

skip-bdb

set-variable = innodb_buffer_pool_size=2M
set-variable = innodb_additional_mem_pool_size=500K
set-variable = innodb_log_buffer_size=500K
set-variable = innodb_thread_concurrency=2
log-slow-queries = slow_queries.log
[mysql.server]
user=mysql
basedir=/var/lib

[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
skip-bdb

set-variable = innodb_buffer_pool_size=2M
set-variable = innodb_additional_mem_pool_size=500K
set-variable = innodb_log_buffer_size=500K
set-variable = innodb_thread_concurrency=2
 
Back
Top