Hi,
We have MYSQL database and having very bad performance issue. Please help me to resolve.
Here is configuration details
Server: Windows Server 2003
Edition: Standard Edition
Services Pack: Service pack 1
CPU: Intel Xenon(R) CPU E5320
Processor: 1.86 GHz
RAM: 16 GB
Software Configuration:
MYSQL server database Version: 5.0
Here is my.ini file which is located under the C:\Program Files\MySQL\MySQL Server 5.0\
[mysql]
default-character-set=latin1
[mysqld]
The default storage engine that will be used when create new tables when
default-storage-engine=INNODB
Set the SQL mode to strict
sql-mode=" STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTI ON "
max_connections=100
query_cache_size=0
table_cache=256
tmp_table_size=18M
thread_cache_size=8
#*** MyISAM Specific options
myisam_max_sort_file_size=100G
myisam_max_extra_sort_file_size=100G
myisam_sort_buffer_size=35M
key_buffer_size=25M
read_buffer_size=64K
read_rnd_buffer_size=256K
sort_buffer_size=256K
#*** INNODB Specific options ***
#skip-innodb
innodb_additional_mem_pool_size=2M
innodb_flush_log_at_trx_commit=1
innodb_log_buffer_size=1M
innodb_buffer_pool_size=47M
innodb_log_file_size=24M
innodb_thread_concurrency=10
=================
Database Details:
Size of Database: around 2 GB
Databaes Engine: INNODB
Number of Tables: 15
Maximum count row in each table:
select count(*) from audit_trail:
output:
385567
table size: 91 MB and Index Size is 59 MB
select count(*) from follwup_complaints
353988
table size: 73 MB and Index Size is 50 MB
select count(*) from mail_audit;
447237
table Size: 597 MB and index size is 35 MB
select count(*) from mis_reports;
148959
Please let me know what will be the optimal memory parameters need to be setup to get good performance.
We are using default my.ini parameter file.
The database response is very poor,
Thanks
Mohammed.