PHWinfo banniere

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

Réponse
 
LinkBack Outils de la discussion
Vieux 26/08/2007, 21h38   #1
Jim Douglas
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Query sloooow

I installed MySQL on Fedora 6 and simple queries are very slow.

I have ten databases with very few hundred records and there are only a few
hundred records in the table I am querying. I only have this issue on
Fedora ONLY. The same query on on my Windows machine is as expected.

What can I do to speed things up on Fedora?

Jim

__________________________________________________ _______________
See what you’re getting into…before you go there
http://newlivehotmail.com/?ocid=TXT_...l_preview_0507

  Réponse avec citation
Vieux 27/08/2007, 13h26   #2
Dan Buettner
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Query sloooow

Hi Jim -

I'm using MySQL on Fedora 6 as well, with no performance problems. Did not
need to do anything to speed it up on Fedora.

It's difficult to answer the question why one is faster than the other, as
there are any number of potential differences. Some more specifics about
your setup (hardware, software) and the queries you're running would be
ful. The output of EXPLAIN from both machines may be very telling.

In general, some things to consider are:
- do you have sufficient RAM in the Fedora machine for what you're running?
If you're paging memory that can slow things down a lot
- are you running the same version of MySQL on the two machines? Older
versions can perform particularly poorly with subqueries, for example
- do you have the MySQL query cache enabled on Windows and not on Fedora, or
cache settings that are very different?

Dan


On 8/26/07, Jim Douglas <jdz99@hotmail.com> wrote:
>
> I installed MySQL on Fedora 6 and simple queries are very slow.
>
> I have ten databases with very few hundred records and there are only a
> few
> hundred records in the table I am querying. I only have this issue on
> Fedora ONLY. The same query on on my Windows machine is as expected.
>
> What can I do to speed things up on Fedora?
>
> Jim
>
> __________________________________________________ _______________
> See what you're getting into…before you go there
> http://newlivehotmail.com/?ocid=TXT_...l_preview_0507
>
>
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe: http://lists.mysql.com/mysql?unsub=drbuettner@gmail.com
>
>


  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 05h57.


Édité par : vBulletin® version 3.7.4
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,07633 seconds with 10 queries