How the importance of the "advice" in a SQL query when optimizing the query?

I'm tuning an application (Documentum) and the query contains advice. See the request below for example... a very simple example to show the point; actual queries are one more page of time with several joins.

During approval of the application (possibly adding new indexes), how is it important to grant the request WITH ADVICE, or can I get advice from the setting process? It's the FORCE_ORDER indicator.

Select / * + SORTED * / object_name dm_sysobject_s;

Welcome to the forum!

Whenever you post, provide your Oracle 4-digit.
>
I'm tuning an application (Documentum) and the query contains advice. See the request below for example... a very simple example to show the point; actual queries are one more page of time with several joins.

During approval of the application (possibly adding new indexes), how is it important to grant the request WITH ADVICE, or can I get advice from the setting process? It's the FORCE_ORDER indicator.

Select / * + SORTED * / object_name dm_sysobject_s;
>
The overall goal is to have NO clues in the production code.

Advice would normally be to help determine why Oracle has not chosen the best plan for the work to do. Once you know which plan is best seeks the Oracle to use this plan without the need to add a hint to do.

Tips are sometimes necessary (e.g. the DRIVING_SITE hint) and for batch processes that operate on independent tables (intermediate tables) APPEND it hint is used oftne.

Who put the tip in the Documentum query? If she was not part of your own people to be careful if you decide to remove it.

When you have a query that is already at work that has a hint of make you that get the current execution plan before you make changes to the query. You will need this plan after that any withdrawal "tuning" or suspicion that do you to make sure that the plan has not changed.

Tags: Database

