database - How many users is enough to crash the online mysql DB(http://www.db4free.net/)? -
i have approx 10 000 users, 1 user requesting whole db information (appr 10 000 rows) once second. enough mysql db crash?? thanks
this depends on many things, such as
- the specs of server (e.g. how fast disk / memory is)
- the setup of mysql (e.g. how memory allocated)
- the engine used in mysql (e.g. myisam locks whole table when wants use row)
- the structure of query (e.g. sorting on non-indexed row slow)
- how information in each row (the more information, longer takes read it)
either way, situation not sound ideal. better of caching result of query on disk somehow, reading disk faster reading database.
hope helps!
Comments
Post a Comment