You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PL/iSQL package cleanup repeatedly scans dependency lists while ordering packages and finding non-package dependents. With many cached packages, repeated linear list operations make DISCARD PACKAGE unnecessarily expensive.
This was found during a source audit rather than from a reported production incident. It is most relevant to migrated schemas with hundreds or thousands of interdependent packages and sessions that reset package state. A generated reverse-order dependency chain is intentionally a synthetic worst case.
Expected outcome
reduce dependency sorting and dependent-function discovery to expected O(V + E) work
preserve the existing stable ordering and cycle/fallback semantics
add regression coverage for layered, independent, and cyclic package dependencies
include a reproducible benchmark script that isolates DISCARD PACKAGE timing and supports multiple package counts
Activity
jiaoshuntian commentedon Sep 24, 2026
thanks for reporting