On Tue, 26 Aug 2003, Heikki Tuuri wrote:

> Asif,
>
> now take the old log files from the safe place and put them back! That will
> save your data.
>
> The instructions about changing the size of the log files are the following:
>
> http://www.innodb.com/ibman.html#Adding_and_removing
>
> "
> If you want to change the number or the size of your InnoDB log files, you
> have to shut down MySQL and make sure that it shuts down without errors.
> Then copy the old log files into a safe place just in case something went
> wrong in the shutdown and you will need them to recover the database. Delete
> then the old log files from the log file directory, edit my.cnf, and start
> MySQL again. InnoDB will tell you at the startup that it is creating new log
> files.
> "

That worked, thanks a lot. Now I am wondering if their is any other modification
on my system with 4x450Mhz, 4gig RAM, mysql 4.0.13 that I should look into to
improve the performance

Here is my cnf file look like

[client]
#password       = your_password
port            = 3306
socket          = /tmp/mysql.sock

[mysqld]
port            = 3306
socket          = /tmp/mysql.sock
skip-locking
key_buffer = 384M
max_allowed_packet = 1M
table_cache = 512
sort_buffer_size = 2M
read_buffer_size = 2M
myisam_sort_buffer_size = 64M
thread_cache = 8
query_cache_size = 32M
# Try number of CPU's*2 for thread_concurrency
thread_concurrency = 8

#skip-networking
#log-bin
server-id       = 1

# Uncomment the following if you are using InnoDB tables
innodb_data_home_dir = /usr/local/mysql/data/
innodb_data_file_path = ibdata1:1882M;ibdata2:10M:autoextend
innodb_log_group_home_dir = /usr/local/mysql/data/
innodb_log_arch_dir = /usr/local/mysql/data/
innodb_buffer_pool_size = 384M
innodb_additional_mem_pool_size = 20M
innodb_log_file_size = 100M
innodb_log_buffer_size = 8M
innodb_flush_log_at_trx_commit = 1
innodb_lock_wait_timeout = 50

[mysqldump]
quick
max_allowed_packet = 16M

[mysql]
no-auto-rehash
# Remove the next comment character if you are not familiar with SQL
#safe-updates   <---- Also not sure what I should do here, keep the comments?

[isamchk]
key_buffer = 256M
sort_buffer_size = 256M
read_buffer = 2M
write_buffer = 2M

[myisamchk]
key_buffer = 256M
sort_buffer_size = 256M
read_buffer = 2M
write_buffer = 2M

[mysqlhotcopy]
interactive-timeout


I am doing any replication. I have just one server. I am using MyISAM and InnoDB
Type tables and Row formats were Dynamic

Thanks again

-- 
Asif Iqbal
http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0x8B686E08
There's no place like 127.0.0.1


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to