How we force a query to use transparently a hint, even if the index is not given in the query as a query rewriting.

How we force a query to use transparently a hint, even if the index is not given in the query as a query rewriting.

For example:

If the user runs a query select deptno, avg (sal) from emp group by deptno;

We want the optimizer to use a hint of result_cache with this request, and it should be transparent to the user.

Query should be rewritten to seamlessly

Select / * + result_cache * / deptno, avg (sal)

WCP

Group of deptno;

How can this feature we make? Please advice.

I checked the possibility of SPM and contours, but it is not clear if this rewrite is possible here.

Thank you and best regards,

Vikas Krishna

Surely dbms_advanced_rewrite is designed for this situation?

Tags: Database

Similar Questions

  • How can I buy an app using iTunes card? When I try, it will not treat... !

    How can I buy an app using iTunes card? When I try, it will not treat... !

    How do you mean "will not treat", what happens when you try to buy the app (if you get an error message which is his full text), and (according to means "will not treat") what have you tried to see if that fixes it?

  • I was forced to upgrade to Windows Live Messenger, but even after the update of XP and the office, I always an OnCatalogResult: error 0x0072ee6

    I was forced to upgrade to Windows Live Messenger, but even after the update of XP and the office, I always an OnCatalogResult: error 0x0072ee6

    Hi jcyho,

    Thanks for posting. I have a little trouble understanding your question. If possible you can post back with more detailed information, we can help you with this problem.

    Shawn - Support Engineer - MCP, MCDST
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • How can I get Firefox to use more than 12.5% of the capacity of my modem wireless?

    Only if you use Firefox, pages take forever to load. Use of my wireless router in looking, I found that it runs in general (with just Firefox, no other program running on the internet) to 0% or 0.0%, with few spikes up to 5%. Even when you try to view a video.

    When I download something, it could rise to more than 12.5%, for a bit, but I never saw that he hit even 50%.

    When I'm doing something which seems that it takes more ability to my router, Firefox instead takes a bit of my CPU, I'm guessing that there is a lot to ask where are the packets of data or something.

    I have no proxy, or restart Firefox update worked, nor has completely rebooted my computer. I adjusted my network connections down, then back to the top, and all that did was make it so that I can't watch youtube videos, which she usually takes me a few tries to load in a resolution that will not hurt my eyes, and it is with an add-on that makes it so that they are forced to play in HD!

    OK, it's alright with the ISP part - I thought, as had shown activity wireless adapter testing with IE more like what was expected.

    I've also updated the two FF (not something I want to do, as it rarely is compatible with my Add-ons update. My set up is fine, it works, why should I change to something that will not be?), and an update of the computer (which, Yes, I should do it more often. A final which will automatically but has been massive, however and literally broke my copy of FireFox. It was boring!).

    I still feel like it runs too low, but at least the videos loading and read without problem now-well, for the most part.

    They load, kick up an error for a few moments and then screen reload and then play correctly. I guess I can live with that.

  • How do I change fields to be Transparent when you fill out the form?

    I have created a form to be completed by others.  Right now, in mode complete all fields are blue.  When I click on them to type, they turn white as I want to, but when I finished typing and go click on another field, it becomes blue but still has the text.  It really sucks because I already have lines in places where people with type.  How can I change all the fields to be transparent or white, so they don't show up?

    It is not an actual color of the field it's a highlight color for the application. You can disable it via editing - Preferences - forms.

  • How can I create greeting cards using digital photos now that Microsoft Picture It is not compatible with Windows 7 Home Premium

    My old computer has Microsoft Picture It and I was able to create greeting cards using digital photos to my computer.   My new computer has Windows 7 Home Premium edition and I can't access on my computer greeting cards or create new ones.  I downloaded Windows Live, but who does not have an option to create greeting cards.    What suggestions do you have?

    Hello

    There are many programs available online that may have similar functions as the image what it program.
    I suggest that you use your favorite search engine and looking online for a similar program.


    Note: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    Kind regards
    Afzal Taher
    Microsoft technical support engineer

  • How can I activate my to use 10GbE ports (need to create new VMKernel) are not in the list of adapters.

    I have a running ESX Server.

    ~ # vmware-l

    VMware ESXi 5.0.0 updated 1

    When I run the lspci command, I get the following result.

    000:002:00.0 Network controller: Intel Corporation I350 Gigabit Network Connection [vmnic0]

    000:002:00.1 Network controller: Intel Corporation I350 Gigabit Network Connection [vmnic1]

    000:004:00.0 Network controller: Intel Corporation 82599EB 10 Gigabit Network Connection [vmnic2]

    000:004:00.1 Network controller: Intel Corporation 82599EB 10 Gigabit Network Connection [vmnic3]

    However when I list my network card I get the following

    ~ List of # esxcli network nic

    Name PCI Device Driver link speed Duplex MAC address MTU Description

    ------  -------------  ------  ----  -----  ------  -----------------  ----  -------------------------------------------------

    vmnic0 0000:002:00.0 igb 1000 Full 00:25:90:58:5 c: 3 c. 1500 I350 Corporation Intel Gigabit Network Connection

    vmnic1 0000:002:00.1 igb 1000 Full 00:25:90:58:5 c: 3d 1500 Intel Corporation I350 Gigabit Network Connection

    My 10GBE do not show I can't create a VMkernel system he t he ixgbe driver loaded, am I missing something I don't find really anything in what concerns this side by ensuring that the driver was responsible and that the NETWORK adapter is compatible.

    Can you check if this option is there in your BIOS "Default memory mapped IO above 4 GB option in the BIOS.". If Yes please turn it off

  • Graph of third bottom with the rendering of transparency at bottom even in the project.

    I had a lower third graphic for a short film. It has transparency and must be published in the published book.

    When I went out, AE adds a background image of another project. This project is not yet on the disk I work off of it. I tried made as ProRes 4444 and Animation, but whenever this background image appears again.

    I tried trashing the prefs, but that did not work.

    I'm losing my mind that looms date limit above my head. What the hell is going on?

    Purge all cache and memory, and then try again.

  • How to prevent any user to create any folder sharing, even if the user has admin rights?

    I'm managing a domain controller with Windows Server 2008 R2. My requirement is to restrict any user in the domain to create any file sharing, although they have administrator rights. I want to achieve this through Group Policy. Help, please. Only the delegate user can have access to create the shared folder.

    Please suggest.

    This issue is beyond the scope of this site and must be placed on Technet or MSDN
  • Toshiba 19DV615Y: 12V battery - how many amperes / hour would be used?

    REF TV / DVD 19DV615Y - when on the campsite using a 12 volt battery, how many amperes / hour would be used.
    Info sought to assess the size of the required inverter.

    Found a few details about the ability of power.
    The camera seems to consume energy 38 Watt max

    Formula:
    Watts = amps x Volts
    Amps = Watts / Volts

    38 W / 12 V = 3.16 A

  • How to force Firefox to Android to use LTE instead of WiFi?

    Firefox for Android AUTOMATICALLY reconnects to the WiFi if I have NEVER connected to the WiFi in the past. Sometimes I want to use WiFi, and sometimes I want to use LTE with Firefox. How can I force Firefox to STOP using the WiFi connection and use the LTE connection? Note that simply kill WiFi on Android does not work; Firefox simply uses his past knowledge of the WiFi network and access code to launch WiFi alone. I HATE the apps that think they know better than the user...

    Sorry, the user misfires (once again for the millionth time, I guess).

    WiFi was set to "Auto-connect" at the launch of applications of high-usage data. Switch is in settings, connections, WiFi (tap to set up). I never watched here because I've always had the 'OFF' WiFi and thought (wrongly) that there was no switch configuration for a feature that was 'OFF '. Live and learn. Sorry again to waste your time; Maybe this will help another smartphone newbie...

    Thanks much for your quick, complete and CORRECT answer to my question, Roland.

  • How to force firefox to use internal device fonts not Web page fonts.

    How to force firefox to use internal device fonts not Web page fonts.

    You can set browser.display.use_document_fonts to 0 in: config. Note that this will remove the style of sites and may result in websites being unreadable.

  • How to force use of the VM a specific host in a cluster?

    I use vSphere vSphere Web Client 5.5 thru 5.0U2.

    When I create a virtual machine, I specify a host in a cluster as computing resources.  However, when I turn on the virtual machine, it uses another host.   How can I configure the virtual machine to use only a specific host in the cluster?

    Use the DRS-> Virtual Machine Options to disable the level of automation for the virtual machine. Who will be actually anchor her to this host. You could also put the VM on local storage or attach too to a resource (DVD-ROM) on this host, but the road of the DRS is the best way to go.

  • I bought an iPad mini4 specifically for use with a pro Phanton3 drone. It will NOT connect the remote control with the drone. They say it's a problem of software iPad mini 4 9.3.3. How can I remove and reload it.

    How can I uninstall 9.3.3 an mini iPad iOS 4 and reinstall? I bought it specifically for a ghost Pro 3 drone, and it does not work with the drone. Someone had luck with uninstalling/reinstalling. At this point, I lost a LOT of money.

    Apple frowns on a decline in the ratings.

    While Apple allows, try downgrading to 9.3.2.

    For a limited time Apple will return you to the previous version.  Do not hurry.  This period takes up to a week.

    See brownox second post here:
    https://discussions.Apple.com/thread/6545455
    and
    http://www.GottaBeMobile.com/2014/09/17/downgrade-iOS-8-to-iOS-7/

    see which versions are allowed:
    http://API.ineal.me/TSS/status

    --------------------------------------------------------------

    See the arizonacat post and others on this topic.

    https://discussions.Apple.com/thread/5337442?TSTART=0

    arizonacat notes these sites:

    --------------------------------------------------------------

    See the second procedure in reloading the software from scratch.

    Re-boot ipad.

    Press on and press and hold the sleep/wake button until a Red slider appears, and then drag the slider. Press and hold the sleep/wake button until the Apple logo appears.

    https://support.Apple.com/en-us/HT201559

    Force power down if above give it trouble you.

    At the same time hold the sleep/wake button and the Home button. Ten seconds or more.  Keep until the Apple logo appears.

    more information on the re-start:

    http://iPad.about.com/od/iPad_Guide/SS/how-to-reboot-your-iPad-power-off.htm

    This these tips from MichelPM to improve performance:

    https://discussions.Apple.com/message/29504169#29504169

    https://discussions.Apple.com/message/29504311#29504311

    Restore factory settings by loading the latest version of the ios that will support your machine:

    (1) make a full backup of your device if necessary.  Is two times better - cloud and computer.

    https://support.Apple.com/en-us/HT203977

    (2) three methods of restoration of your ipad.  [simple as abc]

    2.a) "you can use iTunes to restore your iPhone, iPad or iPod touch to factory settings and the latest version of iOS."

    http://support.Apple.com/kb/HT1414?viewlocale=en_US & local = en_US

    2.b) be a little more insistent: "you can put your device iOS in recovery mode, then restore it via iTunes.:

    http://support.Apple.com/en-us/HT201263

    3.c) as a last resort, you might consider DFU (Device Firmware Update).  This could void your warranty.

    http://www.IMore.com/Tip-put-iPhone-iPad-DFU-mode

  • I'm unable to empty a jpg of the Trash because the element is used. How can I find what is using the element?

    I'm unable to empty a jpg of the Trash because the element is used. How can I find what is using the element?

    option of command, escape on the keyboard and then on the force quit button for all applications listed

    then empty the trash

Maybe you are looking for