Best unofficial Apache Server developers community
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account

Why should we store log files and bin-log files on different path or disks in mysql

2

41 views

Hi All,

I have replication setup mysql databases....the log file location the bin-log file all are at one path that is default my data directory of mysql.

I have read that for better performance one should store them seprately.

Can anyone provide me how this improves the performance. Is there is documentation available for the same. The reason why one should do so?

Regards, Manasi

asked May 24, 2011 12:53 am CDT
posted via StackOverflow

2 Answers

0
 

Mainly because then, reads and writes can be made almost in parallel. Stored separately meaning on different disks.

Linux and H/W optimizations for MySQL is a nice presentation of ways to improve MySQL performance - it presents benchmarks and conclusions of when to use SSD disks and when to use SCSI disks, what kind of processors are better for what tasks.

Very good presentation, a must read for any DBA!!

answered May 24, 2011 1:23 am CDT
0
 

It also can be really embarrassing to have your log files fill the file system and bring the database to a halt.

answered May 24, 2011 1:23 am CDT

Your answer

Join with account you already have


Sign in with Twitter account
Sign in with Facebook account
Sign in with Google Friend Connect

Preview
Similar questions
MySQL open files limit
February 9, 2011