There is a high loaded 24/7 system based on Oracle DB Server.
Many of the client applications work with the package pkg1
.
Is there any possibility (Oracle implementation or best practice) of installing the new version of package pkg1
on the fly?
I mean without getting the 'resource busy' error and losing current sessions and etc?
If you're using Oracle 11, take a look at Edition-Based Redefinition.
Deploying new version of database packages, even in production, is not a problem, if you remember some rules:
With this in mind you can create package bodies which can be updated even in production without causing any harm. If the package really is used the recompile will wait for a lock on the package, in the worst case that might time out and you need to try again.
Again, if all this does not help a redesign might be necessary and helpful.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With