Is it realistic to run 2 queries per request? I'm wanting to query something like `SELECT id FROM pr
Is it realistic to run 2 queries per request? I'm wanting to query something like
I'm worried this design may bottleneck me. My last experience with databases was PHP/MySQL era, and the sheer number of queries ran on pageload was the most common bottleneck for me back then. Is this an acceptable pattern?
SELECT id FROM projects WHERE url = ? then SELECT something FROM metadata WHERE id = ? using that ID (where there could be multiple somethings in the latter table).I'm worried this design may bottleneck me. My last experience with databases was PHP/MySQL era, and the sheer number of queries ran on pageload was the most common bottleneck for me back then. Is this an acceptable pattern?




