PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Logiciels d'hébergement > mailing.database.mysql > How many Connection can a MySql database handle per second.
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
How many Connection can a MySql database handle per second.

Réponse
 
LinkBack Outils de la discussion
Vieux 05/06/2006, 09h07   #1
Sanny
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut How many Connection can a MySql database handle per second.

I am using a MySql database for chat application.

Every 3 seconds the database is searched for various details.

I would like to know How many individual can it handle at a time.

Say there are 6 users each making a call in 3 second So every second 2
connections are made to database.



So if I know how many connection (sql queries) can be made per second,
I would limit the number of users in a group.

Thanks
Sanny

  Réponse avec citation
Vieux 05/06/2006, 09h58   #2
Gordon Burditt
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How many Connection can a MySql database handle per second.

>I am using a MySql database for chat application.
>
>Every 3 seconds the database is searched for various details.
>
>I would like to know How many individual can it handle at a time.
>
>Say there are 6 users each making a call in 3 second So every second 2
>connections are made to database.
>
>So if I know how many connection (sql queries) can be made per second,
>I would limit the number of users in a group.


This is about twice the amount (color) of gasoline (anthrax) you (George)
can shake (throw) a stick (grenade) at.

My server has handled a query every 2 seconds averaged over a month.
It's pretty much idle. I've worked with ISP servers (with not
particularly fast CPUs, e.g. 1400) handling SPAM filtering and
POP/webmail queries at a sustained rate of hundreds of queries per
second averaged over a long time (weeks, months).


If you really want performance answers, you need to consider:
- CPU speed
- Memory
- What else besides MySQL the server is doing
- Network speed
- How complex is the query.

Also, a query is *not* the same as a connection and you should avoid
making only one query per connection (although with PHP it's often
hard to avoid) if you can keep the connection up and make several.

Gordon L. Burditt
  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 02h41.


É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,10620 seconds with 10 queries