Ora-03113 on a simple query with a distinct and an Order by clause with DESC parameter specified [message #452951] |
Mon, 26 April 2010 09:57  |
ljobson
Messages: 5 Registered: April 2010 Location: Fort Worth TX
|
Junior Member |
|
|
We have just upgraded several databases from 10g to 11g (11.2.0.1) x64 on AIX we are running PeopleSoft and we have a basic query that we are trying to run:
SELECT DISTINCT INSTITUTION, AID_YEAR, ACAD_CAREER, REL_ITEM_TYPE
FROM PS_PKG_REL_ITM_TBL
WHERE INSTITUTION='UTDAL'
AND AID_YEAR='2011'
AND ACAD_CAREER LIKE 'UGRD%'
ORDER BY INSTITUTION, AID_YEAR DESC, ACAD_CAREER, REL_ITEM_TYPE
the query generates the following error:
ORA-03113: end-of-file on communication channel Process ID: 8364148 Session ID: 71 Serial number: 4029
There is only one record to return, but the query fails and does not run. Coincidentally if we switch the last two fields in the order by clause the query will run.
We have checked the hidden parameters and the init file and everything seems to be correct. Has anyone seen this or know of a solution? We have a case with Oracle open but we have not gotten a solution.
|
|
|
|
|
|
|
|
|
|
Re: Ora-03113 on a simple query with a distinct and an Order by clause with DESC parameter specified [message #453741 is a reply to message #452952] |
Fri, 30 April 2010 09:21   |
ljobson
Messages: 5 Registered: April 2010 Location: Fort Worth TX
|
Junior Member |
|
|
Oracle has finally acknowledged this as a bug their work around is to set "_disable_function_based_index"=true . This allows the query to work. Unfortuantely this query is in a PeopleSoft Database using PeopleTools 8.49 which switched a majority of their indexes to Function based index for performance reasons. In our case the solution is not possible, and since it is in PeopleSoft application rewitting a delivered query is not an option either so now it is time to sit and wait....
|
|
|
|