Welcome Guest, Not a member yet? Register   Sign In
I thought this stored procedure would be faster than plain selects
#5

Relational databases aren't good at this. Unless you denormalize the data (i.e. store the already computed results), I don't see how you could get better results with pure SQL compared to something involving PHP.

Though I don't see why you need a temporary table even for a million records. As long as you're doing index searches it should be just fine to do it directly.
Reply


Messages In This Thread
RE: I thought this stored procedure would be faster than plain selects - by Narf - 03-11-2018, 06:03 PM



Theme © iAndrew 2016 - Forum software by © MyBB