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
Endast CREATE/ALTER/DROP — ingen avslutande SELECT behövs.
Logga in för att se historik över inskick
Logga inLogga in för att använda AI-mentorn
Logga in