Queries run in SQL*PLUS complete correctly. However, when placed in cursors and
run in two procedures (one after the other), the first appears to finish and
the second hangs (no output is produced for the second)
Problem cannot be reproduced in sql*plus they both always finish (in a single
sql script containing both queries - one after the other).
Both queries employ parallel query hints and the package uses UTL_FILE utility
- The procedures in the package both run and complete when the parallel query
hints are removed.
When querying the database the parallel processes appear to still be running but are not clocking up CPU time and have no lockwaits. The processes still exist in this form until the database is shut down.
Using PLSQL version 2.3.5.5
run in two procedures (one after the other), the first appears to finish and
the second hangs (no output is produced for the second)
Problem cannot be reproduced in sql*plus they both always finish (in a single
sql script containing both queries - one after the other).
Both queries employ parallel query hints and the package uses UTL_FILE utility
- The procedures in the package both run and complete when the parallel query
hints are removed.
When querying the database the parallel processes appear to still be running but are not clocking up CPU time and have no lockwaits. The processes still exist in this form until the database is shut down.
Using PLSQL version 2.3.5.5