Databases InterBase (28) MS-SQL (5) mysql (36) Oracle (1)
Exchange Links About this site Links to us 
|
Best operating system settings for mysql throughput
1 comments. Current rating: (1 votes). Leave comments and/ or rate it.
- No swap.
If you have memory problems, add more RAM instead or configure your system to use less memory.
- Don't use NFS disks for data (you will have problems with NFS locking).
- Increase number of open files for system and for the SQL server. (add ulimit -n # in the safe_mysqld script).
- Increase the number of processes and threads for the system.
- If you have relatively few big tables, tell your file system to not break up the file on different cylinders (Solaris).
- Use file systems that support big files (Solaris).
Choose which file system to use; Reiserfs on Linux is very fast for open, read and write. File checks take just a couple of seconds.
Comments:
|