Back

SQL Details

Executed SQL
EXPLAIN
SELECT max(search_management.id) AS max_1 
FROM search_management 
 LIMIT %(param_1)s
Original query duration
0.4978 ms
QUERY PLAN
Limit (cost=0.33..0.34 rows=1 width=4)
InitPlan 1 (returns $0)
-> Limit (cost=0.15..0.33 rows=1 width=4)
-> Index Only Scan Backward using pk_search_management on search_management (cost=0.15..53.36 rows=298 width=4)
Index Cond: (id IS NOT NULL)
-> Result (cost=0.33..0.34 rows=1 width=4)