Can i Use two qery hints in one SQL(Oracle)?

Hi,
Can i Use two Query hints in one SQL(Oracle)? USE_HASH and No_Merge
Thanks

user10916886 wrote:
Can I use like
/*+ USE_HASH(X,Y) NO_MERGE(X) */
will this work?Not really: NO_MERGE relates to mergeable views, not base tables. So whilst the USE_HASH may result in a hash join between the tables X and Y, USE_MERGE will be ignored for X.
As hoek says, however, HINTs should be a last resort only, and if they're to be used at all you're best to stay with those that don't involve explicit objects, like ALL_ROWS, FIRST_ROWS_10, etc.
user10916886 wrote:
Im my database, if i don't use query hints. The expalin plan uses Nested loops, hence the query takes a lot of time.You would be better trying the ALL_ROWS hint here, instead of USE_HASH.
Edit
The optimizer, however, will have chosen NESTED LOOPs where it did because it believed that to be the most efficient data retrieval path with the information that it had to hand. So, if your statistics are comprehensive and up-to-date, yet the optimizer is continually opting for the less efficient plan, there's something else wrong, and HINTs are only masking that problem in the short-term.

Similar Messages

  • Can i use two apple tvs with one itunes account?

    can i use two apple tvs with one itunes account?

    yes and you can use more then 2
    just don't give them the same name

  • How can I use two differant iphones on one itunes

    I can i use two differant iphones on one itunes, and keep the content seperate?

    You can sync as many iphones/ipod/ipads as you like to one computer.
    Each is different and is recognized as such

  • Can I use two Time Capsules? one as an extension of my laptop (for music and video storage) and the other one to back up everything from the laptop and  Time Capsule (for music and videos)

    Can I use two Time Capsules? one as an extension of my laptop (for music and video storage) and the other one to back up everything from the laptop and  Time Capsule (for music and videos)

    Not via Time Machine.   It cannot back up from a network location.
    The 3rd-party apps CarbonCopyCloner and ChronoSync may be workable alternatives.
    EDIT:  And, if you're going to do that, you could back up from the Time Capsule to a USB drive connected to the TC's USB port.  Second TC not required.
    Message was edited by: Pondini

  • How can I use two single-dimensional arrays-one for the titles and array

    I want to Use two single-dimensional arrays-one for the titles and one for the ID
    Could everyone help me how can i write the code for it?
    Flower
    public class Video
    public static void main(String[] args) throws Exception
    int[][] ID =
    { {145,147,148},
    {146,149, 150} };
    String[][] Titles=
    { {"Barney","True Grit","The night before Christmas"},
    {"Lalla", "Jacke Chan", "Metal"} };
    int x, y;
    int r, c;
    System.out.println("List before Sort");
    for(c =0; c< 3; ++c)
    for(r=0; r< 3; ++ r)
    System.out.println("ID:" + ID[c][r]+ "\tTitle: " + Titles[c][r]);
    System.out.println("\nAfter Sort:");
    for(c =0; c< 3; ++c)
    for(r=0; r< 3; ++ r)
    System.out.println("ID:" + ID[c][r]+ "\tTitle: " + Titles[c][r]);

    This is one of the most bizarre questions I have seen here:
    public class Video
    public static void main(String[] args) throws Exception
    int[] ID = {145,147,148, 146,149, 150};
    String[] Titles= {"Barney","True Grit","The night before Christmas", "Lalla", "Jacke Chan", "Metal"};
    System.out.println("List before Sort");
    for(int i = 0; i < Titles.length; i++)
       System.out.println("ID:" + ID[i]+ "\tTitle: " + Titles);
    System.out.println("\nAfter Sort:");
    for(int i = 0; c < Titles.length; i++)
    System.out.println("ID:" + ID[i]+ "\tTitle: " + Titles[i]);
    Generally you don't use prefix (++c) operators in you for loop. Use postfix (c++).
    Prefix means that it will increment the variable before the loop body is executed. Postfix will cause it to increment after.

  • Can I use two iPod touches with one computer?

    I have my iTunes library on my computer for my iPod touch but we got my daughter an iPod touch for Christmas. Can I use two iPod Touches and only one computer for both and yet still have different iTunes Libraries?

    Click here for options.
    (49891)

  • How can I use two screens to display one window

    Before Mavericks, MAC OS allowed you to use two screens (next to each other) in order to display one (big) window of one application.
    That would mean that a window would start on your left screen en would continue on the right screen.
    With Mavericks, however, this not possible any more. The window of the application can only be seen on ONE of the screens (i.e. the left one).
    Can any one tell me whether I've missed certain options or how to adjust my settings in order to get this feature back?

    Hey CGNL,
    First, if you haven't already, set up the displays as an extended desktop:
    Choose Apple menu > System Preferences, click Displays, then click Arrangement.
    Follow the onscreen instructions.
    Then, use Mission Control preferences to uncheck/turn off the option for "Displays have separate Spaces":
    Choose Apple menu > System Preferences, click Mission Control
    Uncheck "Displays have separate Spaces"
    That should enable you to stretch whatever window you want across multiple displays.
    via: OS X Mavericks: Connect multiple displays to your Mac
    http://support.apple.com/kb/PH13814
    and
    OS X Mavericks: Mission Control preferences
    http://support.apple.com/kb/PH13925
    Welcome to Apple Support Communities!
    Have a good one,
    Delgadoh

  • Can I use two rewards certificates in one transaction at a Best Buy store?

    Since you have to spend at least the value of the My Best Buy reward certificates before tax and shipping, I thought it would be best to issue the certificates in smaller amounts (maybe $5 instead of $15).  If I do that, and I have multiple certificates of $5, can I redeem them all toward a single purchase?  For example, if I want to buy a video game, can I apply multiple $5 reward certificates toward that purchase?
    Also, can My Best Buy reward certificates be used toward a pre-order of a game? 
    Are there any restrictions on what they can be used for, other than not being able to be used for Best Buy gift cards or e-gift cards?
    Thanks for answering my three questions about My Best Buy Rewards

    Hello kre1997,
    Those are three great questions!  Let me see if I can help provide answers.
    As long as the certificates are valid, you can apply two to a single purchase.
    A certificate can be applied to a pre-order, but only on BestBuy.com.
    The main exclusion is the purchase of gift card, but there are a couple others and you can those here.
    Thank you for posting to the forum, and please let me know if you have any other questions.
    Derek|Social Media Specialist | Best Buy® Corporate
     Private Message

  • Can I use two MI424WR routers in one house?

    Hello, I currently have one Fios provided router in my home but I need to move it so that the wireless signal reaches my master bedroom, which right now it doesn't, but if I were to move my router to another room I would be forced to move my computer desk and unfortunately I can't do that right now.  My question is can I acquire a second MI424WR router in which I can attach via coax cable and use it as a nonwireless router, by turning off the wireless, so I can use for internet access for my home PC that is connected via ethernet cable?  Thanks for any help.
    Solved!
    Go to Solution.

    myikul wrote:
    I found this online after some research:
    Verizon Coaxial Network Adapter
    Model #: ECB2200V
    I understand that I can use this adapter to get my signal to the computer but is it possible to use another router instead?  I ask because this network adapter has only one Ethernet jack and costs almost $80.  The MI424WR routers are like $30 on ebay and have 4 ethernet ports.  The ethernet ports are important to me because I have two computers at my desk and sometimes link a third.
    Yes if you only plan on using it as a MOCA bridge and switch. I would say the ones on Ebay are older and perhaps Rev, A-D and are not very good as a router with the newer speeds. Even as a WiFi access point for a second location, it might not work as well as the latest Rev. I.
    Just be sure you set the DHCP to off, do not use the WAN port, and be sure to set the LAN port to a different address other that the default 192.168.1.1, which would cause conflicts with your existing router. Use a decent bi-directional splitter at the new location to split the coax.
    This site may help. http://www.dslreports.com/faq/16077

  • Can we use two Communication channels for one Interafce

    Hi All,
    Can we achive this in XI .
    on basis of one value of field
    If we get a value X=0  then use CC1
    if we get a value X=1 then use CC2
    for Single Interface.........
    Regards

    Hi Gangadhar,
    i am working same scenario.
    the scenarios is
    Proxy->PI->JDBC
    the condition is
    IF Flag =0 it will sent to JDBC ,
    IF Flag =1 it will sent to file and Mail
    in mail it comes as a attachment.
    I have achived this scenario using multi mapping in IR.
    In ID  i have used one bussiness system as Abap related and one is Bussiness Service.In that Bussiness system i have assign two Communiction Channesl.
    In Reciever determination u have to select STANDARD and assing the recievers.
    In interface dermination u have to select ENHANCED.
    Please do these steps u r scenario will work fine.
    Thanks
    Ravi

  • Can I use two SIM cards with one iPhone5s? ie, switch phone numbers and plan, same carrier?

    I live where there is no Cell service in remote BC Canada.  Fortunately, we have highspeed Internet!  Thus, I have been using an iPod Touch 4th gen & Skype to make all my calls for a 2 or 3 years.  I travel a couple of times a month into cell coverage.  I plan to use my iPhone 5s on a iPad Data Package when in cell coverage.  I called and asked bell if I could do so if I bought an unlocked iPhone.  I was told yes, but recieving calls would be very expensive.  I have email notification and a phone number where voice mails are emailed to me, so am able to do without recieving calls in most cases.  However, certain situations lead to frustrating telephone tag.
    Just today, after receiving my unlocked iPhone 5s I realised that Bell also has a pay as you use plan that is very reasonably priced for cell calls only.  If I was able to switch SIM cards I could get both plans.  Thus if recieving a call or placing one was important I could just switch my SIM card.  Could that be done reasonably and practically?
    I would appreciate an answer to this question!
    Scott

    Let me see if i got this straight. You have two iDevices. One is an iPad, which uses 3G Data. The other one is an iPhone 5s. You plan on purchasing two plans, One thats has only 3G Data, and the other one that has only phone calls, and messages.The answer to your question is Yes. At least i done that with t-mobile USA. If your iPad is compatible with nano-sim cards, yes you can. If not, you will have to buy an iPad with nano-sim such as the iPad mini 3G. This is totaly possible.

  • HT4436 Can I use two iCloud accounts on one iPad

    My husband and I both have icloud accounts we set up on our iphones but share one ipad are we able sync both of our icloud accounts to the ipad? We would like both of our calandars, photos ect to be accessable on the ipad via the cloud. 

    You can set up a secondary iCloud account in system preferences > mail, contacts and calendars, click to add a new account, choose iCloud, click the 'create ID' button.
    Also see...
    http://support.apple.com/kb/ts4020

  • CAN I USE TWO SIM CARDS IN ONE IPHONE?

    I HEARED ABOUT A COMPANY MAKES KIND OF ADAPTATIONS TO INCLUDE TWO SIM CARDS IN THE IPOHONE 4 IS THERE ANY PROBLEM WITH THAT?

    Check this web
    http://rebelsimcard.com/rebel-2phone-case-iphone-4-dual-simcard.html 

  • Can we use two separate apple ids on one laptop to upgrade apps

    can we use two separate apple ids on one laptop to upgrade apps

    Welcome to the Apple Community.
    Only if you use two separate user accounts.

  • Can I use two different devices with different apple ID for backing up data on one machine without losing any data that was backed up with one device earlier?

    Can I use two different devices with different apple ID for backing up data on one machine without losing any data that was backed up with one device earlier?

    The link is to a discussion started on 12/18 in the FiOS Internet forum.  Here's the link I get now, however it is different than the link I pulled a few hours ago.  If this system changes the link again, it may not work.
    http://forums.verizon.com/t5/FiOS-Internet/Frustration-and-just-confused-with-internet-help-please/t...
    You can also look for the topic, "frustration and just confused" in the FiOS Internet forum.
    Here's a link that is in the thread that gives more detail.
    https://secure.dslreports.com/faq/15984
    Good Luck!
    P.S.  "Copper Contributor" is my "rank."  gs0b is my user name.
    If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer as Accepted Solution so others can see the solution to the problem.

