Post Author: LBI_Adam
CA Forum: Desktop Intelligence Reporting
hi, first post!
Anyway, I was hoping someone could shed some light on a problem we have been having for several months - it was intermittant, affecting reports for a day and then the next day they would work but I am trying to run a free-hand SQL report and am getting an error everytime. Interestingly it only affects certain databases.I have been working with our Oracle DBA and he says that the "older" databases will run it but our current LIVE database (and any copied from it) won't run the report. He's tried to set the server to allocate more memory to the process and we even used a unix connection to give the session unlimited resources and ran it through an sqlplus prompt but are still getting the same error. Therefore I can only assume this is not to do with the database side but is a memory issue on the server BO resides on, or that we need to allow BO to have more resources...sorry but I am not DBA of any kind I have put the error and the SQL below
ERROR during SQL execution: (DA00063)Exception:DBD, ORA-04030: out of process memory when trying to allocate 127000 bytes (hash-join subh, kllcqas:kllsltba) State:N/ASELECT ALL_PERSONS.IDENTIFIER, ALL_PERSONS.FAMILY_NAME, ALL_PERSONS.DATE_OF_DEATH, nvl2(REFERRAL.DATE_CONTACT_REFERRED, 'Y','N'), nvl2(SERVICE.ACTUAL_START_DATE, 'Y','N'), nvl2(REVIEW.DUE_DATE, 'Y','N'), nvl(initcap(P_FILES_TEAM.NAME),'Not Recorded'), nvl(PAPER_FILE.FILE_ID,'Not Recorded'), nvl(CD_FILE_LOC.MEANING,'Not Recorded')FROM PERSONS ALL_PERSONS, ORGANISATIONAL_UNITS P_FILES_TEAM, PAPER_FILES PAPER_FILE, CODED_FILE_LOCATIONS CD_FILE_LOC, SERVICES SERVICE, REVIEWS REVIEW, REFERRALS REFERRALWHERE ( CD_FILE_LOC.IDENTIFIER()=PAPER_FILE.CFLOCA_IDENTIFIER ) AND ( P_FILES_TEAM.IDENTIFIER()=PAPER_FILE.OUNIT_IDENTIFIER ) AND ( ALL_PERSONS.IDENTIFIER=PAPER_FILE.PERSON_IDENTIFIER() ) AND ( REVIEW.PERSON_IDENTIFIER()=ALL_PERSONS.IDENTIFIER ) AND ( ALL_PERSONS.IDENTIFIER=REFERRAL.PERSON_IDENTIFIER() ) AND ( SERVICE.PERSON_IDENTIFIER()=ALL_PERSONS.IDENTIFIER )