How to disable nested loop option on a 10gR2 OLAP environment?
is it possible to disable nested loop option on a 10gR2 OLAP environment? There are some thousands of automatically generated report queries and whenever a join is needed we want to force hash join if possible(equality) or sort merge but never nested loop. optimizer sometimes can go for NL because of broken ETL, last steps as collecting statistics can not be finished successfully before the users start to do their reporting.
of course looking for a global parameter and do not want to hint each and every possible report query :)
thank you.
In general, connections that use a thin (type 4) JDBC driver will bypass the tnsnames.ora and sqlnet.ora files because they don't need those files to exist. One of the primary benefit of the type 4 JDBC drivers is that the Java code's connection string is fully specified in Java and doesn't depend on configuration files outside the JVM. So I wouldn't be surprised that any Java-based application could use the EZConnect syntax.
It is not obvious to me, though, why EZConnect would bypass any SSL tunnel that you had established. Assuming that you've instructed your client to send all traffic on a particular port going to a particular IP address to use a tunnel, I'm not sure why (or how) EZConnect syntax would bypass that. I would tend to expect that the problem was with the SSL tunnel configuration but perhaps I'm missing something on the network side.
Justin
Similar Messages
-
How to disable the select options button, while audio is playing in the question template in captivate 8?
Apologies for late reply.
I mean "On Question screens audio keeps on playing even after we have selected an option or options depending on the question type and clicked Submit. How do we stop the audio on selecting an option?" -
How to disable right click option re-size on table column header?
Hi All,
Please let us know how to disable right click option re-size on table column header.
The issue is that when I right click on the column header, the column is selected and the context menu with options like Sort, Columns, Resize Columns, etc.. is popping. we want to disable column re-size option.
We are binding the table values programatically (not using Bc4J) and the Jdeveloper version is 11.1.2.2
Thanks in advance,
- Vignesh S.Hi Gawish,
Thanks for the reply.
This will make the particular column frozen and only work for that particular column.
My use case is that to remove the resize columns option from the context menu or to disable the right click option.
Making column selection as none will disable the right click option but we need column selection for sorting.
Is there any other way to achieve this?
Thanks in advance,
-Vignesh S. -
Hi how to avoid nested loops in this program to improve the performence
Hi all
How to avoide the nested loops in this programing what is the replacement for the nested loops in this program coding......
LOOP AT itb_ekpo.
READ TABLE itb_marc WITH KEY
matnr = itb_ekpo-matnr
werks = itb_ekpo-werks BINARY SEARCH.
CHECK sy-subrc = 0.
FAE 26446 fin remplacement
itb_pca-ebeln = itb_ekpo-ebeln.
itb_pca-ebelp = itb_ekpo-ebelp.
itb_pca-lifnr = itb_ekko-lifnr. "-FAE26446
itb_pca-lifnr = itb_ekpo-lifnr. "+FAE26446
itb_pca-ekgrp = itb_ekpo-ekgrp. "+FAE26446
itb_pca-dispo = itb_ekpo-dispo. "+FAE26446
itb_pca-matnr = itb_ekpo-matnr.
itb_pca-werks = itb_ekpo-werks.
Recherche du libellé article
READ TABLE itb_makt
WITH KEY matnr = itb_ekpo-matnr
spras = text-fra
BINARY SEARCH.
IF sy-subrc = 0.
itb_pca-maktx = itb_makt-maktx.
ELSE.
READ TABLE itb_makt
WITH KEY matnr = itb_ekpo-matnr
spras = text-ang
BINARY SEARCH.
IF sy-subrc = 0.
itb_pca-maktx = itb_makt-maktx.
ENDIF.
ENDIF.
IF NOT itb_ekpo-bpumn IS INITIAL.
itb_pca-menge = itb_ekpo-menge * itb_ekpo-bpumz /
itb_ekpo-bpumn.
ENDIF.
Sélect° ds la table EKES des dates de livraisons et des qtés
en transit
CLEAR w_temoin_ar.
CLEAR w_etens.
LOOP AT itb_ekes
FROM w_index_ekes.
IF itb_ekes-ebeln = itb_ekpo-ebeln
AND itb_ekes-ebelp = itb_ekpo-ebelp.
IF itb_ekes-ebtyp = text-arn.
itb_pca-eindt = itb_ekes-eindt.
w_temoin_ar = 'X'.
ELSE.
Si c'est une qté en transit alors on recupere
la quantité et la date.
IF itb_ekes-dabmg < itb_ekes-menge.
itb_pca-qtran = itb_pca-qtran + itb_ekes-menge -
itb_ekes-dabmg.
ENDIF.
IF itb_ekes-etens > w_etens.
w_etens = itb_ekes-etens.
itb_pca-dtran = itb_ekes-eindt.
ENDIF.
ENDIF.
ELSEIF itb_ekes-ebeln > itb_ekpo-ebeln
OR ( itb_ekes-ebeln = itb_ekpo-ebeln
AND itb_ekes-ebelp > itb_ekpo-ebelp ).
w_index_ekes = sy-tabix.
EXIT.
ENDIF.
ENDLOOP.
S'il n'y a pas d'AR alors récupérat° de la date livraison dans EKET.
LOOP AT itb_eket
FROM w_index_eket.
IF itb_eket-ebeln = itb_ekpo-ebeln
AND itb_eket-ebelp = itb_ekpo-ebelp.
IF w_temoin_ar IS INITIAL.
itb_pca-eindt = itb_eket-eindt.
ENDIF.
itb_pca-slfdt = itb_eket-slfdt.
Calcul du portefeuille fournisseur à partir de la
qté commandée et la qté reçue
itb_pca-attdu = itb_pca-attdu + itb_eket-menge -
itb_eket-wemng.
Calcul du montant du poste
itb_pca-netpr = itb_ekpo-netpr * itb_pca-attdu.
IF itb_ekpo-peinh NE 0.
itb_pca-netpr = itb_pca-netpr / itb_ekpo-peinh.
ENDIF.
Calcul quantité réceptionnée.
itb_pca-wemng = itb_pca-wemng + itb_eket-wemng.
Calcul du retard en nombre de jours calendaires
Le calcul du retard ne doit pas prendre en compte
le jour de livraison
ADD 1 TO itb_eket-eindt.
IF NOT itb_pca-attdu IS INITIAL
AND itb_eket-eindt LT sy-datum.
Calcul du retard en nombre de jours ouvrés
CLEAR w_retard.
CALL FUNCTION 'Z_00_BC_WORKDAYS_PER_PERIOD'
EXPORTING
date_deb = itb_eket-eindt
date_fin = sy-datum
IMPORTING
jours = w_retard.
itb_pca-rtard = itb_pca-rtard + w_retard .
ENDIF.
ELSEIF itb_eket-ebeln > itb_ekpo-ebeln
OR ( itb_eket-ebeln = itb_ekpo-ebeln
AND itb_eket-ebelp > itb_ekpo-ebelp ).
w_index_eket = sy-tabix.
EXIT.
ENDIF.
ENDLOOP.
Recherche de la derniere date de livraison.
LOOP AT itb_mseg
FROM w_index_mseg.
IF itb_mseg-ebeln = itb_ekpo-ebeln
AND itb_mseg-ebelp = itb_ekpo-ebelp.
READ TABLE itb_mkpf
WITH KEY mblnr = itb_mseg-mblnr
mjahr = itb_mseg-mjahr
BINARY SEARCH.
IF sy-subrc = 0.
IF itb_mkpf-bldat > itb_pca-bldat.
itb_pca-bldat = itb_mkpf-bldat.
ENDIF.
ENDIF.
ELSEIF itb_mseg-ebeln > itb_ekpo-ebeln
OR ( itb_mseg-ebeln = itb_ekpo-ebeln
AND itb_mseg-ebelp > itb_ekpo-ebelp ).
w_index_mseg = sy-tabix.
EXIT.
ENDIF.
ENDLOOP.
APPEND itb_pca.
CLEAR itb_pca.
FAE26446 suppression parag. suivant
ELSEIF itb_ekpo-ebeln > itb_ekko-ebeln.
w_index_ekpo = sy-tabix.
EXIT.
ENDIF.
ENDLOOP.
Fin FAE26446
ENDLOOP.
Thanks in advance for all.....Hi
these are the performance tips
Instead of using nested Select loops it is often better to use subqueries.
SELECT * FROM SPFLI
INTO TABLE T_SPFLI
WHERE CITYFROM = 'FRANKFURT'
AND CITYTO = 'NEW YORK'.
SELECT * FROM SFLIGHT AS F
INTO SFLIGHT_WA
FOR ALL ENTRIES IN T_SPFLI
WHERE SEATSOCC < F~SEATSMAX
AND CARRID = T_SPFLI-CARRID
AND CONNID = T_SPFLI-CONNID
AND FLDATE BETWEEN '19990101' AND '19990331'.
ENDSELECT.
The above mentioned code can be even more optimized by using subqueries instead of for all entries.
SELECT * FROM SFLIGHT AS F INTO SFLIGHT_WA
WHERE SEATSOCC < F~SEATSMAX
AND EXISTS ( SELECT * FROM SPFLI
WHERE CARRID = F~CARRID
AND CONNID = F~CONNID
AND CITYFROM = 'FRANKFURT'
AND CITYTO = 'NEW YORK' )
AND FLDATE BETWEEN '19990101' AND '19990331'.
ENDSELECT.
<b>Internal Tables</b>
1. Table operations should be done using explicit work areas rather than via header lines.
2. Always try to use binary search instead of linear search. But dont forget to sort your internal table before that.
3. A dynamic key access is slower than a static one, since the key specification must be evaluated at runtime.
4. A binary search using secondary index takes considerably less time.
5. LOOP ... WHERE is faster than LOOP/CHECK because LOOP ... WHERE evaluates the specified condition internally.
6. Modifying selected components using MODIFY itab TRANSPORTING f1 f2.. accelerates the task of updating a line of an internal table.
Point # 2
READ TABLE ITAB INTO WA WITH KEY K = 'X BINARY SEARCH.
IS MUCH FASTER THAN USING
READ TABLE ITAB INTO WA WITH KEY K = 'X'.
If TAB has n entries, linear search runs in O( n ) time, whereas binary search takes only O( log2( n ) ).
Point # 3
READ TABLE ITAB INTO WA WITH KEY K = 'X'. IS FASTER THAN USING
READ TABLE ITAB INTO WA WITH KEY (NAME) = 'X'.
Point # 5
LOOP AT ITAB INTO WA WHERE K = 'X'.
ENDLOOP.
The above code is much faster than using
LOOP AT ITAB INTO WA.
CHECK WA-K = 'X'.
ENDLOOP.
Point # 6
WA-DATE = SY-DATUM.
MODIFY ITAB FROM WA INDEX 1 TRANSPORTING DATE.
The above code is more optimized as compared to
WA-DATE = SY-DATUM.
MODIFY ITAB FROM WA INDEX 1.
7. Accessing the table entries directly in a "LOOP ... ASSIGNING ..." accelerates the task of updating a set of lines of an internal table considerably
8. If collect semantics is required, it is always better to use to COLLECT rather than READ BINARY and then ADD.
9. "APPEND LINES OF itab1 TO itab2" accelerates the task of appending a table to another table considerably as compared to LOOP-APPEND-ENDLOOP.
10. DELETE ADJACENT DUPLICATES accelerates the task of deleting duplicate entries considerably as compared to READ-LOOP-DELETE-ENDLOOP.
11. "DELETE itab FROM ... TO ..." accelerates the task of deleting a sequence of lines considerably as compared to DO -DELETE-ENDDO.
Point # 7
Modifying selected components only makes the program faster as compared to Modifying all lines completely.
e.g,
LOOP AT ITAB ASSIGNING <WA>.
I = SY-TABIX MOD 2.
IF I = 0.
<WA>-FLAG = 'X'.
ENDIF.
ENDLOOP.
The above code works faster as compared to
LOOP AT ITAB INTO WA.
I = SY-TABIX MOD 2.
IF I = 0.
WA-FLAG = 'X'.
MODIFY ITAB FROM WA.
ENDIF.
ENDLOOP.
Point # 8
LOOP AT ITAB1 INTO WA1.
READ TABLE ITAB2 INTO WA2 WITH KEY K = WA1-K BINARY SEARCH.
IF SY-SUBRC = 0.
ADD: WA1-VAL1 TO WA2-VAL1,
WA1-VAL2 TO WA2-VAL2.
MODIFY ITAB2 FROM WA2 INDEX SY-TABIX TRANSPORTING VAL1 VAL2.
ELSE.
INSERT WA1 INTO ITAB2 INDEX SY-TABIX.
ENDIF.
ENDLOOP.
The above code uses BINARY SEARCH for collect semantics. READ BINARY runs in O( log2(n) ) time. The above piece of code can be more optimized by
LOOP AT ITAB1 INTO WA.
COLLECT WA INTO ITAB2.
ENDLOOP.
SORT ITAB2 BY K.
COLLECT, however, uses a hash algorithm and is therefore independent
of the number of entries (i.e. O(1)) .
Point # 9
APPEND LINES OF ITAB1 TO ITAB2.
This is more optimized as compared to
LOOP AT ITAB1 INTO WA.
APPEND WA TO ITAB2.
ENDLOOP.
Point # 10
DELETE ADJACENT DUPLICATES FROM ITAB COMPARING K.
This is much more optimized as compared to
READ TABLE ITAB INDEX 1 INTO PREV_LINE.
LOOP AT ITAB FROM 2 INTO WA.
IF WA = PREV_LINE.
DELETE ITAB.
ELSE.
PREV_LINE = WA.
ENDIF.
ENDLOOP.
Point # 11
DELETE ITAB FROM 450 TO 550.
This is much more optimized as compared to
DO 101 TIMES.
DELETE ITAB INDEX 450.
ENDDO.
12. Copying internal tables by using ITAB2[ ] = ITAB1[ ] as compared to LOOP-APPEND-ENDLOOP.
13. Specify the sort key as restrictively as possible to run the program faster.
Point # 12
ITAB2[] = ITAB1[].
This is much more optimized as compared to
REFRESH ITAB2.
LOOP AT ITAB1 INTO WA.
APPEND WA TO ITAB2.
ENDLOOP.
Point # 13
SORT ITAB BY K. makes the program runs faster as compared to SORT ITAB.
Internal Tables contd
Hashed and Sorted tables
1. For single read access hashed tables are more optimized as compared to sorted tables.
2. For partial sequential access sorted tables are more optimized as compared to hashed tables
Hashed And Sorted Tables
Point # 1
Consider the following example where HTAB is a hashed table and STAB is a sorted table
DO 250 TIMES.
N = 4 * SY-INDEX.
READ TABLE HTAB INTO WA WITH TABLE KEY K = N.
IF SY-SUBRC = 0.
ENDIF.
ENDDO.
This runs faster for single read access as compared to the following same code for sorted table
DO 250 TIMES.
N = 4 * SY-INDEX.
READ TABLE STAB INTO WA WITH TABLE KEY K = N.
IF SY-SUBRC = 0.
ENDIF.
ENDDO.
Point # 2
Similarly for Partial Sequential access the STAB runs faster as compared to HTAB
LOOP AT STAB INTO WA WHERE K = SUBKEY.
ENDLOOP.
This runs faster as compared to
LOOP AT HTAB INTO WA WHERE K = SUBKEY.
ENDLOOP.
<b>Reward if usefufll</b> -
How to disable remote wipe option for mobile devices
Hi,
I have integrated environment of SCCM 2012 R2 and Windows Intune. I am managing Windows phone, Android and IOS devices through this setup. I was trying find an option to disable remote wipe option in the SCCM Console. Only selective wipe should be available.
Can you please help me on how to configure this setting.
Regards
LeelaI got the below response from the micososft intune team.
"Issue Definition: Cx would like remote wipe disabled
in the Admin console.
Scope Agreement: Disable remote wipe feature from account.
You will not be able to block this feature using Microsoft Intune. System
Center Configuration Manager might be able to control this feature. You
might consider opening a case with their team.
The other thing to consider, is to limit the amount of Admin users you have.
Anyone that is given Admin rights in Microsoft Intune will have the ability to
use the wipe feature. "
I have raised a ticket with SCCM 2012 team, awaiting their response.
Regards
Leela -
How to disable the print option in A. Reader (using JavaScript)
I need be able to disable the print option from JavaScript code. I know that the print option can be disabled in the
"File > Form preferences > PDF Security" option in the main menu but i need to do this from a script into the document (
preferably using the JavaScript language).
Thanks in advance!
DanHI!
I have the same problem =)
I have fixed this issue using the "app.fs.isFullScreen = true;" statement.
Doing this you don't see toolbar anymore.
You can use "hideToolbarButton" instruction and, maybe, you can obtain a more interesting result.
Below there is a very interesting document:
http://partners.adobe.com/public/developer/en/acrobat/sdk/5186AcroJS.pdf
I'm sorry for my poor english :-)
Bye,
Roberto (from Italy)
Ps= Do you know how I can obtain a list of required fields in a form?
thank's! -
How to disable the print option in A. Reader (in JavaScript)
I need be able to disable the print option from JavaScript code. I know that the print option can be disabled in the
"File > Form preferences > PDF Security" option in the main menu but i need to do this from a script into the document (
preferably in JavaScript language).
Thanks in advance!
DanHI!
I have the same problem =)
I have fixed this issue using the "app.fs.isFullScreen = true;" statement.
Doing this you don't see toolbar anymore.
You can use "hideToolbarButton" instruction and, maybe, you can obtain a more interesting result.
Below there is a very interesting document:
http://partners.adobe.com/public/developer/en/acrobat/sdk/5186AcroJS.pdf
I'm sorry for my poor english :-)
Bye,
Roberto (from Italy)
Ps= Do you know how I can obtain a list of required fields in a form?
thank's! -
How to disable save as option in forefox when we right click on the image?
Hi Folks,
Can somebody help to disable save as option when i right click on the image which is showing in the browser.Hi,
'''sorry,it is impossible by code'''
you can use addons.
or
you can disable while developing webpage using:
<script language="javascript">
document.onmousedown=disableclick;
status="Right Click Disabled";
Function disableclick(event)
if(event.button==2)
alert(status);
return false;
</script>
Regards
'''Deepak Krishnan''' -
HOW TO DISABLE THE SAVEAS OPTION OF A BROWSER?
Hi all,
Nice to be back again folks.....
Well I need to develop an Applet (perhaps even a swing) which when loaded by any browser would disable the SaveAs option of the browser's File menu.
I tried using the Frame class of java.awt package, the code is:
import java.awt.*;
import java.applet.*;
public class WinAppl extends Applet
int mc;
String str="NO OF MENUS: ";
Font fnt=new Font("Arial",Font.BOLD,12);
MenuBar mb;
Frame frame=new Frame("SNODX");
Window window;
public void init()
frame.setBackground(Color.red);
frame.setForeground(Color.black);
this.setFont(fnt);
mb=frame.getMenuBar();
if(mb!=null)
mc=mb.getMenuCount();
str+=mc;
else
str+="ZERO";
public void paint(Graphics g)
g.drawString(str,50,50);
but when this applet is loaded ALL the menus of the browser disappear .i.e when this frame applet is loaded by the browser only the title bar of the browser and a red colored window appear, no menus. I dont want all the menus to be hidden, just the SaveAs option of Browser's File Menu to be disabled.
Thanks in advance.
True to my nature I am posting this question in some of the other Java forums as well. And as usual sorry for the multiple postings.
snodxApplets usually have absolutely no control over the browser they are running in (with the exception of loading other web pages and other very high level stuff). You won't be able to write an applet that disables entries in the menu bar. And even if you could it wouldn't really help you because most browsers write everything they download to disc (to the cache) where it can be recovered by anybode.
Last but not least: there are lots of tools for mirroring web sites that will allow users to download and save anything that is accessible for browsers.
However, you may be able to disable the menu bar and perhaps even change entries in some browsers like ie by activeX controls or javascript. Still this is not a very friendly way for a website to behave... -
How to disable 'Clear Record' option in Oracle Forms deployed in Orcl Apps
Dear Members,
I have developed a custom form which is deployed in Oracle Applications.
In this form I want to disable the 'Clear Record' option to prevent users from clearing the record.
Can any one please tell me how can I do it?
Thanks in advance.
Best Regards,
Arun Reddy D.Hi,
In your Forms---> trigger--> KEY-CLRREC-----> NULL;
You cant clear any record. -
How to disable Shift/Command/Option lock?
Ever since I updated to 10.8, if I press shift, command, or option twice it will put it into like a lock mode. How can I disable this & have it back to the way it used to be?
Thanks for the suggestion but that didn't help. I don't have a keyboard & mouse pane I only have keyboard or mouse to choose from, so I go to keyboard and there is nothing that looks like that screen. But I did find something that fixed my Command/Option/Control buttons from being locked, I clicked on Keyboard & then Modifier Keys, and it let me select no action for each of those, BUT it doesn't have the Shift option.
So now my problem is, when I press Shift twice in a row, it makes it lock. It's as if I'm holding down Shift all the time and I have to press Shift again to unlock it. I want to disable this. Does anyone have any ideas how to do that? I think I explained it wrong in my 1st post I thought I'd explain again (: But now I figured out it's called Modifier Keys soo I feel like I'm close to finding the answer. lol (: -
How to Disable\Remove Registration option under Help menu in Lightroom 5.3
Hi,
Could someone kindly guide as to how can we remove\Disable the Lightroom Registration option under help menu for Adobe lightroom 5.3?
I intend to deploy the application for enterprise users and do not wish that the users should be able to see the Serial number or try registering the product on thier own.
I know this can be done for Adobe CS6 and CS5 using the AAMEE tool which again does not work for Lightroom.
Is there any tool from Adobe or any registry key/File to suppress this option.
Kindly Advice.
Thanks in Advance!Currently, there isn't a way to do this. But this has reacently become a common feature request and we are working to get it added.
-
How to disable the "close" option of the Explorer from an applet
Hi, i'm developing a little applet an i would like to know if it is posible to disable the options of maximize, minimize and close of the Internet Explorer from the applet code. If it is posible how?
Thanks.If you disable the close funstion, the user would need to reboot their machine to close the browser. Even if it is possible, it seems dangerous.
-
How to disable the sizing option in docking container
Hi experts,
I have created a grid in a docking container ( cl_gui_docking_container ) which will appear on the selection screen, docking at the bottom. The requirement is to disable the resizing functionality of the grid when I use the sizing arrow with the mouse on dragging. Ideally I am able to expand the grid vertically covering the selection parameters. This option has to be disabled. Please suggest any options for the same.CREATE OBJECT r_dock_container
EXPORTING
side = cl_gui_docking_container=>dock_at_right
extension = 780
caption = 'Materials'
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
create_error = 3
lifetime_error = 4
lifetime_dynpro_dynpro_link = 5
OTHERS = 6.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF
I think extension my help.. -
How to disable maintaining select option
Hello All,
I have select option in my selection screen. When i put some value in my select option and double click on it,one small window gets opened for maintaining select option.
I want to disable this window . Can any one help me out on this.
Thanks in advance.
SumanHi !
Options screen modifications can be done through the below mentioned path
IMG>Personnel Management>Personnel Administration>Customizing User Interfaces>Change Screen Modifications
Enter Module pool name( To know module name select the targeted screen > menu>go to > system >status
Screen Number (To know module name select the targeted screen > menu>go to > system >status )
after updating module pool & screen number , press enter and you will find all the fields that is available and select radio button hide to hide particular field .
Regards
Sheetal
Maybe you are looking for
-
Install Adobe Photoshop CS5 on a new computer
How install Adobe photoshop CS5 on my new computer?
-
OSX 10.5 installation problems - hard disk errors?
I've tried twice to upgrade from Tiger 10.4.11 to Leopard 10.5 on a late 2006 refurb'd iMac 20" duo purchased from an Apple store. Both tries gave me a message that my hard drive had errors after I did a "disk verify". But the "repair disk" button wa
-
How do i copy full 8 1/2 x 14 with officejet 4620?
how do i copy full 8 1/2 x 14 with officejet 4620? This question was solved. View Solution.
-
Select timestamp interval on leap year
Hello, i tried to select a timestamp interval on leap year with following action select to_timestamp_tz('20000301 +0100','yyyymmdd tzhtzm')+INTERVAL '-3' YEAR from dual; The result is an error: ORA-01839: date not valid for month specified the year 2
-
Can I get adobe flash player on iPad
Hi can I get adobe flash player for iPad some websites require it