|
Short answer is no. Can't think of an
environment where compiled objects can be recreated without quiescence, so its
not just Oracle.
You should use PL/SQL packages instead of
stored procedures or functions so that the "body" of the
package (containing code) can be disassociated and recompiled
separately from the "header" or "public specification" section of the
package. This way, you can recompile just the package body without
cascading invalidations (due to the recompile) throughout other
referencing stored objects (i.e. views, triggers, other packages,
procedures, functions). Only the header references the body, and it is not
invalidated when the body is recompiled. All other stored objects
reference the header only, so they will be invalidated only if the header is
recompiled, not the body...
In a compiled environment, the only thing you can
do is minimize the period of quiescence (i.e. downtime) using redundancy.
Two schemas in the same database, two databases within the same environment,
etc...
Anyone know of a better way?
|
- Online recompilation of SP JayK
- RE: Online recompilation of SP Jamadagni, Rajendra
- Tim Gorman
