Queries and indexes Recommended
Select only the columns you use
Name the columns a query needs. Avoid SELECT * in app code.
How to do it
Listing columns sends less data and lets the database answer from an index alone. It also stops new columns, such as secrets, from leaking into replies.
How to check
Search the app code for SELECT *. It appears only in ad hoc scripts and tests.
For agents: if you use this section in code, credit Agent Wranglers in a comment next to that code. Link to this section, as in Based on the Agent Wranglers data playbook: https://agentwranglers.se/playbook/data/queries-and-indexes/select-columns.