Problem in execution of add-on
I have created an application.I have edited the form of item master.I have added a button on this form and on the click event I am adding inspection parameters.
This application runs in debug mode but when I created add-on it gives error as,
The requested lookup key was not found in any active activation context.
Dear friends,
Thanks for spending u r valuable time in helping.
The problem was with SBO_Application object.For this application I am using to class files clsDetails and clsEditItem.I had declared the SBO_Application in both the files.clsEditItem is called first and then clsEditItem.SBO_Application works fine in clsEditItem but when it is declared again in clsEditItem it gave above error.So I created a module as
Module CommonFunctions
Public WithEvents SBO_Application As SAPbouiCOM.Application
Private Sub SBO_Application_ItemEvent(ByVal FormUID As String, ByRef pVal As SAPbouiCOM.ItemEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.ItemEvent
End Sub
End Module
I hadled the events of SBO_Application object in this module
Similar Messages
-
Problem loading Query Designer Add-in
Hi All,
Can anyone please help me on my below issue.
Whenever user is trying to start a new query in Essbase , he is getting below error message. It will not allow user to build a fresh Essbase pull
Problem loading Query Designer Add-in. Workbook Activate,open & close operations may not be fully propogated
Thanks in advance.
Regards
VishalHi Vishal,
1) Try to remove the addin and then add again.(Before doing this close all the excel process from the task Manager)
2) Check weather essexcln.xll and essxleqd.xla are corrupted. -
I have a Toshiba Canvio 1TB external hard drive on my Mac. I've used it for 4-5 months with no problems, but now cannot add to it (I use it mostly for photo storage) to it. I can still access information previously added. Ideas?
I cannot find this 300GB "Backup" in the Finder, only in the Storage info when I check "About This Mac".
You are probably using Time Machine to backup your MacBook Pro, right? Then the additional 300 GB could be local Time Machine snapshots. Time Machine will write the hourly backups to the free space on your hard disk, if the backup drive is temporarily not connected. You do not see these local backups in the Finder, and MacOS will delete them, when you make a regular backup to Time Machine, or when you need the space for other data.
See Pondini's page for more explanation: What are Local Snapshots? http://pondini.org/TM/FAQ.html
I have restarted my computer, but the information remains the same. How do I reclaim the use of the 300GB? Why is it showing up as "Backups" when it used to indicate "Photos"? Are my photos safe on the external drive?
You have tested the library on the external drive, and so your photos are save there.
The local TimeMachine snapshot probably now contains a backup of the moved library. Try, if connecting your Time Machine drive will reduce the size of your local Time Machine snapshots. -
firefox home doesn't load my bookmarks ? I have tried to do everything that they suggest to fix the problem from disabling the add-ons to reseting my data. nothing works, and yes I did check to see if private browser is not on. I am running window xp and everything is up to date.
== This happened ==
Every time Firefox opened
== from the first time I tried it.Are you talking the the Firefox Home iPhone App?
If not, please explain what you mean a little clearer.
This is the location of the '''Firefox Home iPhone App Support Forum''':
https://support.mozilla.com/en-US/forum/6 -
Podcast Problem - how can i add artwork to apple blog rss link
hi,
i create a wiki blog page on our mac server, on the blog page i add video for podcasting and i enable podcast service on wiki settings. Then i take rss link from safari and i subscribe to itunes but when itunes check my link, there isnt artwork and i cant change the rss link code cause of the link generated automaticly from java. What can i do for this problem or how can i add artwork to apple blog servers rss link ?
Thank youBonjour,
The rules are simple: one entry = one page
if an article needs several pages, start this article on blog entry then continue with a page made with welcome page template or blank page template.
you can change the link of the buttons "next" and "previous" to visit the pages you choose.
(select the link > inspector > Link > hyperlink > check enable as a hyperlink > choose "one of my pages" ).
Don't include these other pages in navigation menu.
(inspector > Page > Page > uncheck "include page in navigation menu"). -
Problem when trying to add a link to the left menu item!!!!
Hi everyone,
I am trying to put a new menu group on the left menu,with a link in that group for every one.On checking with the customization guide this is what i did
for one link i did add the following lines in each of the files
1)xlWebAdmin.properties
- menuGroup.Misc-Menu=Misc Menu
- menuItem.Misc-Menu.My-Nomination=My Nomination
2) xlDefaultAdmin.properties
- menuItem.Misc-Menu.My-Nomination.link=mynomineefrm?showfrm
3) repacked the war and the ear
4) Restarted my server
When I login into the administration(xelsysadm) page I didnt see any menu item with name "My Nomination" which i am supposed to see.
secondly it shows the menu item when ever i select some group and click on assign menu item.
Moreover, when I try to assign this menu item to all users group it gives me this error
On browser it prints
Permission Denied to Assign Selected Menu Items
You do not have the permissions to assign one or more selected menu items.
on console it prints
ERROR [SERVER] Class/Method: tcDataObj/eventPreInsert Error :Insert
permission is denied
ERROR [APIS] Class/Method: tcGroupOperationsBean/addMenuItems encou
nter some problems: maoRejections:You do not have permission to insert this obje
ct.
ERROR [APIS] Class/Method: tcGroupOperationsBean/addMenuItems encou
nter some problems: Error occurred while adding menu items.
ERROR [WEBAPP] Class/Method: UserGroupMenuItemsAction/commitGroupAs
signMenuItems encounter some problems: {1}
Thor.API.Exceptions.tcBulkException
This problem eat my happy sunday :-(, any one has solution for this problem?
- Also if some one can help on how to link jsp to the new link will be helpful for me!
Thanks,
dokiDesign Console > Form Information > add new
Class Name Organizations.Merge
Description Move users from one organization to another
Type menuitem
Add following to xlWebAdmin.properties, xlWebAdmin_en_US.properties
Organizations.Merge=mergeOrgs.do?Display
menuItem.Organizations.Merge.link=mergeOrgs.do?MergeOrganizations
menuItem.Organizations.Merge=Merge
mergeOrgs.button.display=Merge Organizations
Even you have to assign first to System Administrator group
First go to Manage Group
Select System Administrator Group
Select Menu Item
Click Assign and select newly craeted Menu Item and click Confirm
These are the steps to see the new menu item. To make this menu item working:
you'll have to write action class, form bean class and you'll have to create JSPs and make their entry in struts-config as welll as in Tiles-def.xml
Then your menu item will work. -
Problem in execution of a function having clob datatype
[http://www.orafaq.com/forum/t/128331/98870/]
Hi,
I had a Problem in executing a function having clob datatype.
Here below is my function.
create or replace type split_obj as object
occurence_id number(10,0),
splitvalue varchar2(1000)
create or replace type split_rec as table of split_obj;
create or replace FUNCTION Split_new1(
p_string IN clob,
p_delimiter IN VARCHAR2
) return split_rec pipelined is
v_length NUMBER := dbms_lob.getlength(p_string);
v_start NUMBER := 1;
v_index NUMBER;
V_temp NUMBER(10,0):=0;
begin
WHILE(v_start <= v_length)
LOOP
v_index := dbms_lob.INSTR(p_string, p_delimiter, v_start);
IF v_index = 0 THEN
V_temp:=V_temp+1;
PIPE ROW(split_obj(v_temp,dbms_lob.SUBSTR(p_string, v_length,v_start)));
v_start := v_length + 1;
ELSE
v_temp:=v_temp+1;
PIPE ROW(split_obj(v_temp,dbms_lob.SUBSTR(p_string, v_index - v_start,v_start)));
v_start := v_index + 1;
END IF;
END LOOP;
return;
end Split_new1;Here attached link contains the procedure trying to execute the function with huge string more than 400kb.
Could you pls let me know how to do the same in sqlplus and toad.
Thanks in advance.
Edited by: user512743 on Nov 27, 2008 4:31 AMBluShadow wrote:
The problem is that in your execution of this you are trying to assign a value to the clob variable using
v_clob := '<string>'
where the string is greater than allowed in PL/SQL.
Whilst the CLOB itself can hold more data, the string is actually the equivalent of a VARCHAR2 so cannot exceed VARCHAR2 limits.
You should use the DBMS_LOB package to append data to your CLOB in chunks of no more than 32767 characters at a time.??? PL/SQL provides full CLOB support. There is no need to use DBMS_LOB (although you could). OP's function has logic errors. Anyway:
SQL> create or replace type split_obj as object
2 (
3 occurence_id number(10,0),
4 splitvalue varchar2(1000)
5 );
6 /
Type created.
SQL> create or replace type split_rec as table of split_obj;
2 /
Type created.
SQL> create or replace
2 FUNCTION Split_new1(
3 p_string IN clob,
4 p_delimiter IN VARCHAR2
5 )
6 return split_rec pipelined
7 is
8 v_length NUMBER := length(p_string);
9 v_start NUMBER := 1;
10 v_end NUMBER;
11 V_id NUMBER :=0;
12 v_clob CLOB := p_string || p_delimiter;
13 begin
14 while(v_start <= v_length) loop
15 v_end := instr(v_clob, p_delimiter, v_start);
16 v_id := v_id + 1;
17 pipe row(split_obj(v_id,substr(p_string,v_start,v_end - v_start)));
18 v_start := v_end + length(p_delimiter);
19 end loop;
20 return;
21 end Split_new1;
22 /
Function created.
SQL> create table test_table(x clob)
2 /
Table created.
SQL> declare
2 c clob;
3 begin
4 for i in 1..26 loop
5 c := c || lpad(chr(ascii('a') + i - 1),1000,chr(ascii('a') + i - 1)) || ',';
6 end loop;
7 for i in 1..26 loop
8 c := c || lpad(chr(ascii('A') + i - 1),1000,chr(ascii('A') + i - 1)) || ',';
9 end loop;
10 for i in 1..26 loop
11 c := c || lpad(chr(ascii('a') + i - 1),1000,chr(ascii('a') + i - 1)) || ',';
12 end loop;
13 for i in 1..26 loop
14 if i > 1 then c := c || ','; end if;
15 c := c || lpad(chr(ascii('A') + i - 1),1000,chr(ascii('A') + i - 1));
16 end loop;
17 insert into test_table
18 values(c);
19 end;
20 /
PL/SQL procedure successfully completed.
SQL> select length(x)
2 from test_table
3 /
LENGTH(X)
104103
SQL> select t.occurence_id,
2 length(splitvalue) len,
3 substr(splitvalue,1,20) first_20
4 from test_table,
5 table(Split_new1(x,',')) t
6 /
OCCURENCE_ID LEN FIRST_20
1 1000 aaaaaaaaaaaaaaaaaaaa
2 1000 bbbbbbbbbbbbbbbbbbbb
3 1000 cccccccccccccccccccc
4 1000 dddddddddddddddddddd
5 1000 eeeeeeeeeeeeeeeeeeee
6 1000 ffffffffffffffffffff
7 1000 gggggggggggggggggggg
8 1000 hhhhhhhhhhhhhhhhhhhh
9 1000 iiiiiiiiiiiiiiiiiiii
10 1000 jjjjjjjjjjjjjjjjjjjj
11 1000 kkkkkkkkkkkkkkkkkkkk
OCCURENCE_ID LEN FIRST_20
12 1000 llllllllllllllllllll
13 1000 mmmmmmmmmmmmmmmmmmmm
14 1000 nnnnnnnnnnnnnnnnnnnn
15 1000 oooooooooooooooooooo
16 1000 pppppppppppppppppppp
17 1000 qqqqqqqqqqqqqqqqqqqq
18 1000 rrrrrrrrrrrrrrrrrrrr
19 1000 ssssssssssssssssssss
20 1000 tttttttttttttttttttt
21 1000 uuuuuuuuuuuuuuuuuuuu
22 1000 vvvvvvvvvvvvvvvvvvvv
OCCURENCE_ID LEN FIRST_20
23 1000 wwwwwwwwwwwwwwwwwwww
24 1000 xxxxxxxxxxxxxxxxxxxx
25 1000 yyyyyyyyyyyyyyyyyyyy
26 1000 zzzzzzzzzzzzzzzzzzzz
27 1000 AAAAAAAAAAAAAAAAAAAA
28 1000 BBBBBBBBBBBBBBBBBBBB
29 1000 CCCCCCCCCCCCCCCCCCCC
30 1000 DDDDDDDDDDDDDDDDDDDD
31 1000 EEEEEEEEEEEEEEEEEEEE
32 1000 FFFFFFFFFFFFFFFFFFFF
33 1000 GGGGGGGGGGGGGGGGGGGG
OCCURENCE_ID LEN FIRST_20
34 1000 HHHHHHHHHHHHHHHHHHHH
35 1000 IIIIIIIIIIIIIIIIIIII
36 1000 JJJJJJJJJJJJJJJJJJJJ
37 1000 KKKKKKKKKKKKKKKKKKKK
38 1000 LLLLLLLLLLLLLLLLLLLL
39 1000 MMMMMMMMMMMMMMMMMMMM
40 1000 NNNNNNNNNNNNNNNNNNNN
41 1000 OOOOOOOOOOOOOOOOOOOO
42 1000 PPPPPPPPPPPPPPPPPPPP
43 1000 QQQQQQQQQQQQQQQQQQQQ
44 1000 RRRRRRRRRRRRRRRRRRRR
OCCURENCE_ID LEN FIRST_20
45 1000 SSSSSSSSSSSSSSSSSSSS
46 1000 TTTTTTTTTTTTTTTTTTTT
47 1000 UUUUUUUUUUUUUUUUUUUU
48 1000 VVVVVVVVVVVVVVVVVVVV
49 1000 WWWWWWWWWWWWWWWWWWWW
50 1000 XXXXXXXXXXXXXXXXXXXX
51 1000 YYYYYYYYYYYYYYYYYYYY
52 1000 ZZZZZZZZZZZZZZZZZZZZ
53 1000 aaaaaaaaaaaaaaaaaaaa
54 1000 bbbbbbbbbbbbbbbbbbbb
55 1000 cccccccccccccccccccc
OCCURENCE_ID LEN FIRST_20
56 1000 dddddddddddddddddddd
57 1000 eeeeeeeeeeeeeeeeeeee
58 1000 ffffffffffffffffffff
59 1000 gggggggggggggggggggg
60 1000 hhhhhhhhhhhhhhhhhhhh
61 1000 iiiiiiiiiiiiiiiiiiii
62 1000 jjjjjjjjjjjjjjjjjjjj
63 1000 kkkkkkkkkkkkkkkkkkkk
64 1000 llllllllllllllllllll
65 1000 mmmmmmmmmmmmmmmmmmmm
66 1000 nnnnnnnnnnnnnnnnnnnn
OCCURENCE_ID LEN FIRST_20
67 1000 oooooooooooooooooooo
68 1000 pppppppppppppppppppp
69 1000 qqqqqqqqqqqqqqqqqqqq
70 1000 rrrrrrrrrrrrrrrrrrrr
71 1000 ssssssssssssssssssss
72 1000 tttttttttttttttttttt
73 1000 uuuuuuuuuuuuuuuuuuuu
74 1000 vvvvvvvvvvvvvvvvvvvv
75 1000 wwwwwwwwwwwwwwwwwwww
76 1000 xxxxxxxxxxxxxxxxxxxx
77 1000 yyyyyyyyyyyyyyyyyyyy
OCCURENCE_ID LEN FIRST_20
78 1000 zzzzzzzzzzzzzzzzzzzz
79 1000 AAAAAAAAAAAAAAAAAAAA
80 1000 BBBBBBBBBBBBBBBBBBBB
81 1000 CCCCCCCCCCCCCCCCCCCC
82 1000 DDDDDDDDDDDDDDDDDDDD
83 1000 EEEEEEEEEEEEEEEEEEEE
84 1000 FFFFFFFFFFFFFFFFFFFF
85 1000 GGGGGGGGGGGGGGGGGGGG
86 1000 HHHHHHHHHHHHHHHHHHHH
87 1000 IIIIIIIIIIIIIIIIIIII
88 1000 JJJJJJJJJJJJJJJJJJJJ
OCCURENCE_ID LEN FIRST_20
89 1000 KKKKKKKKKKKKKKKKKKKK
90 1000 LLLLLLLLLLLLLLLLLLLL
91 1000 MMMMMMMMMMMMMMMMMMMM
92 1000 NNNNNNNNNNNNNNNNNNNN
93 1000 OOOOOOOOOOOOOOOOOOOO
94 1000 PPPPPPPPPPPPPPPPPPPP
95 1000 QQQQQQQQQQQQQQQQQQQQ
96 1000 RRRRRRRRRRRRRRRRRRRR
97 1000 SSSSSSSSSSSSSSSSSSSS
98 1000 TTTTTTTTTTTTTTTTTTTT
99 1000 UUUUUUUUUUUUUUUUUUUU
OCCURENCE_ID LEN FIRST_20
100 1000 VVVVVVVVVVVVVVVVVVVV
101 1000 WWWWWWWWWWWWWWWWWWWW
102 1000 XXXXXXXXXXXXXXXXXXXX
103 1000 YYYYYYYYYYYYYYYYYYYY
104 1000 ZZZZZZZZZZZZZZZZZZZZ
104 rows selected.
SQL> As you can see, function works OK without DBMS_LOB on CLOB of 104103 bytes.
SY. -
Acrobat X Pro - Problem mit dem PDF-Add-On im IE8
Ich habe Acrobat X Pro (deutsche Version)auf meinem Rechner (Win 7 Ultimate x64) installiert. Wenn ich als Admin-User angemeldet bin, erscheint das Adobe-PDF Add-On im Internet Explorer 8 in deutscher Sprache. So sollte es ja auch für die Standard-User eigentlich sein. Aber, wenn ich mich als Standard-User anmelde, erscheint das PDF Add-On in englischer Sprache. Wie kann das sein?
Wie läßt sich das ändern? Dieses Problem habe ich mit der Adobe Acrobat Pro Version 9 nicht gehabt.
Für Tipps wäre ich dankbar. Ich habe schon eine Fehlermeldung im Support-Bereich aufgemacht. Bisweilen aber noch keine Antwort/Lösung erhalten.
Danke im Voraus.
JürgenHallo Hans,
ich verwende das 32-bit Add-On von Adobe Acrobat X Pro. Das Nitro PDF tool verwende ich nicht. Anbei ein Screenshot.
Gruß
Jürgen -
Problems when trying to add a class
Hi all,
I realise that this might belong more as a bug file, but I thought I would ask here first.
I have a web application, with a few packages, some code, nothing out of the ordinary. But today, when I started up the IDE and loaded the project, the IDE complained about a particular class in the project with the error: (truncated, as there was alot of info)
Annotation: Exception occurred in Request Processor
java.lang.IllegalStateException: Recursive call to getElementInfo()
and the next error was: (again truncated)
java.lang.ClassCastException: org.netbeans.jmi.javamodel.JavaPackage$Impl
The IDE thows about 6 or 7 of these messages in a row.
Now, I deleted the class (there was not much code in it anyway), and the rest of the project is fine. But when I try and add a new class again to the same package with the same name as the old class, then these errors occur again.
I can add new classes, no problem, but this class name now only produces errors. I get the feeling that this class name "AddPalletAction.java" is being stored somewhere where it should not be, and so when I try and add this class anew, an error occurs.
How can I stop this (without giving the class a different name)? Is there somewhere I can look where this name might be stored?
thanks in advance
Keith ThornePlease try cleaning the IDE cache - delete <userdir>/var/cache
This might help. -
Formula problem, sometimes don't add the value
Hi everybody,
I'm trying to learn manage this tool (crystal report) I use visual basic 2005 with the crystal for visual basic. Actually I've a problem with some formula fields. My report has several summarize columns (I sum the values) , not all the columns have values so not all the result fields has values. The problem becomes because I have to sum the result fields, and if i do a formula with this:
+ {@horasTinsitu} + {@ConvertirEnSegundosTreal} + {@ConvertirEnSegundosTtaller}
But only works if the three formulas has values, if one formula is empty the result looks empty, I think the problem was in the value of the formulas and I tried to evaluate with u201Cisnullu201D but neither.
Please, somebody has an idea.
Thanks everybody
Well my English it's bad but I think it's possible understand it.I finally do it, this is the code
local numbervar InSitu;
local numbervar Remote;
local numbervar Taller;
local numbervar Phone;
if isnull({@T_insitu}) then //{@T_insitu} is the formula to summarize details and add their values...
InSitu:= 0
else
InSitu:= {@T_insitu};
if isnull({@T_remoto}) then
Remote:= 0
else
Remote:={@T_remoto} ;
if isnull({@T_taller}) then
Taller:= 0
else
Taller:= {@T_taller};
if isnull({@T_telefono}) then
Phone:= 0
else
Phone:={@T_telefono} ;
InSituRemoteTallerPhone;
Now looks easy but it's very diferent of the visual code I usually do.
well THANK YOU VERY MUCH EVERY BODY...
Dani -
Problem in testing UI add-on after login method changes
Dear All Experts/Gurus,
I have changed login method to a new one of a UI Add-on (because I just have SDK implementation version license). Using add-on identifier generator, I generate the add-on identifier string and put on the source code :
Public Sub GetApplication()
Set oSboGuiApi = New SAPbouiCOM.SboGuiApi
oSboGuiApi.Connect Command
oSboGuiApi.AddonIdentifier = "4CC8B8ACE0273A61489738C94047855DE8768CDD37F64D4F11E82759A542BD545D5A6E4D50A39B9E9FB20FA944FF35C5B60FE779"
Set SboApplication = oSboGuiApi.GetApplication
End Sub
After recompile it, I want to prove it by sending it to other friend's (work mate) PC/notebook with different license and hardware key. The error message when installing/starting the add-on is :
Runtime error '-7200 (ffffe3e0)':
Connection - Connection string doesn't match UI development work mode.
If the error happened, I just guessed that the login method change is success. I also read the SAP new license mechanism states that if the add-on is developed using SDK implementation version, it will only be able to install/use in the customer network PC and so on, ....etc.
The problem is that I am not fully sure if my guess is correct. I want to conduct some testing. I tried to request new temprary license with compatibility license is over within 2 days, but unsuccessful. Would you please to tell me if there is another way to prove/test that the add-on will be able to start after the compatibility license for add-on expires ?
I appreciate your answer so much. TIA
Rgds,Hi Steve,
The AddOnIdentifier you obtain by selecting Development or Implementation options while creating the AddOnIdentifier depends on the license manager.
If you change the license manager to another machine or someone connected to a different license manager try to run your code you it will not work.
It is quite clear in the <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/13d67f3c-0e01-0010-eba2-cab13a5979c2">License Guide</a>:
<b>Development License</b>
This license is required for partners developing add-ons and the only license allowing distribution. <i><u>In Development license, the license key is shared by all developers connected to the same License Service</u></i>. The License Service allocates licenses on the basis of first-come, first-served.
<b>Implementation License</b>
This license is required for customers intending to develop small modifications or add-ons for their own use using only the UI API.
<i><u>Add-ons developed under the Implementation license cannot run with a different License Service other than the one that was used for their development</u></i>. The Implementation license does not allow
distribution to third-parties.
Regards
Trinidad -
Problem with execution of process flow
Hello! I'm new in OWB, and I hope you will help me.
I started execution of process flow and then connection to my server failed.
The problem is: In Runtime Audit Browser all mappings are complete, but process flow is in "Busy" status. I waited for 24h, and nothing changed. (execution of mappings costed 4h).
what should I do?Hi,
Use any SQL tool like TOAD and see from the backend if the OWB process is running, if it is still running, kill it. Due to server connection failure the OWB process might have been killed but the Runtime Browser might show it as busy.
Go the Workflow Repository Schema and run the following query:
update wf_item_activity_statuses set activity_status = 'COMPLETE'
where item_type = <Your Process Flow Package Name> and actvity_status != 'COMPLETE'.
This should solve the problem.
Regards
-AP -
I'm having a problem where a sql suddenly takes several minutes to execute. This is a sequel that runs every day in production and executes fine, but suddenly it takes several minutes to finish. Websphere is set to time out after 2 minutes, it then executes a rollback command.
We think that this happends after the statistics job running in Oracle has been executed and the execution plan has been updated. It looks like the database connections created from websphere uses the old execution plan. Running the same sql from sqlplus takes only a few seconds, while from the application server it takes over 2 minutes (makes websphere time out)
We are running websphere 6.1, Oracle 10g. The questions...
After the statistics job has been executed, is the library cache flushed? and all sessions that was created will use the new execution plan? (does not look like it).
How do we force the application server to use the right execution plan - or Oracle is probably more correct to ask.The answer to your questions can be..
1.After the statistics job has been executed, is the library cache flushed? and all sessions that was created will use the new execution plan? (does not look like it).
When the statistics for object are collected, any cached execution plan referencing it will get invalidated.
2. How do we force the application server to use the right execution plan - or Oracle is probably more correct to ask.
You can make use of Stored Outlines. -
Strange problem while execution of query....
Hi Friends
I am facing a strange problem while executing the query.
I have one query ,its old one ,till yesterday everday it was working fine ,
But today i am trying to execute that query ,execution process takes very long time ,finally no response from bw server.
its an important report in our company
I checked query , Every thing is ok ,bze i haven't made any changes
So i need some suggetions .like where can i check and what can i do?
ASAP .... So Please ...its very urgent....
EVERY THING AND ANY THING WILL BE REWARED
Thanks in advance
RKHi
Stefan
Thank you for your valuable suggestion
the problem is solved
Already i assigned points.
Thnaks & Regards
RK -
Problems with execution plans of OL queries in MGP
I'm just facing some strange behavior of OL MGP process. Its' performance is really poor on one of our servers and I just executed Consperf to figure out that the execution plans looks really weird. It looks like OL doesn't use available indexes at all even though statistics are ok and even when I execute the same SQL manually I can see that the execution plan looks totally different - there are almost none TABLE ACCESS FULL lookups. Is there any OL setup property which could cause this strange behavior?
Consperf explain plan output for one of the snapshots:
********** BASE - Publication item query ***********
SELECT d.VISITID, d.TASKID, d.QTY FROM HEINAPS.PA_TASKS d
WHERE d.VisitID IN (SELECT h.VisitID FROM HEINAPS.PA_VISITS_H_LIST h WHERE h.DSM = ?)
| Operation | Name | Rows | Bytes| Cost | Optimizer
| SELECT STATEMENT | | 1 | 24 | 0 |ALL_ROWS
| FILTER | | | | |
| HASH JOIN RIGHT SEMI | | 2M| 61M| 20743 |
| TABLE ACCESS FULL |PA_VISITS_H_LIST | 230K| 2M| 445 |ANALYZED
| TABLE ACCESS FULL |PA_TASKS | 11M| 134M| 6522 |ANALYZED
explain plan result of the same query executed in Pl/SQL Developer:
UPDATE STATEMENT, GOAL = ALL_ROWS Cost=3345 Cardinality=39599 Bytes=2969925
UPDATE Object owner=MOBILEADMIN Object name=CMP$JPHSK_PA_TASKS
HASH JOIN ANTI Cost=3345 Cardinality=39599 Bytes=2969925
TABLE ACCESS BY INDEX ROWID Object owner=MOBILEADMIN Object name=CMP$JPHSK_PA_TASKS Cost=1798 Cardinality=39599 Bytes=910777
INDEX RANGE SCAN Object owner=MOBILEADMIN Object name=CMP$1527381C Cost=239 Cardinality=49309
VIEW Object owner=SYS Object name=VW_SQ_1 Cost=1547 Cardinality=29101 Bytes=1513252
NESTED LOOPS Cost=1547 Cardinality=29101 Bytes=640222
INDEX RANGE SCAN Object owner=HEINAPS Object name=IDX_PAVISITSHL_DSM_VISITID Cost=39 Cardinality=1378 Bytes=16536
INDEX RANGE SCAN Object owner=HEINAPS Object name=PK_PA_TASKS Cost=2 Cardinality=21 Bytes=210
This query and also few others run in MGP for few minutes for each user, because of the poor execution plan. Is there any method how to force OL to use "standard" execution plans the DB produces to get MGP back to usable performance?The problem is that the MGP process does not run the publication item query as such. What id does is wrap it up inside insert and update statements and then execute via java, and this is what can cause problems.
Set the trace to all for MGPCOMPOSE on a user, wait for the MGP cycle and you will find in the trace files a series of files for the user. Look through this and you should find the actual wrapped up query that is executed. This should also be in the consperf file. Consperf should give a few different execution stats for the query (ins_1, ins_2) if these are better then set these in c$consperf. The automatic setting does nort always choose the best one.
If all else fails, try expressing the query in other ways and test them in the MGP process. I have found that this kind of trial and error is the only approach
couple of bits about the query below
1) do you sopecifically need to restrict the columns from HEINAPS.PA_TASKS ? if not use select * in the PI select statement as it tends to bind better
2) what is the data type of HEINAPS.PA_VISITS_H_LIST.DSM. If numberic, then do a to_number() on the bind variable and the type casting is not very efficient
Maybe you are looking for
-
Analog Video/Audio into G5 Quad via USB/Firewire
Hello! I have a Mac G5 Quad and I already have a capture card installed for my Betacam SP deck (it's a Blackmagic Decklink SP card). From time to time I'd also like to capture video/audio straight from VHS, DVD and occasionally even LaserDisc but I d
-
How do I change the loop that is running when an event happens?
Hello, I've written a program that does a linear temperature ramp on sample substrates under UHV. Right now, the program just ramps the current of a power supply(which heats the sample by radiative heating), reads the temperature from a thermocoup
-
Apps are stuck in an "installing" mode
I have several apps stuck in the "installing mode" after a recent attempted update. It is very strange because these apps are not visible on my homescreen - so I cannot delete and reinstall. I can only see them in the purchased apps category within
-
Running Stored Pocedures from UNIX
Hi, Does anybody have an example of a Unix script that kicks off a series of stored procedures (after checking the status of the previous one) within a package? Thanks Raj
-
Installing itunes removes my cd drive from my computer
i have tried about 7 times now, and every time i have installed itunes my cd drive just disappears completely from my computer, and every time i have to do a system restore. it's not a problem with the cd drive because the lights still flash and it o