Latest Orders Feed
The operations feed takes the first 20 orders after sorting by created_at, and re-sorting all of orders slows the screen down. Add an index on created_at so the feed can read the needed order faster.
Speed this query up with an index
SELECT * FROM orders ORDER BY created_at LIMIT 20
Tikai CREATE/ALTER/DROP — noslēdzošais SELECT nav nepieciešams.
Pieslēdzies, lai redzētu iesniegumu vēsturi
PieslēgtiesPieslēdzies, lai izmantotu AI mentoru
Pieslēgties