LarrySteele
Programmer
New to Oracle and trying to learn the tools. Searched for solution, but found nothing to solve this problem.
BACKGROUND:
I have a number of procs that fetch data and load into local tables. Several more procs pull data from these local tables and puts the results into more local tables for reporting. All told, we're looking at about 25 procs, maybe 50 tables. Row count for all tables combined might be 1,000,000. So, we're not talking a lot of data, just have to go through quite a process to assemble it.
PROBLEM:
I have one proc that executes all the other procs in the required order. When I run this proc, we run out of memory and the system locks up. If I run each proc manually in SQL*Plus, they all run with no problem.
QUESTION:
How do I run all these procs in one pass w/o using up all my memory?
MY GUESS:
I'm presuming that memory does not get released until the proc completes its task. That would explain why the procs run with not problem manually, but cannot run as part of this parent proc. I'm sure there's probably a different method/tool for this, but I haven't been able to find it.
Thanks in advance!
Larry
BACKGROUND:
I have a number of procs that fetch data and load into local tables. Several more procs pull data from these local tables and puts the results into more local tables for reporting. All told, we're looking at about 25 procs, maybe 50 tables. Row count for all tables combined might be 1,000,000. So, we're not talking a lot of data, just have to go through quite a process to assemble it.
PROBLEM:
I have one proc that executes all the other procs in the required order. When I run this proc, we run out of memory and the system locks up. If I run each proc manually in SQL*Plus, they all run with no problem.
QUESTION:
How do I run all these procs in one pass w/o using up all my memory?
MY GUESS:
I'm presuming that memory does not get released until the proc completes its task. That would explain why the procs run with not problem manually, but cannot run as part of this parent proc. I'm sure there's probably a different method/tool for this, but I haven't been able to find it.
Thanks in advance!
Larry