PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.databases.mysql > Optimizing
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Optimizing

Réponse
 
LinkBack Outils de la discussion
Vieux 04/02/2008, 17h59   #1
Curious Joe
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Optimizing

I have read through chapter 6 of the documentation (Optimization) and
still have a couple specific questions. The documentation seems to
make broad strokes and I need the finishing brush.

My system is a single processor Quad core Xeon with 8GB of ram. Linux
is installed on a simple raid 1 and the mysql data directory is
4x500GB sata II in a raid 0.

The documentation talks about table buffers and a few other cache
settings. Considering this server is specifically tasked for mysql
data conversion and nothing else what settings would you recommend me
to use for maximum speed? Recovery is irrelevant since it is a large
data dump that can be reloaded quickly if the system should completely
fail. It is an "in-out" server in that the data is loaded and
converted/tweaked then brought into the main production system.

Any is appreciated.

CJ
  Réponse avec citation
Vieux 04/02/2008, 18h41   #2
J.O. Aho
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Optimizing

Curious Joe wrote:
> I have read through chapter 6 of the documentation (Optimization) and
> still have a couple specific questions. The documentation seems to
> make broad strokes and I need the finishing brush.
>
> My system is a single processor Quad core Xeon with 8GB of ram. Linux
> is installed on a simple raid 1 and the mysql data directory is
> 4x500GB sata II in a raid 0.
>
> The documentation talks about table buffers and a few other cache
> settings. Considering this server is specifically tasked for mysql
> data conversion and nothing else what settings would you recommend me
> to use for maximum speed? Recovery is irrelevant since it is a large
> data dump that can be reloaded quickly if the system should completely
> fail. It is an "in-out" server in that the data is loaded and
> converted/tweaked then brought into the main production system.


Selection of file system can be a good thing to do, ext2/ext3 are a bit slow,
I would recommend XFS, other good options are JFS and ReiserFS.

If you are using many times the same SQL question, then SQL CACHE is a good
thing to use in the SELECT. If you use this on too many different SQL
questions, then you will use up the RAM fast.

--

//Aho
  Réponse avec citation
Vieux 10/02/2008, 21h20   #3
Charles Polisher
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Optimizing

Curious Joe <joebob.johnson@gmail.com> wrote:
> I have read through chapter 6 of the documentation (Optimization) and
> still have a couple specific questions. The documentation seems to
> make broad strokes and I need the finishing brush.
>
> My system is a single processor Quad core Xeon with 8GB of ram. Linux
> is installed on a simple raid 1 and the mysql data directory is
> 4x500GB sata II in a raid 0.
>
> The documentation talks about table buffers and a few other cache
> settings. Considering this server is specifically tasked for mysql
> data conversion and nothing else what settings would you recommend me
> to use for maximum speed? Recovery is irrelevant since it is a large
> data dump that can be reloaded quickly if the system should completely
> fail. It is an "in-out" server in that the data is loaded and
> converted/tweaked then brought into the main production system.


The excellent SQL Tuning Primer is a script that
generates recommendations for tuning your MySQL
settings: http://forge.mysql.com/projects/view.php?id=44

Other than that, we would need to know what OS, 32 vs 64
bit, InnoDB vs. MyISAM, to make specific recommendations.


  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 22h41.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,10618 seconds with 11 queries