Hi,
I have problem with opening a table through table component in Delphi through BDEODBCMySQL.
I have a table with size of 180 MB. It is imported from paradox table to Mysql – innodb plugin. It has around 2.5 lakh records with 150 fields.
It takes minimum 22 seconds to just opening the table through select * from .
My hard configuration is :
4x Intel(R) Xeon(R) CPU 5160 @ 3.00 GHZ, 3.2GB RAM
And I am using innodb plugin.
My current my.ini configuration is :
[mysql]
default-character-set=latin1
[mysqld]
character_set_server = utf8
default-storage-engine=INNODB
ignore-builtin-innodb
plugin-load=innodb=ha_innodb_plugin.dll;innodb_trx=ha_innodb _plugin.dll;innodb_locks=ha_innodb_plugin.dll;innodb_lock_wa its=h
a_innodb_plugin.dll;innodb_cmp=ha_innodb_plugin.dll;innodb_c mp_reset=ha_innodb_plugin.dll;innodb_cmpmem=ha_innodb_plugin .dll;
innodb_cmpmem_reset=ha_innodb_plugin.dll
sql-mode=" STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTI ON "
max_connections=100
max_connect_errors=10
table_open_cache=2048
max_allowed_packet=16M
binlog_cache_size=1M
max_heap_table_size=64M
query_cache_type=0
query_cache_size=0
query_cache_limit=0
table_cache=64
ft_min_word_len=4
tmp_table_size=64M
log-bin=mysql-bin
transaction_isolation = REPEATABLE-READ
binlog_format=mixed
slow_query_log
long_query_time=0
thread_cache_size=8
innodb_additional_mem_pool_size=2M
innodb_flush_log_at_trx_commit=0
innodb_log_buffer_size=8M
innodb_buffer_pool_size=1G
innodb_read_io_threads=1
innodb_write_io_threads=1
innodb_data_file_path=ibdata1:400M:autoextend
innodb_file_io_threads=4
innodb_log_file_size=24M
innodb_thread_concurrency=16
thread_concurrency=8
innodb_max_dirty_pages_pct=90
innodb_lock_wait_timeout=50
innodb_doublewrite=0
skip_name_resolve
[mysqldump]
quick
max_allowed_packet=16M
[mysql]
no-auto-rehash
[mysqlhotcopy]
interactive-timeout
[mysqld_safe]
open-files-limit=8192
Can anybody please suggest me good my.ini configuration ?
Thanks in advance.