Google Answers Logo
View Question
 
Q: MySql performance estimations ( No Answer,   2 Comments )
Question  
Subject: MySql performance estimations
Category: Computers
Asked by: hardtoinventgoodnick-ga
List Price: $50.00
Posted: 17 Mar 2006 14:29 PST
Expires: 16 Apr 2006 15:29 PDT
Question ID: 708547
How can I be really sure that our MySql database scales for millions
of users for given query? Is there any way to estimate how long, say,
10 000 simultaneous queries take, based on how long one individual
query takes (database filled with large amounts "junk data" to
simulate data of millions of users)? What kind of stress tests should
be performed in addition?
Answer  
There is no answer at this time.

Comments  
Subject: Re: MySql performance estimations
From: 0blong-ga on 19 Mar 2006 03:43 PST
 
Well, for one i doubt there will be more than 10,000 queries used in
any one time. However if your project will be expecting usage like
that, then i hope you have some serious processing power and hardware
behind this. If you install PHPMyAdmin (a web interface which allows
control over your SQL databases), then you can test your database by
inputting a query:

1) click on query window hyperlink - this should popup a window
2) within this popup, enter your SQL syntax (query) and press Go
3) this shall then return with your request and also state how long
the query took to process

Now you know how long your query takes to process, simply multiply
this by the number of simulataneous users (e.g. 10,000). This is only
an estimation, the only true way to find out would be to get 10,000
users to execute the query.
Subject: Re: MySql performance estimations
From: dasfreak_au-ga on 20 Mar 2006 03:52 PST
 
You may find the answer yourself on mysql.com. They provide a
benchmarking app at http://www.mysql.com/why-mysql/benchmarks/ which
includes the demo code.
I've not run it myself but i'm presuming it comes with everything the
whitepaper associated with it describes.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy