Reading gporca (Part 3): The Key of a DP Cell — (Group, Required Properties, Stage)

The first two posts covered the framework mechanics and the scheduler. This one goes into the heart of the memo: the dynamic-programming cell. 1. Correcting an intuition Many people assume the optimizer’s job is to “find one optimal plan per group.” But gporca’s problem definition is: For each group, under the given requirements, find an optimal plan. Because the best implementation for the same group differs completely under different requirements: ...

October 20, 2026 · 4 min · daviszhen