Running query as diffrent user
Hi,
My qestion is, is there a substitiute for linux "su" in oracle. I.E when im loged in as DBA i whant to run query as XXX user with lower privileges. The problem is i whant to use connectionpool and Ora Lable Security.
Thanks in advice,
MT
Perhaps what you want is to run a query connected as a user that has privileges on another user. If it is what you want to do you can do it putting the name of the schema in front of the object name.
for example connected as sys but I want to query
emp table from scott:
select * from scott.emp;
if that is not what you want , reply and explain your
case again.
Joel P�rez
Similar Messages
-
User kicked out of PS when running Query to excel
Hi,
Just to note, I am actually a developer and doesnt know a thing about configurations or any PS tech admin knowledge regarding installation and setting up Psoft. So please be patient with me since im starting this just now and only starting to gain knowledge in this are.
Just to give an overview, currently we are supporting US psoft and I am located in malaysia tranferring the servers here at our end. we are on UAT right now and having trouble with the psoft application itself and from I see it, it can be caused by how it is installed. Because the US env (server in US) is working perfectly but the M'sia env are having errors (server in M'sia). Just to remind that its the same env only installed in different location, you can call it parallel testing if you like.
Now with the problem, when the user tries to run a query in the Query manager and doing "run to excel", the user gets kicked out of PeopleSoft online and giving just the literal "Error" message. And when I look at the PSQRYSRV dump file (just learned it yesterday), can't really understand what it says. I try googling it but to no success.
Does anybody can help me with this? TIA!
DUMP FILE:
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) ==================================================================================
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) PSQRYSRV crash dump at 2009-06-08 17.06.06.000000
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0)
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) Database=HRUS/ORACLE; ToolsRel=8.44.10; AppsRel=HRMS 8.80.01.000/SP 1; AppServer=//psfapp01:7000; Server=PSQRYSRV; Domain=HR8PRD1; Platform=HP/UX
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0)
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) Exception Code=0000000b; SIGSEGV: Segmentation violation
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0)
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) Call stack:
= begin trace Tue Jun 9 06:06:30 GMT 2009 on 10159
== process 10159
-- process 10159
== dumps
going to run gdb -nx batch command 10310/commands /proc/10159/exe 10159
/opt/psoft/hr8prd/bin/psprocinfo[7]: gdb: not found.
=== gdb 10159
--- gdb 10159
-- dumps
- end trace Tue Jun 9 06:06:30 GMT 2009 on 10159
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0)
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) Customized definitions --
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) RDM(JOB/ENG)
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) RDM(JOB_LBR_GBL_SBR/ENG)
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) RDM(Z_CC_TBL_LANG/ENG)
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) RDM(Z_COST_CNTR_TBL/ENG)
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) RDM(Z_EMPLOYEES/ENG)
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) RDM(Z_EMPLOYEES_SBR/ENG)
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) RDM(Z_JOB/ENG)
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) RDM(Z_LOC_ORG_TBL/ENG)
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) RDM Definitions: Total=47 Customized=8 In-Use=0
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) QDM( /TO_US_EXPRESS/ENG)
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) QDM Definitions: Total=1 Customized=1 In-Use=0
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) MNDM Definitions: Total=1 Customized=0 In-Use=0
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) SRM Definitions: Total=1 Customized=0 In-Use=0
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) CRM Definitions: Total=10 Customized=0 In-Use=0
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) SSM Definitions: Total=7 Customized=0 In-Use=1
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) CLM Definitions: Total=1 Customized=0 In-Use=0
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) UPM(PSHC)
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) UPM Definitions: Total=1 Customized=1 In-Use=0
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) URL(PPM_MONITOR/ENG)
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) URL Definitions: Total=1 Customized=1 In-Use=0
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) PRDM(EMPLOYEE/ENG)
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) PRDM Definitions: Total=1 Customized=1 In-Use=0
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) Request Object
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) HTTPMethod : POST
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) Protocol : HTTP/1.1
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) Scheme : http
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) ServerName : psfapp01.apis.dhl.com
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) ServerPort : 8000
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) ContentURI : http://psfapp01.apis.dhl.com:8000/psc/hr8prd_2/
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) RequestURI : /psc/hr8prd_2/EMPLOYEE/HRMS/q/
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) PathInfo : /hr8prd_2/EMPLOYEE/HRMS/q/
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) QueryString : ICQryName=TO_US_EXPRESS
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) FullURI : http://psfapp01.apis.dhl.com:8000/psc/hr8prd_2/EMPLOYEE/HRMS/q/
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) RelativeURL : True
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) LogoutURL : http://psfapp01.apis.dhl.com:8000/psp/hr8prd_2/EMPLOYEE/HRMS/?cmd=logout
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) ResetTimeoutURL : http://psfapp01.apis.dhl.com:8000/psp/hr8prd_2/EMPLOYEE/HRMS/?cmd=resettimeout
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) BrowserType : IE
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) BrowserVersion : 6.0
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) BrowserPlatform : WINNT
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) ExpireMeta : <script language='JavaScript'>
var totalTimeoutMilliseconds = 3600000;
var warningTimeoutMilliseconds = 3300000;
var timeOutURL = 'http://psfapp01.apis.dhl.com:8000/psp/hr8prd_2/EMPLOYEE/HRMS/?cmd=expire';
var timeoutWarningPageURL = 'http://psfapp01.apis.dhl.com:8000/psc/hr8prd_2/EMPLOYEE/HRMS/s/WEBLIB_TIMEOUT.PT_TIMEOUTWARNING.FieldFormula.IScript_TIMEOUTWARNING';
</script>
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) ByPassSignOn : False
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) Timeout : 3600
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) WarningTimeout : 3300
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) AuthTokenDomain : .dhl.com
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) RemoteHost : 7.248.9.197
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) RemoteAddr : 7.248.9.197
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) CharSet : UTF-8
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) GetHelpURL(...) : http://psfapp01.apis.dhl.com:8050/PSOL/htmldoc/f1search.htm?ContextID=%CONTEXT_ID%&LangCD=%LANG_CD%
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) GetContentBody() :
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) GetHeader(...) :
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) User-Agent : Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) Referer : http://psfapp01.apis.dhl.com:8000/psc/hr8prd_2/EMPLOYEE/HRMS/q/?ICAction=ICQryNameExcelURL=PUBLIC.TO_US_EXPRESS
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) Host : psfapp01.apis.dhl.com:8000
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) Cookie : psfapp01-apis-dhl-com-8000-PORTAL-PSJSESSIONID=KtZGKjVkQvcJ7dtMnfZ2GXF21GTMy2W2!1326557168; http%3a%2f%2fpsfapp01.apis.dhl.com%3a8000%2fpsp%2fhr8prd%2femployee%2fhrms%2frefresh=list:|||; PS_LOGINLIST=http://psfapp01.apis.dhl.com:8000/hr8prd; SignOnDefault=PSHC; PS_TOKENEXPIRE=8_Jun_2009_23:06:10_GMT; ExpirePage=http://psfapp01.apis.dhl.com:8000/psp/hr8prd/; PS_TOKEN=AAAApAECAwQAAQAAAAACvAAAAAAAAAAsAARTaGRyAgBObwgAOAAuADEAMBSPf+/Tr6qoaRnDIxX4SMQ3HizizwAAAGQABVNkYXRhWHicJYpdCkBAGEXPIFmAbZCR32fEk6Ykj7MEG7Q41/hunU73fsBtojjBoIuejxmOg40pZWFnzZnVXFLPqcVrcw01lTJSiF3gIFqllLeipQ/+5/t/AY0yC8k=; HPTabName=DEFAULT
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) Content-Type : application/x-www-form-urlencoded
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) Content-Length : 219
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) Connection : Keep-Alive
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) Cache-Control : no-cache
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) Accept-Language : en-us
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) Accept-Encoding : gzip, deflate
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) Accept : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) GetCookie(...) :
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) SignOnDefault : PSHC
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) PS_TOKENEXPIRE : 8_Jun_2009_23:06:10_GMT
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) PS_TOKEN : AAAApAECAwQAAQAAAAACvAAAAAAAAAAsAARTaGRyAgBObwgAOAAuADEAMBSPf+/Tr6qoaRnDIxX4SMQ3HizizwAAAGQABVNkYXRhWHicJYpdCkBAGEXPIFmAbZCR32fEk6Ykj7MEG7Q41/hunU73fsBtojjBoIuejxmOg40pZWFnzZnVXFLPqcVrcw01lTJSiF3gIFqllLeipQ/+5/t/AY0yC8k=
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) PS_LOGINLIST : http://psfapp01.apis.dhl.com:8000/hr8prd
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) psfapp01-apis-dhl-com-8000-PORTAL-PSJSESSIONID: KtZGKjVkQvcJ7dtMnfZ2GXF21GTMy2W2!1326557168
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) http%3a%2f%2fpsfapp01.apis.dhl.com%3a8000%2fpsp%2fhr8prd%2femployee%2fhrms%2frefresh: list:|||
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) HPTabName : DEFAULT
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) ExpirePage : http://psfapp01.apis.dhl.com:8000/psp/hr8prd/
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) GetParameter(...) :
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) PSHome : hr8prd_2
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) Portal : EMPLOYEE
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) Node : HRMS
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) InputKeys_bind2 : 06/08/2009
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) InputKeys_bind1 : 06/07/2009
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) ICYPos : 0
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) ICXPos : 0
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) ICType : Query
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) ICStateNum : 1
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) ICResubmit : 0
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) ICQryName : TO_US_EXPRESS
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) ICFocus : InputKeys_bind2$prompt
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) ICElementNum : 2
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) ICChanged : -1
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) ICAction : #ICQryDownloadExcelFrmPrompt
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) ContentType : q
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) ContentID :
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0)
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) PeopleCode Globals
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) &global_DN : Str=
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) &bConfigRead : Bool=False
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) &bDynamicRole : Bool=False
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) &host : Str=
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) &cnctDN : Str=
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) &cnctPWD : Str=
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) &dirProd : Str=
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) &scope : Str=
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) &base : Str=
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) &authAttr : Str=
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) &defaultUserId : Str=
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) &authMethod : Str=
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) &sslYN : Str=
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) &anonYN : Str=
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) &authNMap : Str=
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) &g_strDefaultTab : Str=DEFAULT
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) &g_sTraceName : Str=
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) &g_sFilter : Str=
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) &g_sCommand : Str=
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) &menuNum : Str=46
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) &gQueryRec : Record=NULL
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0)
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) Current Service=ICQuery; Return code=0; Ok=True
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) Component=; Market=; Page=xyzzy; Process flags=700431c0; Mode=0081
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0)
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) Build Keylist
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) Current Keylist
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0)
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) Begin Component
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) Page xyzzy IdxCount=2
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) Field InputKeys.bind1 type=editbox occ=(1,1,1) use=0000 rect=(0,0,0,0)
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) IdxList: scrl=(-1,-1,-1) rec=0 field=0
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) Field InputKeys.bind2 type=editbox occ=(1,1,1) use=0000 rect=(0,0,0,0)
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) IdxList: scrl=(-1,-1,-1) rec=0 field=1
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) End Component
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) Begin Scrolls
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) Begin level 0[row 0] occcnt=1 activecnt=1 hiddencnt=0 scrlcnt=0 flags=0000 nrec=1
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) RecordsEventSet 00000000 SubscrollsEventSet 00000000
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) Rec InputKeys (recdefn 00f5a8e0) keyrec=-1 keyfield=-1
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) EventSet 00000000
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) Row 0 at 00ecef58.
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) CRecBuf InputKeys(00f423f8) fields=2 changed new lvl0 needsinit
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) bind1(001fc498)='2009-06-07'; changed (was '') updated key used
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) bind2(001fc4e4)='2009-06-08'; changed (was '') updated key used
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) End level 0[row 0]
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) End Scrolls
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) User ID=PSHC; Browser=IE/6.0; OpSys=WINNT;
PSQRYSRV.10159 [06/09/09 06:06:30 [email protected] (IE 6.0; WINNT) ICQuery](0) ==================================================================================
}Hi,
We have the same issue as yours.
Did you solve it already?
If yes, would you mind to share your soloution to us?
Thanks,
Richard -
Long running query--- included steps given by Randolf
Hi,
I have done my best to follow Randolf instruction word-by-word and hope to get solution for my
problem soon. Sometime back I have posted a thread on this problem then got busy with other
stuff and was not able to follow it. Here I am again with same issue.
here is link for my previous post
long running query in database 10gHere is backgroud of my requriemment.
I am working on Oracle forms 10g which is using package given below. We want to display client information
with order count basd on different status like Pending, Error, back Order, expedited, std shipping.
Output will look something like.
client name pending error backorder expedited std shipping
ABC 24 0 674 6789 78900
XYZ 35 673 5700 0 798274
.There are total 40 clients . The long running query are expedited and std shipping.
When i run package from Oracle Form Developer it takes 3 mintues to run but when I run same query in our application using forms
(which uses Oracle Application Server) it takes around 1 hour, which is completly unacceptable.
User wants it be done in less than 1 mintue.
I have tried combining Pending,error and backorder queries together but as far as I know it will not
work in Oracle Form as we need a place holder for each status.
Please dont think it is Forms related question, it is a Performance problem.
PACKAGE BODY ORDER_COUNT_PKG IS
PROCEDURE post_query IS
BEGIN
BEGIN
SELECT count(*)
INTO :ORDER_STATUS.PENDING
FROM orders o
WHERE o.status = 'P'
AND (parent_order_id is null
OR (order_type='G'
AND parent_order_id=original_order_number))
AND o.client = :ORDER_STATUS.CLIENT_NUMBER;
EXCEPTION
WHEN OTHERS THEN
NULL;
END;
BEGIN
SELECT count(*)
INTO :ORDER_STATUS.ERROR
FROM orders o
WHERE o.status = 'E'
AND (parent_order_id is null
OR (order_type='G'
AND parent_order_id=original_order_number))
AND o.client = :ORDER_STATUS.CLIENT_NUMBER;
EXCEPTION
WHEN OTHERS THEN
NULL;
END;
BEGIN
SELECT count(*)
INTO :ORDER_STATUS.BACK_ORDER
FROM orders o
WHERE o.status = 'B'
AND (parent_order_id is null
OR (order_type='G'
AND parent_order_id=original_order_number))
AND o.client = :ORDER_STATUS.CLIENT_NUMBER;
EXCEPTION
WHEN OTHERS THEN
NULL;
END;
BEGIN
SELECT count(*)
INTO :ORDER_STATUS.EXPEDITE
FROM orders o,shipment_type_methods stm
WHERE o.status in ('A','U')
AND (o.parent_order_id is null
OR (o.order_type = 'G'
AND o.parent_order_id = o.original_order_number))
AND o.client = stm.client
AND o.shipment_class_code = stm.shipment_class_code
AND (nvl(o.priority,'1') = '2'
OR stm.surcharge_amount <> 0)
AND o.client = :ORDER_STATUS.CLIENT_NUMBER
GROUP BY o.client;
EXCEPTION
WHEN OTHERS THEN
NULL;
END;
BEGIN
SELECT count(*)
INTO :ORDER_STATUS.STD_SHIP
FROM orders o,shipment_type_methods stm
WHERE o.status in ('A','U')
AND (o.parent_order_id is null
OR (o.order_type = 'G'
AND o.parent_order_id = o.original_order_number))
AND nvl(o.priority,'1') <> '2'
AND o.client = stm.client
AND o.shipment_class_code = stm.shipment_class_code
AND stm.surcharge_amount = 0
AND o.client = :ORDER_STATUS.CLIENT_NUMBER
GROUP BY o.client;
EXCEPTION
WHEN OTHERS THEN
NULL;
END;
END post_query;
END ORDER_COUNT_PKG;one of the query which is taking long time is
SELECT count(*)
FROM orders o,shipment_type_methods stm
WHERE o.status in ('A','U')
AND (o.parent_order_id is null
OR (o.order_type = 'G'
AND o.parent_order_id = o.original_order_number))
AND nvl(o.priority,'1') <> '2'
AND o.client = stm.client
AND o.shipment_class_code = stm.shipment_class_code
AND stm.surcharge_amount = 0
AND o.client = :CLIENT_NUMBER
GROUP BY o.clientThe version of the database is 10.2.1.0.2
SQL> alter session force parallel dml;These are the parameters relevant to the optimizer:
SQL> show parameter user_dump_dest
NAME TYPE VALUE
user_dump_dest string /u01/app/oracle/admin/mcgemqa/
udump
SQL> show parameter optimizer
NAME TYPE VALUE
optimizer_dynamic_sampling integer 2
optimizer_features_enable string 10.2.0.4
optimizer_index_caching integer 0
optimizer_index_cost_adj integer 100
optimizer_mode string ALL_ROWS
optimizer_secure_view_merging boolean TRUE
SQL> show parameter db_file_multi
NAME TYPE VALUE
db_file_multiblock_read_count integer 16
SQL> show parameter db_block_size
NAME TYPE VALUE
db_block_size integer 8192
SQL> show parameter cursor_sharing
NAME TYPE VALUE
cursor_sharing string EXACTHere is the output of EXPLAIN PLAN:
SQL> explain plan for
2 SELECT count(*)
3 FROM orders o,shipment_type_methods stm
4 WHERE o.status in ('A','U')
5 AND (o.parent_order_id is null
6 OR (o.order_type = 'G'
7 AND o.parent_order_id = o.original_order_number))
8 AND nvl(o.priority,'1') <> '2'
9 AND o.client = stm.client
10 AND o.shipment_class_code = stm.shipment_class_code
11 AND stm.surcharge_amount = 0
12 AND o.client = :CLIENT_NUMBER
13 GROUP BY o.client
14 /
Explained.
Elapsed: 00:00:00.12
SQL> select * from table(dbms_xplan.display);
PLAN_TABLE_OUTPUT
Plan hash value: 559278019
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1 | 35 | 46764 (3)| 00:09:22 |
| 1 | SORT GROUP BY NOSORT | | 1 | 35 | 46764 (3)| 00:09:22 |
|* 2 | TABLE ACCESS BY INDEX ROWID | ORDERS | 175K| 3431K| 25979 (3)| 00:05:12 |
| 3 | NESTED LOOPS | | 25300 | 864K| 46764 (3)| 00:09:22 |
|* 4 | TABLE ACCESS BY INDEX ROWID| SHIPMENT_TYPE_METHODS | 1 | 15 | 2 (0)| 00:00
|* 5 | INDEX RANGE SCAN | U_SHIPMENT_TYPE_METHODS | 2 | | 1 (0)| 00:00:01 |
|* 6 | INDEX RANGE SCAN | ORDERS_ORDER_DATE | 176K| | 2371 (8)| 00:00:29 |
Predicate Information (identified by operation id):
2 - filter(("O"."PARENT_ORDER_ID" IS NULL OR "O"."ORDER_TYPE"='G' AND
"O"."PARENT_ORDER_ID"=TO_NUMBER("O"."ORIGINAL_ORDER_NUMBER")) AND NVL("O"."PRIORITY",'1')<>'2
AND "O"."SHIPMENT_CLASS_CODE"="STM"."SHIPMENT_CLASS_CODE")
4 - filter("STM"."SURCHARGE_AMOUNT"=0)
5 - access("STM"."CLIENT"=:CLIENT_NUMBER)
6 - access("O"."CLIENT"=:CLIENT_NUMBER)
filter("O"."STATUS"='A' OR "O"."STATUS"='U')
24 rows selected.
Elapsed: 00:00:00.86
SQL> rollback;
Rollback complete.
Elapsed: 00:00:00.07Here is the output of SQL*Plus AUTOTRACE including the TIMING information:
SQL> SELECT count(*)
2 FROM orders o,shipment_type_methods stm
3 WHERE o.status in ('A','U')
4 AND (o.parent_order_id is null
5 OR (o.order_type = 'G'
6 AND o.parent_order_id = o.original_order_number))
7 AND nvl(o.priority,'1') <> '2'
8 AND o.client = stm.client
9 AND o.shipment_class_code = stm.shipment_class_code
10 AND stm.surcharge_amount = 0
11 AND o.client = :CLIENT_NUMBER
12 GROUP BY o.client
13 /
Elapsed: 00:00:03.09
Execution Plan
Plan hash value: 559278019
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1 | 35 | 46764 (3)| 00:09:22 |
| 1 | SORT GROUP BY NOSORT | | 1 | 35 | 46764 (3)| 00:09:22 |
|* 2 | TABLE ACCESS BY INDEX ROWID | ORDERS | 175K| 3431K| 25979 (3)| 00:05:12 |
| 3 | NESTED LOOPS | | 25300 | 864K| 46764 (3)| 00:09:22 |
|* 4 | TABLE ACCESS BY INDEX ROWID| SHIPMENT_TYPE_METHODS | 1 | 15 | 2 (0)| 00:00
|* 5 | INDEX RANGE SCAN | U_SHIPMENT_TYPE_METHODS | 2 | | 1 (0)| 00:00:01 |
|* 6 | INDEX RANGE SCAN | ORDERS_ORDER_DATE | 176K| | 2371 (8)| 00:00:29 |
Predicate Information (identified by operation id):
2 - filter(("O"."PARENT_ORDER_ID" IS NULL OR "O"."ORDER_TYPE"='G' AND
"O"."PARENT_ORDER_ID"=TO_NUMBER("O"."ORIGINAL_ORDER_NUMBER")) AND NVL("O"."PRIORITY",'1')<>'2
AND "O"."SHIPMENT_CLASS_CODE"="STM"."SHIPMENT_CLASS_CODE")
4 - filter("STM"."SURCHARGE_AMOUNT"=0)
5 - access("STM"."CLIENT"=:CLIENT_NUMBER)
6 - access("O"."CLIENT"=:CLIENT_NUMBER)
filter("O"."STATUS"='A' OR "O"."STATUS"='U')
Statistics
55 recursive calls
0 db block gets
7045 consistent gets
0 physical reads
0 redo size
206 bytes sent via SQL*Net to client
238 bytes received via SQL*Net from client
2 SQL*Net roundtrips to/from client
0 sorts (memory)
0 sorts (disk)
1 rows processed
SQL> disconnect
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> The TKPROF output for this statement looks like the following:
SELECT count(*)
FROM orders o,shipment_type_methods stm
WHERE o.status in ('A','U')
AND (o.parent_order_id is null
OR (o.order_type = 'G'
AND o.parent_order_id = o.original_order_number))
AND nvl(o.priority,'1') <> '2'
AND o.client = stm.client
AND o.shipment_class_code = stm.shipment_class_code
AND stm.surcharge_amount = 0
AND o.client = :CLIENT_NUMBER
GROUP BY o.client
call count cpu elapsed disk query current rows
Parse 1 0.01 0.00 0 0 0 0
Execute 1 0.04 0.04 0 0 0 0
Fetch 2 2.96 2.91 0 7039 0 1
total 4 3.01 2.95 0 7039 0 1
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 95
Rows Row Source Operation
1 SORT GROUP BY NOSORT (cr=7039 pr=0 pw=0 time=2913701 us)
91 TABLE ACCESS BY INDEX ROWID ORDERS (cr=7039 pr=0 pw=0 time=261997906 us)
93 NESTED LOOPS (cr=6976 pr=0 pw=0 time=20740 us)
1 TABLE ACCESS BY INDEX ROWID SHIPMENT_TYPE_METHODS (cr=2 pr=0 pw=0 time=208 us)
3 INDEX RANGE SCAN U_SHIPMENT_TYPE_METHODS (cr=1 pr=0 pw=0 time=88 us)(object id 81957)
91 INDEX RANGE SCAN ORDERS_ORDER_DATE (cr=6974 pr=0 pw=0 time=70 us)(object id 81547)
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
SQL*Net message to client 2 0.00 0.00
SQL*Net message from client 2 0.02 0.02
********************************************************************************The DBMS_XPLAN.DISPLAY_CURSOR output:
SQL> variable CLIENT_NUMBER varchar2(20)
SQL> exec :CLIENT_NUMBER := '14'
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.06
SQL> SELECT /*+ gather_plan_statistics */ count(*)
2 FROM orders o,shipment_type_methods stm
3 WHERE o.status in ('A','U')
4 AND (o.parent_order_id is null
5 OR (o.order_type = 'G'
6 AND o.parent_order_id = o.original_order_number))
7 AND nvl(o.priority,'1') <> '2'
8 AND o.client = stm.client
9 AND o.shipment_class_code = stm.shipment_class_code
10 AND stm.surcharge_amount = 0
11 AND o.client = :CLIENT_NUMBER
12 GROUP BY o.client
13 /
COUNT(*)
91
Elapsed: 00:00:02.85
SQL> set termout on
SQL> select * from table(dbms_xplan.display_cursor(null, null, 'ALLSTATS LAST'));
PLAN_TABLE_OUTPUT
SQL_ID 4nfj368y8w6a3, child number 0
SELECT /*+ gather_plan_statistics */ count(*) FROM orders o,shipment_type_methods stm WHERE
o.status in ('A','U') AND (o.parent_order_id is null OR (o.order_type = 'G'
AND o.parent_order_id = o.original_order_number)) AND nvl(o.priority,'1') <> '2' AND
o.client = stm.client AND o.shipment_class_code = stm.shipment_class_code AND
stm.surcharge_amount = 0 AND o.client = :CLIENT_NUMBER GROUP BY o.client
Plan hash value: 559278019
| Id | Operation | Name | Starts | E-Rows | A-Rows | A-Time | Buffers |
| 1 | SORT GROUP BY NOSORT | | 1 | 1 | 1 |00:00:02.63 | 7039 |
|* 2 | TABLE ACCESS BY INDEX ROWID | ORDERS | 1 | 175K| 91 |00:03:56.87 | 7039 |
| 3 | NESTED LOOPS | | 1 | 25300 | 93 |00:00:00.02 | 6976 |
|* 4 | TABLE ACCESS BY INDEX ROWID| SHIPMENT_TYPE_METHODS | 1 | 1 | 1 |00:00:00.01 | 2 |
|* 5 | INDEX RANGE SCAN | U_SHIPMENT_TYPE_METHODS | 1 | 2 | 3 |00:00:00.01 | 1 |
|* 6 | INDEX RANGE SCAN | ORDERS_ORDER_DATE | 1 | 176K| 91 |00:00:00.01 | 6974 |
Predicate Information (identified by operation id):
2 - filter((("O"."PARENT_ORDER_ID" IS NULL OR ("O"."ORDER_TYPE"='G' AND
"O"."PARENT_ORDER_ID"=TO_NUMBER("O"."ORIGINAL_ORDER_NUMBER"))) AND NVL("O"."PRIORITY",'1')<>'
"O"."SHIPMENT_CLASS_CODE"="STM"."SHIPMENT_CLASS_CODE"))
4 - filter("STM"."SURCHARGE_AMOUNT"=0)
5 - access("STM"."CLIENT"=:CLIENT_NUMBER)
6 - access("O"."CLIENT"=:CLIENT_NUMBER)
filter(("O"."STATUS"='A' OR "O"."STATUS"='U'))
32 rows selected.
Elapsed: 00:00:01.30
SQL> I'm looking forward for suggestions how to improve the performance of this statement.
Thanks
SandyPlease find explain plan for No hint
SQL> select * from table(dbms_xplan.display);
PLAN_TABLE_OUTPUT
Plan hash value: 559278019
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1 | 35 | 46764 (3)| 00:09:22 |
| 1 | SORT GROUP BY NOSORT | | 1 | 35 | 46764 (3)| 00:09:22 |
|* 2 | TABLE ACCESS BY INDEX ROWID | ORDERS | 175K| 3431K| 25979 (3)| 00:05:12 |
| 3 | NESTED LOOPS | | 25300 | 864K| 46764 (3)| 00:09:22 |
|* 4 | TABLE ACCESS BY INDEX ROWID| SHIPMENT_TYPE_METHODS | 1 | 15 | 2 (0)| 00:00
|* 5 | INDEX RANGE SCAN | U_SHIPMENT_TYPE_METHODS | 2 | | 1 (0)| 00:00:01 |
|* 6 | INDEX RANGE SCAN | ORDERS_ORDER_DATE | 176K| | 2371 (8)| 00:00:29 |
Predicate Information (identified by operation id):
2 - filter(("O"."PARENT_ORDER_ID" IS NULL OR "O"."ORDER_TYPE"='G' AND
"O"."PARENT_ORDER_ID"=TO_NUMBER("O"."ORIGINAL_ORDER_NUMBER")) AND NVL("O"."PRIORITY",'1')<>'2
AND "O"."SHIPMENT_CLASS_CODE"="STM"."SHIPMENT_CLASS_CODE")
4 - filter("STM"."SURCHARGE_AMOUNT"=0)
5 - access("STM"."CLIENT"=:CLIENT_NUMBER)
6 - access("O"."CLIENT"=:CLIENT_NUMBER)
filter("O"."STATUS"='A' OR "O"."STATUS"='U')
24 rows selected.
Elapsed: 00:00:00.86Explain Plan for Parallel Hint
SQL> select * from table(dbms_xplan.display);
PLAN_TABLE_OUTPUT
Plan hash value: 559278019
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1 | 35 | 46764 (3)| 00:09:22 |
| 1 | SORT GROUP BY NOSORT | | 1 | 35 | 46764 (3)| 00:09:22 |
|* 2 | TABLE ACCESS BY INDEX ROWID | ORDERS | 175K| 3431K| 25979 (3)| 00:05:12 |
| 3 | NESTED LOOPS | | 25300 | 864K| 46764 (3)| 00:09:22 |
|* 4 | TABLE ACCESS BY INDEX ROWID| SHIPMENT_TYPE_METHODS | 1 | 15 | 2 (0)| 00:00
|* 5 | INDEX RANGE SCAN | U_SHIPMENT_TYPE_METHODS | 2 | | 1 (0)| 00:00:01 |
|* 6 | INDEX RANGE SCAN | ORDERS_ORDER_DATE | 176K| | 2371 (8)| 00:00:29 |
Predicate Information (identified by operation id):
2 - filter(("O"."PARENT_ORDER_ID" IS NULL OR "O"."ORDER_TYPE"='G' AND
"O"."PARENT_ORDER_ID"=TO_NUMBER("O"."ORIGINAL_ORDER_NUMBER")) AND NVL("O"."PRIORITY",'1')<>'2
AND "O"."SHIPMENT_CLASS_CODE"="STM"."SHIPMENT_CLASS_CODE")
4 - filter("STM"."SURCHARGE_AMOUNT"=0)
5 - access("STM"."CLIENT"='14')
6 - access("O"."CLIENT"='14')
filter("O"."STATUS"='A' OR "O"."STATUS"='U')
24 rows selected.
Elapsed: 00:00:08.92Explain Plan for USE_Hash hint
SQL> select * from table(dbms_xplan.display);
PLAN_TABLE_OUTPUT
Plan hash value: 1465232248
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1 | 35 | 46786 (3)| 00:09:22 |
| 1 | SORT GROUP BY NOSORT | | 1 | 35 | 46786 (3)| 00:09:22 |
|* 2 | HASH JOIN | | 25300 | 864K| 46786 (3)| 00:09:22 |
|* 3 | TABLE ACCESS BY INDEX ROWID| SHIPMENT_TYPE_METHODS | 1 | 15 | 2 (0)| 00:00:0
|* 4 | INDEX RANGE SCAN | U_SHIPMENT_TYPE_METHODS | 2 | | 1 (0)| 00:00:01 |
|* 5 | TABLE ACCESS BY INDEX ROWID| ORDERS | 175K| 3431K| 46763 (3)| 00:09:22 |
|* 6 | INDEX RANGE SCAN | ORDERS_ORDER_DATE | 176K| | 4268 (8)| 00:00:52 |
Predicate Information (identified by operation id):
2 - access("O"."CLIENT"="STM"."CLIENT" AND "O"."SHIPMENT_CLASS_CODE"="STM"."SHIPMENT_CLASS_COD
E")
3 - filter("STM"."SURCHARGE_AMOUNT"=0)
4 - access("STM"."CLIENT"='14')
5 - filter(("O"."PARENT_ORDER_ID" IS NULL OR "O"."ORDER_TYPE"='G' AND
"O"."PARENT_ORDER_ID"=TO_NUMBER("O"."ORIGINAL_ORDER_NUMBER")) AND NVL("O"."PRIORITY",'1')<>'2
6 - access("O"."CLIENT"='14')
filter("O"."STATUS"='A' OR "O"."STATUS"='U')
25 rows selected.
Elapsed: 00:00:01.09
SQL> Thanks
Sandy -
Results table difference when running query from Alert compared to Query Manager
Hello,
I have following query - Aim is to create alert to tell employee which customers to make visit to in next 4 weeks
SELECT DISTINCT T1.CardName, T1.U_VisitDue, T1.U_VisitReason, T1.U_Priority, T1.U_Region as 'Area', T1.U_VNotes
FROM dbo.OCRD T1
WHERE DateDiff(d,T1.U_VisitDue, GETDATE()) <29
Group BY T1.CardName, T1.U_VNotes, T1.U_VisitDue, T1.U_VisitReason, T1.U_Priority, T1.U_Region
FOR BROWSE
My problem is that when I run query through alert the field U_VNotes is displayed differently.
Running the query from Query Manager the contents of this field appear in one field of the result table.
Running the query via Alery the content of this field is split into several fields in results table according to 'new line' in field entry.
This makes the results table from the Query less 'user-friendly' because if you want to sort the table by 'Date' column for example it makes a mess of the table because of the extra rows.
I want results table to look like top version in picture below ... but i want to run from alert.
Is this possible?
How can I achieve it?
Thanks for any assistance
Regards, KarenHi
check this support note:1774628 The SQL SELECT DISTINCT Statement does not work in ALERTS
Kind regards
Agustín Marcos Cividanes -
Simulate query with different user
Hello all,
sometimes I receive calls from our user in BW that some query is not running/no authorization, but when i run the query it works, because I have rights to see everything.
Is there any way to simulate how a query is running under a different user (which has restricted authorization). I want to check e.g authorization but I do not want to copy existing user to a test user.
I saw in the TA RSTRACE that I can enetr a different user, but how can I run a query with this user profile.
Any help/ideas would be great. Thank you in advance.
Best Regards,
Stefan from Munich/GermanyHello Edwin,
works perfect. Thank you.
BR,
Stefan -
How to use the same POWL query for multiple users
Hello,
I have defined a POWL query which executes properly. But if I map the same POWL query to 2 portal users and the 2 portal users try to access the same page simultaneously then it gives an error message to one of the users that
"Query 'ABC' is already open in another session."
where 'ABC' is the query name.
Can you please tell me how to use the same POWL query for multiple users ?
A fast reply would be highly appreciated.
Thanks and Regards,
SandhyaBatch processing usually involves using actions you have recorded. In Action you can insert Path that can be used during processing documents. Path have some size so you may want to only process document that have the same size. Look in the Actions Palette fly-out menu for insert path. It inserts|records the current document work path into the action being worked on and when the action is played it inserts the path into the document as the current work path..
-
Not able to run the job with user id - is
Hello experts,
We have problem.
Every day we run the job.
( the job contians two programs called ZTIBCOPRG and J_5HJSTP )).
I would like to know why the above job is running with the user ID TIBCOADM. Because this user has German settings for the size conversion in program ZTIBCOPRG and we are having some issues.
We changed the user to TIBCOUSA and the job would not run.
We have changed the user back to TIBCOADM. It is running.
KINDLY HELP ME WITH YOUR VALUABLE inputs. YOUR HELP WILL BE HIGHLY APPRECIATED.
I have checked for both users in AGR_USERS table.
The AGR_USERS is the old user and have many roles compared to userid TIBCOUSA.
WHERE WE NEED TO SEE . IS it authorisation problem or the other user with whom unable to run the job ?
or is this the error in the program ZTIBCOPRG which is not able to do size conversion and causing some issues.
Thanks and Regards,Hi,
after running the job with user id TIBCOUSA, it should be in cancelled state as per your comments.
you just select the cancelled job and type JDBG in command box and enter it takes you to Debug mode.
There you may get some information where it is failing.
Sudheer. A -
The download appears to work ,it extracts the files then a box comes up saying I can't run it as this user( with the name of my login),. gives me the option to check my login name or check administer with a password. I have tried both, I am the only administer on the computer. Using windows vista. I have searched and some of the things like turorials etc are on my computer but I can't get the actual browser to open and there is no shortcut for firefox. Currently I am using IE since chrome kept freezing up, so does IE.
Can you give me a screenshot of the User Accounts window in Control Panel?
Please create a screenshot by following the guide mentioned at [[How do I create a screenshot of my problem?]].
Once you've done this, attach the saved screenshot file to your forum post by clicking the '''Browse...''' button below the ''Post your reply'' box. You really help us to visualize the problem. -
How to change the explain plan for currently running query?
Hi All,
I am using Oracle enterprise 9i edition. I have a query which frames dynamically and running in the database. I noticed a table with 31147758 rows
in the query which has no indexes and taking more time to process. I tried to create an INdex on that table. I know the query is already running with a FULL table scan. Is it possible to change the explain plan for the current running query to consider the INDEX?
[code]
SELECT /*+ USE_HASH (c,e,b,a) */
d.att_fcc extrt_prod_dim_id,
d.att_fcc compr_prod_dim_id,
a.glbl_uniq_id glbl_uniq_id,
to_date(c.dit_code,'RRRRMMDD')STRT_DT,
(to_date(c.dit_code,'RRRRMMDD')+150)END_DT,
a.pat_nbr pat_id,
a.rxer_id rxer_id,
e.rxer_geog_id rxer_geog_id,
a.pharmy_id pharmy_id,
a.pscr_pack_id pscr_pack_id,
a.dspnsd_pack_id dspnsd_pack_id,
DENSE_RANK () OVER (PARTITION BY a.pat_nbr ORDER BY c.dit_code) daterank,
COUNT( DISTINCT d.att_fcc ) OVER (PARTITION BY a.pat_nbr, c.dit_code) event_cnt
DENSE_RANK () OVER (PARTITION BY a.pat_nbr,
d.att_fcc
ORDER BY c.dit_code) prodrank,
DENSE_RANK () OVER (PARTITION BY a.pat_nbr,
d.att_fcc
ORDER BY c.dit_code DESC) stoprank
FROM
pd_dimitems c,
pd_pack_attribs d ,
lrx_tmp_rxer_geog e,
lrx_tmp_pat_daterank p,
lrx_tmp_valid_fact_link a
WHERE c.dit_id = a.tm_id
AND e.rxer_id = a.rxer_id
AND a.glbl_uniq_id = p.glbl_uniq_id
AND p.daterank > 1
AND a.pscr_pack_id = d.att_dit_id
[/code]
The table lrx_tmp_pat_daterank is having that 31147758 rows. So I am wondering how to make the query to use the newly created index on the table?Why do you think using Indexes will improve the performance of the query? How many rows this query is returning? Optimizer might chose a Full table scan when it finds out that Index plan might not be useful. Why are you using /*+ USE_HASH (c,e,b,a) */ hint? This Hint will force oracle to use Full table scan instead of using the index. Try removing it and see if the plan changes.
Regards, -
Error while running query "time limit exceeding"
while running a query getting error "time limit exceeding".plz help.
hi devi,
use the following links
queries taking long time to run
Query taking too long
with hopes
Raja Singh -
Erro while running query for a Scheduled work book
The following error found while running query for a schedule workbook:
ORA-12801: Error signaled in parallel query server P000
ORA-01652: uable to extend temp segment by 14720 in tablespace SYSTEM
ORA-27068: skgfdisp: buffer is not aligned properly
OSD-04005: SetFilePointer() failure, unable to read it from file
We are using discoverer 4.1.
Any help is highly appreciated.
nullCandi,
Have your DBA check for trace file and contact Oracle Support: RDBMS group to track these errors down...
Chris
null -
Error while running query? urgent
hi,
while running query am getting an error...
"no internal memory space avilable"
what to do now??Neeraja,
Report this to ur Basis guys.It is b'cas of the memory space unavailable in ur system.They will increase the memory space.
Thanks & Regards,
Suchitra.V -
Getting Strange Error Running Query After Partioning Cube
I am using BI 7.0, Service Pack 11:
I just partitioned a cube. I hav eorginal cube XFI_C001 and create a new cube C2_XFIC01 by copying from XFI_C001. Now I developed a query on C2_XFIC01. Similar query on XFI_C001 does not give any error. How can I debug this problem? Error reported when running query is shown below. I ran ST22, no dump. I did SM50, looked at developer trace, no clue.
The initial exception that caused the request to fail was:
Termination message sent
ABEND RSBOLAP (000): Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION
MSGV1: SAPMSSY1
MSGV3: UNCAUGHT_EXCEPTION
com.sap.ip.bi.base.application.exceptions.AbortMessageRuntimeException: Termination message sent
ABEND RSBOLAP (000): Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION
MSGV1: SAPMSSY1
MSGV3: UNCAUGHT_EXCEPTION
at com.sap.ip.bi.base.application.message.impl.MessageManager.addMessageInternal(MessageManager.java:148)
at com.sap.ip.bi.base.application.message.impl.MessageManager.addMessage(MessageManager.java:113)
Detailed Exception is:
com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while generating HTML
at com.sap.ip.bi.webapplications.ui.items.UiItem.render(UiItem.java:365)
at com.sap.ip.bi.webapplications.runtime.rendering.impl.ContainerNode.render(ContainerNode.java:63)
at com.sap.ip.bi.webapplications.runtime.rendering.impl.PageAssemblerRenderingRoot.processRendering(PageAssemblerRenderingRoot.java:52)
at com.sap.ip.bi.webapplications.runtime.impl.Page.processRenderingRootNode(Page.java:3565)
at com.sap.ip.bi.webapplications.runtime.impl.Page.processRendering(Page.java:3280)
at com.sap.ip.bi.webapplications.runtime.impl.Page.doProcessRequest(Page.java:3236)
at com.sap.ip.bi.webapplications.runtime.impl.Page.processRequest(Page.java:2512)
at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.doProcessRequest(Controller.java:956)
at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.processRequest(Controller.java:842)
at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService.handleRequest(BIRuntimeService.java:430)
at com.sap.ip.bi.webapplications.runtime.jsp.portal.components.LauncherComponent.doContent(LauncherComponent.java:21)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:174)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Caused by: com.sap.ip.bi.base.application.exceptions.AbortMessageRuntimeException: Termination message sent
ABEND RSBOLAP (000): Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION
MSGV1: SAPMSSY1
MSGV3: UNCAUGHT_EXCEPTION
at com.sap.ip.bi.base.application.message.impl.MessageManager.addMessageInternal(MessageManager.java:148)
at com.sap.ip.bi.base.application.message.impl.MessageManager.addMessage(MessageManager.java:113)
at com.sap.ip.bi.base.application.message.impl.MessageManager.addMessageInternal(MessageManager.java:144)
at com.sap.ip.bi.base.application.message.impl.MessageManager.addMessage(MessageManager.java:113)
at com.sap.ip.bi.base.application.message.impl.MessageManager.addMessageInternal(MessageManager.java:144)
at com.sap.ip.bi.base.application.message.impl.MessageManager.addMessage(MessageManager.java:113)
at com.sap.ip.bi.base.application.service.RfcService.fillMessages(RfcService.java:268)
at com.sap.ip.bi.base.application.service.RfcService.doPostProcessing(RfcService.java:218)
at com.sap.ip.bi.base.application.service.rfcproxy.impl.RfcFunction.execute(RfcFunction.java:57)
at com.sap.ip.bi.base.application.service.RfcService.doPostProcessing(RfcService.java:227)
at com.sap.ip.bi.base.application.service.rfcproxy.impl.RfcFunction.execute(RfcFunction.java:57)
at com.sap.ip.bi.bics.dataaccess.resource.impl.bi.selector.ProviderInfoObject.prepareForSelectionMemberAccess(ProviderInfoObject.java:1215)
at com.sap.ip.bi.bics.dataaccess.resource.impl.bi.selector.selection.ProviderComponentList.setup(ProviderComponentList.java:87)
at com.sap.ip.bi.bics.dataaccess.resource.impl.bi.selector.selection.ProviderComponentList.getComponents(ProviderComponentList.java:120)
at com.sap.ip.bi.bics.dataaccess.consumer.impl.selector.selection.ComponentList.setup(ComponentList.java:96)
at com.sap.ip.bi.bics.dataaccess.consumer.impl.selector.selection.ComponentList.<init>(ComponentList.java:77)
at com.sap.ip.bi.bics.dataaccess.consumer.impl.selector.selection.CartesianProduct.setup(CartesianProduct.java:78)
at com.sap.ip.bi.bics.dataaccess.consumer.impl.selector.selection.CartesianProduct.<init>(CartesianProduct.java:55)
at com.sap.ip.bi.bics.dataaccess.consumer.impl.selector.selection.Selection.<init>(Selection.java:57)
at com.sap.ip.bi.bics.dataaccess.consumer.impl.selector.SelectionObject.createSelection(SelectionObject.java:538)
at com.sap.ip.bi.bics.dataaccess.consumer.impl.selector.SelectionObject.getSelectionSpace(SelectionObject.java:549)
at com.sap.ip.bi.bics.dataaccess.consumer.impl.selector.SelectionObject.getEffectiveSelection(SelectionObject.java:577)
at com.sap.ip.bi.km.impl.KmUtilities.getEffectiveSelection(KmUtilities.java:66)
at com.sap.ip.bi.km.impl.source.property.QueryBuilderMulti.getQueryExpressionWrapper(QueryBuilderMulti.java:129)
at com.sap.ip.bi.km.impl.source.CmFolderSource.getDocumentQueryResult(CmFolderSource.java:132)
at com.sap.ip.bi.km.common.selection.DocumentSelectorResultSet.readQvDocuments(DocumentSelectorResultSet.java:234)
at com.sap.ip.bi.km.common.selection.DocumentSelectorResultSet.getCellsWithDocuments(DocumentSelectorResultSet.java:136)
at com.sap.ip.bi.km.common.selection.DocumentsSelectionService.getCellsWithDocuments(DocumentsSelectionService.java:258)
at com.sap.ip.bi.bics.dataaccess.consumer.impl.queryview.resultset.RsDataCells.hasDocuments(RsDataCells.java:620)
at com.sap.ip.bi.bics.dataaccess.consumer.impl.queryview.resultset.RsDataCell.hasDocuments(RsDataCell.java:543)
at com.sap.ip.bi.webapplications.ui.items.analysis.renderer.interactive.RendererInteractive.createContent_DocumentSymbol(RendererInteractive.java:1660)
at com.sap.ip.bi.webapplications.ui.items.analysis.renderer.interactive.RendererInteractive.createCell_Content(RendererInteractive.java:545)
at com.sap.ip.bi.webapplications.ui.items.analysis.renderer.interactive.RendererInteractive.createCell(RendererInteractive.java:525)
at com.sap.ip.bi.webapplications.ui.items.analysis.renderer.interactive.RendererInteractive.createTableRow(RendererInteractive.java:489)
at com.sap.ip.bi.webapplications.ui.items.analysis.renderer.interactive.RendererInteractive.getContent(RendererInteractive.java:423)
at com.sap.ip.bi.webapplications.ui.items.analysis.control.AcPivotTableInteractive.buildUrTree(AcPivotTableInteractive.java:321)
at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:33)
at com.sap.ip.bi.webapplications.ui.framework.base.composites.UiRootContainer.iterateOverChildren(UiRootContainer.java:40)
at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
at com.sap.ip.bi.webapplications.ui.advancedcontrols.bridge.AcItemBridge.iterateOverChildren(AcItemBridge.java:61)
at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
at com.sap.ip.bi.webapplications.ui.unifiedrendering.controls.FlowLayoutItem.iterateOverChildren(FlowLayoutItem.java:63)
at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
at com.sap.ip.bi.webapplications.ui.unifiedrendering.controls.FlowLayout.iterateOverChildren(FlowLayout.java:69)
at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
at com.sap.ip.bi.webapplications.ui.framework.base.composites.UiRootContainer.iterateOverChildren(UiRootContainer.java:40)
at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
at com.sap.ip.bi.webapplications.ui.advancedcontrols.bridge.AcItemBridge.iterateOverChildren(AcItemBridge.java:61)
at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
at com.sap.ip.bi.webapplications.ui.unifiedrendering.controls.MatrixLayoutCell.iterateOverChildren(MatrixLayoutCell.java:63)
at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
at com.sap.ip.bi.webapplications.ui.unifiedrendering.controls.MatrixLayoutRow.iterateOverChildren(MatrixLayoutRow.java:56)
at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
at com.sap.ip.bi.webapplications.ui.unifiedrendering.controls.MatrixLayout.iterateOverChildren(MatrixLayout.java:69)
at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
at com.sap.ip.bi.webapplications.ui.container.matrixlayout.control.AcMatrixControlGrid.iterateOverChildren(AcMatrixControlGrid.java:40)
at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
at com.sap.ip.bi.webapplications.ui.framework.base.composites.UiRootContainer.iterateOverChildren(UiRootContainer.java:40)
at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
at com.sap.ip.bi.webapplications.ui.advancedcontrols.bridge.AcItemBridge.iterateOverChildren(AcItemBridge.java:61)
at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
at com.sap.ip.bi.webapplications.ui.unifiedrendering.controls.Group.iterateOverChildren(Group.java:63)
at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
at com.sap.ip.bi.webapplications.ui.container.group.control.AcGroupControl.iterateOverChildren(AcGroupControl.java:259)
at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
at com.sap.ip.bi.webapplications.ui.framework.base.composites.UiRootContainer.iterateOverChildren(UiRootContainer.java:40)
at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
at com.sap.ip.bi.webapplications.ui.advancedcontrols.bridge.AcItemBridge.iterateOverChildren(AcItemBridge.java:61)
at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
at com.sap.ip.bi.webapplications.ui.unifiedrendering.controls.FlowLayoutItem.iterateOverChildren(FlowLayoutItem.java:63)
at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
at com.sap.ip.bi.webapplications.ui.unifiedrendering.controls.FlowLayout.iterateOverChildren(FlowLayout.java:69)
at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
at com.sap.ip.bi.webapplications.ui.framework.base.composites.UiRootContainer.iterateOverChildren(UiRootContainer.java:40)
... 42 moreHi,
The error log shows you are executing your query on portal which uses Java stack. There may some issue with the portal configuration. Check with your basis/portal team.
The query will execute in BEx and RSRT as RSRT executes query on ABAP stack.
Regards,Niraj -
ORA-04062 error when running forms with different users
ORA-04062 error when running forms with different users
I have a form that has a block that should display some data from another users tables. (The other user's name is dynamic, it's selected from a list box)
I wrote a stored procedure to get the data from other user's tables.
When I compile the form and run it with the same user I compiled, it works without any error. But when I run the compiled form with another user I get the ORA-04062 (signature of procedure has been changed) error.
I tried setting REMOTE_DEPENDENCIES_MODE to SIGNATURE in init.ora but it didn't help.
My Forms version is 6i with Patch 15.
Database version is 9.
Here is my stored procedure:
TYPE Scenario_Tab IS TABLE OF NUMBER(34) INDEX BY BINARY INTEGER;
TYPE Open_Curs IS REF CURSOR;
PROCEDURE Get_Scenarios(User_Name IN VARCHAR2, Scen_Table OUT Scenario_Tab) IS
Curs Open_Curs;
i NUMBER;
BEGIN
OPEN Curs FOR
'SELECT Seq_No FROM '|| User_Name ||'.scenario';
i := 1;
LOOP
FETCH Curs INTO Scen_Table(i);
EXIT WHEN Curs%NOTFOUND;
i := i + 1;
END LOOP;
END Get_Senarios;
I would be happy to solve this problem. It's really important.
Maybe somebody can tell me another way to do what I want to do. (getting a list of values from another users tables)I think it should be a better solution to create a package,
and put your own TYPES and procedure into it.
CREATE OR REPLACE PACKAGE PKG_XXX IS
TYPE TYP_TAB_CHAR IS TABLE OF .... ;
PROCEDURE P_XX ( Var1 IN VARCHAR2, var2 IN OUT TYP_TAB_CHAR );
END ;
Then in your Form :
Declare
var PKG_XXX.TYP_TAB_CHAR ;
Begin
PKG_XXX.P_XX( 'user_name', var ) ;
End ; -
How to view a BI query with anonymous user in the portal
<b>Hi Gurus,</b>
Does anybody knows how to view a BI query in the portal with anonymous user?
Cause when i try to view a query the portal always ask for authentification. And i don't want to sign with a user cause my portal is for everybody and if the user logged in it shows the roles that previously were assigned.
I have the Netweaver 2004 with SP9
<b>Thank you Very Much</b>do you have sso configured between portal and BW server, if yes the authentication pop up should not come.
if you dont want to do sso between portal and bw server and still want to logon to BW query with anonymous user,
in you bw server go to transaction sicf and navigate to DEFAULT_HOST->SAP->BW->BEX and double click on bex node in the resulting window, log on details section provide a default userid/password
Raja
Maybe you are looking for
-
Entire Scenario how the data is being process.
Hi, I need the full scenario in detail, when the sender adapter pick the file from the source directory, how the data is passed to IS and how the data is passed to adapter engine and how the adapter engine process the data and how the data is send to
-
Hi All, Presently, I am working in OA Framework and I am new to this Framework.Firstly I am going to complete the documentation which they provided in Jdeveloper IDE. I completed HelloWorld example with successfully,but in Search Exercise, I am unabl
-
Hello, I need to covert a FHD video to DCP 2k. I can achieve that with After Effects and Media Encoder and export/render as DCP 2k. The problem is the cinema needs the file marked as "advertisement" to be able to run it, and by default it comes as "f
-
Quick Format on Solaris 2.6
Does anyone know a method of formatting a hard drive without having it analyze the media? I know that in some flavors of Unix you can turn off verification using the -n switch. This does not work with Solaris. Thanks
-
my os is xp sp3. i somehow got adobe 9.1.1 on my pc. it keeps trying to update to 9.1.2 but 9.1.2 will not install. i went to add/remove to remove reader 9.1.1 and i get error saying 'this patch package could not be opened. verfy that the patch packa