Similar Questions

  • How to create a connection for Toolkit CVI/SQL string when connecting to SQL Server 2008

    I tried to connect to my database of MS SQL Server 2008 for two days using the CVI/SQL Toolbox with no luck.  I use the function of connection BD and I tried a lot of different formats for the connection string with no luck.  I get an error "SQL Server doesn't exist or the access denied" after a long pause, trying to connect.  Anyone know what's the right format for this string?  I even setup of SQL Server on my local machine and I still not able to get the right format for the connection string.

    -Tom

    I have successfully connected to the database, I thank you all for your help.  It was a combination of errors of syntax and configurations that had to be changed.

  • How do I get the data of "Regulatory BOM" Formulation with SQL query output

    Hello

    We would like to implement a State of BiPublisher that displays "Regulation BOM" (wording-> click on TAB Formulation on exit Popup-> TAB Composition) information table.

    How could get us this information with an SQL query?

    Thank you

    Annarosa

    Hi, given 'Regulatory BOM' output of the Formulation are more complicated than expected. Attached is an example. You can test and make the appropriate changes to your report.

  • How to import itunes library and sides of itunes on the pc to new mac

    Hello

    Need help because I have recently taken the plunge and moved from PC to a Mac. I have can´t work is how to import my itunes library and the overall rating. in my opinion, it should be a simple thing but so far, all my efforts and solutions online did not work.

    I tried the data migration. This has created a new user. I thought that I could transfer the files in the set (all CD), but when I click on a song in the new user, it couldn t find the file. FYI I had consolidated the library itunes beforehand.

    I also tried to use an external HD drive. Same result even if I managed to put all my music on. I figured out how to export my rankings. Charge of their place and it worked until I clicked on a song and it couldn t find a file.

    This really should be simple so all advice very welcome.

    Thank you

    See make a library of portable split. A portable library can be moved from one platform to the other while keeping the ratings, playlists, etc. You can move the data over a network, or use an external drive. If you are using an external drive, so that you may need to copy the library twice larger Windows disks are NTFS format that OS X can read natively, but not will not write. And iTunes must be on a recordable disc.

    TT2

  • How to import the structure of the catalog in other machines.

    Hello

    I have two requests. :-

    (1) I have a clothing catalog on my machine that I created in VAC. How to import this catalog structure in the other machines as well.

    (2) how to specify CatalogId in my project if I have multiple catalogs in my project.

    A single catalog, I used to mention catalog Id in catalogTools.properties in /atg/commerce/catalog/catalogtools.properties as:--

    defaultCatalogId = catalog30001

    How to make for several catalogues.

    Please advice.

    Thank you

    1. Go to the path of Jacks dyn/admin

    say in this case u created the ACC catalog data, go to/atg/commerce/catalog/productCatalog jacks

    Run provide name of descriptors section. under the section "operation tags XML on the repository.

    It will export all the data for some component and it is dependancies.if u wan to disable dependencies specify skiP-references = 'true '.

    To import and export data, you can use/ATG_HOME/bin/startSQLRepository command only in dev envirnoment.

    startSQLRepository-m ModuleName-import/export export_file_name-repository repository_component_full_path

    for example: -.

    startSQLRepository m Votre_module-export export.xml - repository/atg/commerce/catalog/ProductCatalog

    startSQLRepository m Votre_module-import export.xml - repository/atg/commerce/catalog/ProductCatalog

    Please make sure that you module is able to connect to the database, otherwise jtdatasource exception will come, not saying do not able to connect Datasouce atgmysqldb (default db configured in the jtdatasoruce property)

    Also if you want to export full db, use all the argument.

    startSQLRepository m Votre_module-export all the export.xml

    2. you have several options for setting catalogid in profile.

    • Use multisite and assign the default catalog to individual sites,
    • Set catalog to the user regiestered profile.
    • Usage scenario to assign the catalog profile based on rules.
  • How export/import the database from the Tools menu in sql developer.

    Hello

    I need to export the database to a server and import it on another server db using the export function of database under the Tools menu in SQL developer. How to import it? This is for Oracle database 10g.

    Thank you

    Hello

    You can do it, but I do not recommend because sqldeveloper could eat all the memory of the system to analyze the script. Now the question is do you have also opted for storage option when you export, if yes make sure that similar tablespace exists or available in env b. Also if you want to use the generated sqldeveloper file you can run this file from sqlplus session

    sqlplus newuser/password
    sqlplus > @myexport.sql

    But my advice or suggestion or recommendation to be, you should consider using export/import or datapump but the decision is yours. Hope this helps

    Concerning

  • How to import addresses from my other computer? I have exported from my desk, now I need to copy in the tablet.

    Basically, how you import a file that has been exported to my other computer? Two computers use Thunderbird.

    Open Address Book window.
    The menu bar, select Tools-Import

  • How to import only 1 album to icloud on ipad - instead of all my pictures from the last 10 years

    I recently returned from a trip - I took about 600 photos on my iphone that I put in an album and want to show it to my family. They are uploaded to icloud (I got a plan of 200 GB in total about 20 000 photos/videos) and sorted into an album I created.

    I would like to get this album on my ipad (which currently has no pictures on this topic) to show everyone. How only import album 1 of icloud on my ipad? It seems that I have all of 2006 - present or anything. Any help would be greatly appreciated!

    If you enable iCloud library then Yes each photo will be added to your iPad.

    As an alternative just activate iCloud photo sharing on the iPad, also enable it on the phone (no need to disable iCloud photo library on the phone if you do not want), create a shared album using photos from your last vacation, you should then be able to view them on the iPad

  • How to import the old iMovie library

    Searched the Internet but nothing helped.

    I finally decided to use the new iMovie app (version 10? 2013 version? is the one with the purple icon). I have been using the old version of iMovie all this time. How to import my old library iMovie and projects in the news? What I found on the internet that says that when I start to iMovie for the first time, it is supposed to prompt me to do it, but it's not.

    Hold down the Alt/option key at startup to iMovie, so that it points to the library. After iMovie will remember.

  • How to import bookmarks from Safari if the importation does not show under the 'File' menu or elsewhere?

    I want to import my favorites, especially the 5.1.2 Safari bookmarks bar. The Firefox info page says to use "Importing" it under 'File' in the menu dropdown. It does not appear on my version of Firefox 8.0.1.

    How to import my favorites?

    https://support.Mozilla.com/en-us/questions/902948

    Thank you

  • I want to import bookmarks from Safari on same Mac computer. Said Firefox Help Bar Menu/file/import. My Firefox doesn't have the file/import option. How to import bookmarks from Safari to Firefox?

    I want to import bookmarks from Safari on the same Mac computer. Firefox
    Aide said use bar Menu/file/import.
    My Firefox doesn't have the file/import option.
    How to import bookmarks from Safari to Firefox?

    10.2 Firefox on Lion does not import and backup under Show all bookmarks or the file import wizard and the option to import during the installation of Firefox did not work. Private browsing is not on. How to import bookmarks?

  • How to import in Firefox preferences the herd of the deceased?

    I've been a user of the herd's long-term, which is now no longer supported. I switch to Firefox. How to import bookmarks, etc.. ? I can only find ways to import from IE, which I don't use.

    There are some instructions here:
    https://support.Mozilla.com/en-us/KB/importing%20bookmarks%20and%20other%20data%20from%20Flock

    But they warn that they can be updated. It will be useful.

  • How to import bookmarks Firefox to a hard drive in another PC Firefox browser? The hard drive containing the bookmark has been deleted from a computer whose mother is dead, but the hard drive can be recognized outside on the new computer.

    How to import bookmarks Firefox to a hard drive in another PC Firefox browser? The hard drive containing the bookmark has been deleted from a computer whose mother is dead, but the hard drive can be recognized outside on the new computer.

    See this support article:

    http://support.Mozilla.com/en-us/KB/recovering+important+data+from+an+old+profile

  • Firefox Mobile has a kind of key store? How to import the SSL client certificate?

    Firefox Mobile has a kind of key store? How to import the SSL client certificate?

    There is no built-in way to add client certificates to Firefox for mobile. We hope to add this in a future version.

    See this previous question for some (kind of complicated) ways to add client certificates in the current version of Firefox for mobile:
    https://support.Mozilla.com/en-us/questions/786035?s=certificate & As = s

  • How to import all times - not only the role of the iPhone camera?

    My hard drive with all my photos are dead. Fortunately I've stored them all on my iPhone. However when I go to import Photos to Mac I can import only photos taken on the device. How to import all times?

    However when I go to import Photos to Mac I can import only photos taken on the device. How to import all times?

    Your photos have been synchronized to the iPhone via iTunes?

    Then the mac cannot import photos from iPhone photos.  Synchronized pictures are not stored in the camera.

    Apple recommends to retrieve the synchronized photo sharing by e-mail.

    Sync photos to your iPhone, iPad, and iPod touch in iTunes - Apple Support

    • You cannot re-import photos synced from your computer to your device to your computer. You can only import photos from your device, or record, in your device to your computer. If you need recover photos synced from your device, send photos of the unit yourself. Then download the photos from the emails on your computer.

    It is heavy, because you cannot share multiple photos at once.

    Look for a third-party application that allows you to transfer pictures, for example http://www.wirelesstransferapp.com/

Maybe you are looking for