How to use analyze, control

Hello friends,

Hello. I hope that you all made great.

I have a query that runs for a long time.

I need to know the query using the COMMAND ANALZE statistics.

Can someone tell me how to use the Analyze command with an example just for clairification.

Thank you/Kumar

Some information on the collection of statistics:

http://www.Oracle.com/technetwork/database/focus-areas/bi-Datawarehousing/TWP-optimizer-stats-concepts-110711-1354477.PDF

Tags: Database

Similar Questions

  • How to use and control the tabs?

    Sorry for such a general question, but I use Firefox with older versions of Mac OS x for years and have just been struck by this brand new and I have no idea on your tabs, "new tab page" etc. Can you just send me some documents so I can understand what they are and how to use them?

    All I see on my headers Ff are all sorts of legs that have no relevance to me, like 'how to stop Firefox from... '. "(twice), a few other symbols Ff and other"tabs"I don't know everything." All the do is filling up a bar line.

    Thank you-

    You are welcome.

    If you have any other questions feel free to ask them.

  • How to use the control quantity for several sliders in the basic settings window

    In a Webinar instructor (Chris Orwig) showed how to make multiple adjustments in the base Panel in the develop module.  Then, he showed how close the Basic module by clicking the small triangle at the top of the module.  The Basic module closed when it made a single control bar and the cursor appears instead. This move allowed the instructor set all previously defined parameters of basic module at the same time.  I tried to do.  But when I close the base module that no control bar and the slider appear.  Any suggestions why this is the case?

    I use Lightroom 5.4 and OS 10.9.2.

    Obviously, he wasn't in the base Panel, but in the adjustment brush:

    By clicking the triangle at the end of the red arrow, you get this:

    And there is your cursor effect.

    HAL

  • How to use transaction control extensions?

    Hello

    Anyone worked on transaction control extensions?

    The requirement:

    each project will have a flag associated with him; Y or N

    the user will enter his timesheet in OTL with the project

    If the project includes the flag, then it is OK to use, otherwise if the project includes the N indicator, then an error message is displayed on the screen.

    Can you please provide some examples of code?

    Thank you.

    Kind regards

    Yuvraj

    1 Add the flag of de FACTO to the project, it will be saved in attribute10. Thus in the tc_extension the x_attribute10 will be used to check.

    2. create a message, for example: XX_PA_TEST_ERROR1, in DNF Messages, when demand is projects.

    3 change the procedure for extension of client:

    CREATE OR REPLACE PACKAGE BODY APPS. PATCX AS

    PROCEDURE tc_extension)

    X_project_id NUMBER

    X_task_id number

    X_expenditure_item_date AS

    X_expenditure_type IN VARCHAR2

    X_non_labor_resource IN VARCHAR2

    X_incurred_by_person_id number

    X_quantity IN NUMBERS by DEFAULT NULL

    X_denom_currency_code IN VARCHAR2 default NULL

    X_acct_currency_code IN VARCHAR2 default NULL

    X_denom_raw_cost IN NUMBERS by DEFAULT NULL

    X_acct_raw_cost IN NUMBERS by DEFAULT NULL

    X_acct_rate_type IN VARCHAR2 default NULL

    X_acct_rate_date DATE default NULL

    X_acct_exchange_rate IN NUMBERS by DEFAULT NULL

    X_transferred_from_id IN NUMBERS by DEFAULT NULL

    X_incurred_by_org_id IN NUMBERS by DEFAULT NULL

    X_nl_resource_org_id IN NUMBERS by DEFAULT NULL

    X_transaction_source IN VARCHAR2 default NULL

    X_calling_module IN VARCHAR2 default NULL

    X_vendor_id IN NUMBERS by DEFAULT NULL

    X_entered_by_user_id IN NUMBERS by DEFAULT NULL

    X_attribute_category IN VARCHAR2 default NULL

    X_attribute1 IN VARCHAR2 default NULL

    X_attribute2 IN VARCHAR2 default NULL

    X_attribute3 IN VARCHAR2 default NULL

    X_attribute4 IN VARCHAR2 default NULL

    X_attribute5 IN VARCHAR2 default NULL

    X_attribute6 IN VARCHAR2 default NULL

    X_attribute7 IN VARCHAR2 default NULL

    X_attribute8 IN VARCHAR2 default NULL

    X_attribute9 IN VARCHAR2 default NULL

    X_attribute10 IN VARCHAR2 default NULL

    X_attribute11 IN VARCHAR2 default NULL

    X_attribute12 IN VARCHAR2 default NULL

    X_attribute13 IN VARCHAR2 default NULL

    X_attribute14 IN VARCHAR2 default NULL

    X_attribute15 IN VARCHAR2 default NULL

    X_msg_application IN OUT NOCOPY VARCHAR2

    X_billable_flag IN OUT NOCOPY VARCHAR2

    X_msg_type OUT VARCHAR2 NOCOPY

    X_msg_token1 OUT VARCHAR2 NOCOPY

    X_msg_token2 OUT VARCHAR2 NOCOPY

    X_msg_token3 OUT VARCHAR2 NOCOPY

    X_msg_count certain number NOCOPY

    X_outcome OUT VARCHAR2 NOCOPY

    p_projfunc_currency_code IN VARCHAR2 default null

    p_projfunc_cost_rate_type IN VARCHAR2 default null

    p_projfunc_cost_rate_date to DATE default null,

    p_projfunc_cost_exchg_rate NUMBER null default

    x_assignment_id IN OUT NOCOPY number

    p_work_type_id NUMBER null default

    p_sys_link_function IN VARCHAR2 default null

    By default P_Po_Header_Id in null NUMBER

    By default P_Po_Line_Id in null NUMBER

    P_Person_Type IN VARCHAR2 default null

    P_Po_Price_Type IN VARCHAR2 default null

    , P_Document_Type IN VARCHAR2 default null value - added these for R12

    P_Document_Line_Type IN VARCHAR2 default null

    P_Document_Dist_Type IN VARCHAR2 default null

    By default P_pa_ref_num1 in null NUMBER

    By default P_pa_ref_num2 in null NUMBER

    By default P_pa_ref_num3 in null NUMBER

    By default P_pa_ref_num4 in null NUMBER

    By default P_pa_ref_num5 in null NUMBER

    By default P_pa_ref_num6 in null NUMBER

    By default P_pa_ref_num7 in null NUMBER

    By default P_pa_ref_num8 in null NUMBER

    By default P_pa_ref_num9 in null NUMBER

    By default P_pa_ref_num10 in null NUMBER

    P_pa_ref_var1 IN VARCHAR2 default null

    P_pa_ref_var2 IN VARCHAR2 default null

    P_pa_ref_var3 IN VARCHAR2 default null

    P_pa_ref_var4 IN VARCHAR2 default null

    P_pa_ref_var5 IN VARCHAR2 default null

    P_pa_ref_var6 IN VARCHAR2 default null

    P_pa_ref_var7 IN VARCHAR2 default null

    P_pa_ref_var8 IN VARCHAR2 default null

    P_pa_ref_var9 IN VARCHAR2 default null

    P_pa_ref_var10 IN VARCHAR2 default null)

    IS

    BEGIN

    X_outcome: = NULL;     -Initialize output parameter

    X_msg_type: = "W";     -Parameter indicator initialization error/warning

    -Add your logic of Transaction control Extensions here

    IF X_Calling_Module = "PAXVOTCB' AND X_attribute10 = 'Y' - it will BE launched for the time sheet only. Learn more about the calling module in the Client Extensions guide

    X_msg_count: = 1;

    X_msg_type: = 'E ';

    X_Outcome: = 'XX_PA_TEST_ERROR1 ';

    END IF;

    -Add your logic of Extension of Transaction control for warnings here.

    -Always encode your last warning section. Before returning all of your

    -X_msg_type parameter to 'W' to the warnings.

    EXCEPTION

    WHILE OTHERS THEN

    -Add your logic here of exception handling

    NULL;

    END tc_extension;

    END PATCX;

    /

  • How to use the control commandButton within the works of carosuelItem in one click? ADF

    Hello
    IM using Mercile componet in Jspx page. Inside the carouselItem, Im using af:commandButton to MI to property Action calling a method in the managed bean, but when I click on the command button first time it does not call the method, but when still Im clicking the CommandButton even second time, which he calls the method that is appropriate.
    How to call the method in the click.

    Kind regards
    Felix

    Felix - as stated earlier a click on an element of the carousel (or an element in this article) is affecting first the development on this map.
    If this is the event you want to respond to, and then you can code something in the CarouselSpinListener of the af:carousel component.

  • How to use the control host for creating folders

    I want to create a folder called abc in my C drive using forms 6i.
    How can I do this by using the Host command?
    Host('MD C:\ABC');
    

    François

  • How to use a control to change the part of array of strings? Insert in the string table?

    Please see the attached illustration.  The paintings of two strings which I'm trying to maniuplate are surrounded and the value is (bad) highlighted in yellow.

    It is a part of a Subvi on a comprehensive program where I address three different cDAQ chassis, which are named cDAQ9188-TBL01-Remote, remote-TBL02-cDAQ9188, cDAQ9188-TBL03-distance max.

    I intend to have three separate executables running simultaneously but independently, each dedicated to a different frame.  Rather than manually changing the only integer and create a new Create_Task 002 and 003. VI for each of them, I would have the whole selectable by the user.  Simple 1, 2, or 3 before starting the program and inserted it in the correct place (cDAQ9188-TBL0X-remote X of the location).

    I managed to insert characters in the simple strings, but nothing seems to work with table 1 d of string.  Is there a chance for this or should I be building my channels tables quite differently?

    You'll just have to change the 1,2,3,... in your tables of strings with the appropriate format specifier, then add digital control and two knots in String Format and Bob is your uncle.

  • How to use the control ring before the G15

    Steps to set up the control ring before the G15 are difficult to follow in the guide.  Any help would be appreciated.

    Hi socaljd!

    Thanks for posting.

    When setting this up, there are a few things to know.  In the upper part of the graph in the menu to set the dial is M, AV, TV, and P.

    M: manual mode

    AV: Aperture priority mode

    TV: In the shutter priority Mode

    Program P: mode

    In each of them, you must define what function is controlled by the dial to shoot in this mode.  There are two settings to choose from, TV: shutter speed and AV: opening.  For example, in mode manual m: set it to TV, the dial will control shutter speed while you are shooting in manual mode.

  • How to use my iPhone as a TV remote control

    Can how I use my iPhone as a TV remote control

    I do not have a generic answer

    You may need to start with your content provider-

    Some like FLAT offer this possibility in their app where you can use the iPhone as a remote control for the part of the satellite TV - do all the normal things a remote

    http://www.tomsguide.com/us/use-iPhone-as-remote, news - 21201.html

  • Manual or how to use the ExpressCard Remote control Mobile HP Media Center

    My HP Pavilion dv7-1448dx-product # NV213UA #ABA.
    I'm running Win 7 Ultimate x 64 OEM.

    I searched HP and found 1 photo of my card ExpressCard Mobile HP Media Center remote control, I found all the descriptions of component and everything BUT how to use it?

    Where can I get information on how to use the "card ExpressCard Remote control Mobile HP Media Center"?

    Deborah M souls.

    Deborah M souls

    Hello

    Are you talking about the next device? How to install and how to use information is here:

    Express Card Media Center

    Kind regards.

  • How to use control arrays

    Is there a tutorial on how to use control arrays in LabWindows?

    It is quite simple to create in IUR, but the coding is not what I was hoping.

    I tried this

    for (iLoop = 0; iLoop = iNumberofControls; iLoop ++)

    SetCtrlVal (Panel, CRTLARRAY [iLoop], value);

    Hello

    I am aware of the manual, http://zone.ni.com/reference/en-XX/help/370051T-01/cvi/uiref/programming_with_control_arrays/and the userint\ledctrlarray.cws (very) brief example

  • How to use visual basic to control activex for windows CE?

    How to use Visual basic (any version) to make the web of activex controls that can be used in windows ce 6.0?

    Hello

    I suggest you to ask your question at the following link.

    http://social.msdn.Microsoft.com/forums/en-us/category/VisualStudio

  • How to use the OEM grid control to find databases, not in archivelog mode?

    Hello

    We have currently 130 databases, say, if I want to come off as any database currently NOT in archivelog mode, is there a quick way to find out?

    using the OEM grid control

    or

    a similar trick,

    but really do not need to manually check each database.

    Thank you very much!

    This query works in 12 c - please run as SYSMAN.
    It is based on undocumented assumptions well + (AND key_value = "NOARCHIVELOG") +.

      SELECT *
      FROM SYSMAN.MGMT$GROUP_DERIVED_MEMBERSHIPS O ,
        SYSMAN.MGMT$TARGET T ,
        sysman.MGMT$AVAILABILITY_CURRENT st
      WHERE
      o.member_target_type     IN ('oracle_database', 'rac_database')
      AND ( t.target_type           ='rac_database'
      OR (t.target_type             ='oracle_database'
      AND t.type_qualifier3        != 'RACINST'))
      AND o. member_target_guid     = t.target_guid
      AND t.target_guid             = st.target_guid
      AND st.availability_status    = 'Target Up'
      AND ( EXISTS
        (SELECT *
        FROM sysman.mgmt$metric_current i
        WHERE I.TARGET_GUID = O.MEMBER_TARGET_GUID
        AND metric_name     = 'archFull'
        AND Metric_Column   = 'archTotal'
        AND metric_label    = 'Archive Area'
        AND column_label    = 'Total Archive Area (KB)'
        AND key_value       = 'NOARCHIVELOG'
        ));
    

    Another way to achieve the goal is to push the extended parameters (SELECT LOG_MODE FROM V$ DATABASE) on each DB and monitor the values they return to the repository. This is an example for a (slightly) different problem - http://iiotzov.wordpress.com/2012/08/08/how-to-use-the-new-oem-12c-metric-extensions-to-enforce-enterprise-wide-custom-policies.

    OEM repository has many other uses grand-http://iiotzov.files.wordpress.com/2012/05/oem-repository-a-second-look.doc, http://iiotzov.files.wordpress.com/2011/08/iotzov_oem_repository.pdf

    Lordane Iotzov
    http://iiotzov.WordPress.com/

  • How to create and use Webservice using WSDL controls in weblogic portal10.3

    I have WSDL, how to create webservice control using WSDL in portal weblogic 10.3 and use these controls to call the Web service methods?
    Please give me the links of documents for this.

    Thank you

    Published by: user9041086 on August 12, 2010 09:26

    See the discussion below

    How to create and use Webservice using WSDL controls in weblogic portal10.3

    Thank you
    Vincent Sarvabatla

  • How to use the version control (CVS) with JDev10.1.3

    Hello

    I tried Googling on how to use CVS of JDEV10.1.3 to maitain source and version control. Did not find anything. Help, please...

    Thank you

    http://www.Oracle.com/technology/products/jdev/Viewlets/1013/cvs_viewlet_swf.html
    The online help in JDeveloper will have more information for you.
    Also a google for CVS JDeveloper come to this for example:
    http://www.idevelopment.info/data/programming/change_management/jdeveloper9i_source_control/PROGRAMMING_Creating_a_CVS_Module_and_JDeveloper9i_Workspace.shtml

Maybe you are looking for