Hi. All
Was hoping to get some suggestions as to MySql variable settings based on the following:
1. System Ram: 2G, Database Engine: ISAM
2. Tables:
a: 20,000 rows, Size on disk: 250MB
b: 20,000 rows, Size on disk: 13MB
The entire DB will fit in memory 7-8 times over............
I run an update script daily which adds about 20K transactions to the respective rows of Table a, and updates various fields in Table b.
There are only maybe 20 users who access this database during the day.
The access consists mainly of sequential searches of the tables, using indexes on the tables.
There are no actual searches that would look for particular values in the tables, it's all indexed...there are a lot of sequential reads based on the indexs.
On a DS I had earlier, the update script would run in 28 seconds.
On my current one, it runs 2:43 .....almost 3 minutes.
I've been playing around with various settings, but can't get the processing time down.
Here's my current settings in my.cnf:
[mysqld]
performance-schema=0
innodb_file_per_table=1
max_allowed_packet=268435456
# Made it 500. Was 10000
open_files_limit=500
default-storage-engine=MyISAM
# My Adds
bind-address=127.0.0.1
query-cache-type=1
query_cache_size=64M
query_cache_limit=32M
tmp_table_size=64M
max_heap_table_size=64M
key_buffer_size=512M
#Tried these at 64 and ran out of memory
read_buffer_size=8M
read_rnd_buffer_size=8M
sort_buffer_size=32M
thread_cache_size=10
Be forever grateful for any advise/help anybody has
Thank you,
z
Was hoping to get some suggestions as to MySql variable settings based on the following:
1. System Ram: 2G, Database Engine: ISAM
2. Tables:
a: 20,000 rows, Size on disk: 250MB
b: 20,000 rows, Size on disk: 13MB
The entire DB will fit in memory 7-8 times over............
I run an update script daily which adds about 20K transactions to the respective rows of Table a, and updates various fields in Table b.
There are only maybe 20 users who access this database during the day.
The access consists mainly of sequential searches of the tables, using indexes on the tables.
There are no actual searches that would look for particular values in the tables, it's all indexed...there are a lot of sequential reads based on the indexs.
On a DS I had earlier, the update script would run in 28 seconds.
On my current one, it runs 2:43 .....almost 3 minutes.
I've been playing around with various settings, but can't get the processing time down.
Here's my current settings in my.cnf:
[mysqld]
performance-schema=0
innodb_file_per_table=1
max_allowed_packet=268435456
# Made it 500. Was 10000
open_files_limit=500
default-storage-engine=MyISAM
# My Adds
bind-address=127.0.0.1
query-cache-type=1
query_cache_size=64M
query_cache_limit=32M
tmp_table_size=64M
max_heap_table_size=64M
key_buffer_size=512M
#Tried these at 64 and ran out of memory
read_buffer_size=8M
read_rnd_buffer_size=8M
sort_buffer_size=32M
thread_cache_size=10
Be forever grateful for any advise/help anybody has
Thank you,
z