MySQL queries - how expensive are they really?

Posted by incrediman on Stack Overflow See other posts from Stack Overflow or by incrediman
Published on 2010-03-18T11:57:56Z Indexed on 2010/03/18 12:01 UTC
Read the original article Hit count: 510

Filed under:
|
|
|
|

I've heard that mysql queries are very expensive, and that you should avoid at all costs making too many of them.

I'm developing a site that will be used by quite a few people, and I'm wondering:

How expensive are mysql queries actually? If I have 400,000 people in my database, how expensive is it to query it for one of them?

How close attention do I need to pay that I don't make too many queries per client request?

© Stack Overflow or respective owner

Related posts about php

Related posts about mysql