With the indexes added, the query rewritten ( SELECT magnitude FROM star_motions WHERE star_id = 'Antares' AND timestamp > NOW() - INTERVAL 7 DAY ), and partitions in place, Maya ran the query again.
They opened the schema. Maya had been filtering by star_id and timestamp without an index. Leo added a composite index. “Now, Antares doesn’t scan every star — it jumps straight to yours.”
Leo smiled gently. “Ah. A classic. AntaresDatabase is powerful, but it needs guidance. Let’s walk through three friendly rules.”
The dashboard lit up. The CEO’s spinning wheel stopped. “Beautiful,” he typed in Slack.