in reply to Re^2: OT: peak values with SQL
in thread OT: peak values with SQL

I would create an index on uptime_id and re-run the comparison.