in reply to How many Select Querie is considered too much?
The number of queries can cause overhead due to the round-trip delay, but this will depend on a number of factors.
But honestly the best way to see which approach works best for you is to benchmark it. Optimizing before you identify the bottlenecks can absorb a huge amount of your development time with very little return on the investment.
I'm very fond of using Benchmark to determine which algorithm runs fastest, but this is only part of the problem in your case. You really need to see how well it performs when the load is as high as you fear it might become.
|
|---|