Maybe you are looking for

  • W520 Dim panel suddenly going bright issue

    When I boot my machine, the internal panel is so dim I cant work with it. Its the equiv. of about 11 on the lenovo brightness scale of 1-15. the brightness control FN-pg-up has no effect - its already at its brightest (it thinks).  Fn-page down makes

  • Would it make a difference in performance with 8GB

    I would like to know if I opt to upgrade the memory from 4GB to 8GB in 13-inch: 2.4GHz Mac Book Pro, make a noticeable difference in it's performance? Regards

  • MacBook Air SuperDrive CD/DVD Won't Mount in Win7 Fusion

    I thought I'd share my experience with not being able to use my SuperDrive inside Win7 in a VMWare Fusion environment.  Problem:  When plugging in the SuperDrive, and selecting use in Windows, the drive is not available and the device does not pull d

  • ALV table issue after patching.

    Hi Experts. In our applications, there is a button. On click of that button an ALV list will be displayed in the POP-UP. First time when we click the button this works fine. After that the ALV list does not get displayed in the POU-UP. Every time we

  • Transports into Production

    I was told that in order to transport changes to an ODS or update rules, the data in the target ODS must be deleted prior to transport.  But, if you have a lot of data in an ODS in Production, how do you save the data if you need to do a transport? T