Do LLM agents grasp data movement costs? Devs debate cross-session memory for DB migrations

sh_reya · x · 2026-12-07

brandur wonders how LLMs would guide developers through major database changes—migrating SQLite to Postgres under write contention, moving from a toy VPS to managed Postgres, or sharding a large install. These moves involve massive data transfer with physical constraints, spanning far more than a single LLM session, while production demands respecting ongoing writes and keeping load low for active users.

shreya agrees current models show no awareness of data movement costs or multi-session data management, asking whether existing RL paradigms (session-isolated rewards) can fix this or whether environments spanning many sessions are needed—while noting an agent's amnesia is both a bug and a feature.

Original post →

More from coding & agent

coding & agent channel →