Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Linux + Mysql Tuning help
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Tux12Fun
Apprentice
Apprentice


Joined: 16 Aug 2007
Posts: 156

PostPosted: Thu Jan 14, 2010 6:09 pm    Post subject: Linux + Mysql Tuning help Reply with quote

Hello,

I have to set up a Server with Linux and a Mysql Database. This is not realy a Problem, but
I need a view Tuning Hints from the experts here.

System:
4 CPU 3,1 GHZ single Core
8 GB Ram
4 Harddisks at 36 GB SAS

Requirements:
1x Linux
1x Mysql
1x Apache

Usage of the Mysql
30 Databases
max 6 MyIsam Tables per Database + a view Views
Load of the Tables: Textfiles from 1M up to 3,9 GB
SQL Commands
Updates, Selects, Joins, a view Updates with full Table scan :-(
Only one User for all Databases no concurrent sessions.

My Idea was a Ext3 Filesystem and a Raid 10 over the 4 Disks. Runlevel 3. My me I could do something with the write back time of the Filesystem, to keep as many as possible from the Files in the Ram. The Files are loaded. The sql Statements are executed and the table is truncated at the end.
I also thought it would be use full to disable the indexes at the loadtime. And I though I increase the values in the My.conf so that more Ram is used. But I don't know exactly how high.

Please If you have any Hint for me how i could tune Mysql and the Linux for this purpose give it to me.

Thank you for your Help.
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Fri Jan 15, 2010 4:12 pm    Post subject: Reply with quote

Moved from Documentation, Tips & Tricks to Other Things Gentoo.
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum