Question of enforcement

Hi all

I'm trying to get the execution plan for a query from command line like:

Set SERVEROUTPUT OFF;

ALTER session set statistics_level = "ALL";

SELECT / * + gather_plan_statistics * / fieldA, fieldB from myTable;

Select * from table (dbms_xplan.display_cursor (null, null, 'ALLSTATS LAST'));

I already add privileges to my user using the connection of the SYS user as:

Grant SELECT ON V_$ SESSION TO myUser

Grant SELECT ON V_$ SQL TO myUser

Grant SELECT ON V_$ SQL_PLAN TO myUser

Grant SELECT ON V_$ SQL_PLAN_STATISTICS_ALL TO myUser


I get this error:

SQL_ID  8kfd4vsgdvxuh, child number 0 
                                      
 declare     l_line varchar2(32767);     l_done number;     l_buffer
varchar2(32767) := '';     l_lengthbuffer number := 0;     l_lengthline
number := 0; begin   loop    dbms_output.get_line( l_line, l_done );
if (l_buffer is null) then      l_lengthbuffer := 0;    else
l_lengthbuffer := length(l_buffer);    end if;    if (l_line is null)
then      l_lengthline := 0;    else      l_lengthline :=         
length(l_line);    end if;   exit when l_lengthbuffer + l_lengthline >
:maxbytes OR l_lengthbuffer + l_lengthline > 32767 OR l_done = 1;
l_buffer := l_buffer || l_line || chr(10);      end loop;      :done :=
l_done;      :buffer := l_buffer;      :line := l_line;  end;

NOTE: cannot fetch plan for SQL_ID: 8kfd4vsgdvxuh, CHILD_NUMBER: 0
      Please verify value of SQL_ID and CHILD_NUMBER;         
      It could also be that the plan is no longer in cursor cache (check v$sql_plan)

Can anyone help?

Thank you!

NOTE: The use of Oracle Database 11 g Enterprise Edition Release 11.2.0.4.0

the plan seems more plausible than before: the expensive NL with 2 M iterations join disappeared and although the CBO used some misleading cardinalities I don't think that these errors have a decisive impact on the plan: the engine must build big enough intermediate results (1527K lines) which are grouped towards the end of the execution (BY GROUP of HASH in step 2). Perhaps you could improve the performance of reunification at an earlier stage (maybe the intermediate joints produce same duplicates) - but to answer this question an intensive analysis of the logic of the query would be necessary.

Tags: Database

Similar Questions

  • Question of enforcement without head

    I'm developing an application with waterfalls.

    I have headless_no_stop for the signature permissions.

    It is normal that, when I kill my app (from the Task Manager) and I open it again, it is not without a head?

    I do the following:

    -start up my phone

    -the app is without a head

    -i kill the application from the Task Manager

    i open the application

    -i normally close the application (do not force with the Task Manager)

    -l'application does not work in the background until the operating system restarts.

    Is it normal? Is it possible to reopen in headless mode? I try to call the service without a head from the user interface, but only "OS START the EVENT" open service without a head.

    You can call the part headless after init part user interface:

    bb::system::InvokeRequest request;
    request.setTarget("com.example.headless");
    request.setAction("bb.action.system.STARTED");
    request.setMimeType("application/vnd.blackberry.system.event.STARTED");
    m_invokeManager->invoke(request);
    
  • Defining access to the app ActionCam

    How to access the settings of the application of ActionCan feature? It is a question of enforcement and not a hardware issue.

    No, this app is just for simple mounting, do not to run your action cam. This is what PlayMemories Mobile is for.

  • When you try to install PDF Creator, I get an error message: "error 5 - failed to create the directory, access is denied."

    access denied for the creation of a directory

    When you try to install PDF Creator, I get an error message: "error 5 - failed to create the directory, access is denied."  How can I fix this?

    When you try to install PDF Creator, I get an error message: "error 5 - failed to create the directory, access is denied."  How can I fix this?

    Only when you try to install this application?

    What about BullZIP PDF Printer?

    (You can uninstall - trying to figure out if it's a problem of Windows or the question of enforcement.)

  • Connect App displays 'Wireless MB USB stick... "in the giant red banner streaming video

    Hi all. So I have not used my connect drive in about a month and today I tried to stream a video and was greated with a beautiful giant red banner at the top that says that «wireless stick is in MB USB...» "I guess this should disappear, but it doesn't not and trying to watch a movie, it is very distracting. I have a 64 gb to connect using an iPhone 6s. In addition, I found that some of my movies tend to stop and buffer on every 30 seconds until eventually they all stop. I've seen this happen on Visual records that are about 1.5 GB and more. If necessary I can post on this in another thread, but 2 birds 1 stone. video files are .mp4

    So, for the part of the banner red is only a question of enforcement or is there something wrong with my drive think it's stuck in usb mode?

    With streaming video, is there a size limit, or is there a problem of cache/buffer in the app?

    Thanks for the help

    App version 1.0.31 (1131)

    firmware 4.1.0 (2050)

    Connect the key to the computer and see if it will make a connection of MSC. Once it's properly eject it and try with the app. See if USB connection problem. If they try to charge the FW. If the problem persists after that it may need to be replaced.

    For videos. What is the transmission speed of the videos? The WS can only sink about 6 MB/s for a single stream. If you make 2 vapour for example everyone could do only 3 MB/s. If your video bitrate exceeds what can do the WS video will be buffer/stuttering. GoPro videos for example are too high of a flow of data flow of this device. If this is the case with your videos that will need to be converted to a lower bitrate.

  • Memory of understanding blackBerry Smartphones and applications

    Someone enlighten me please. I download an app - for example of GoogleMaps. I run it once, and then it remains in memory. Finally, as I open other applications, I get a message that my BB is low on the memory and asks if I want to delete an application. So if I understand correctly, when I remove the application, he is gone - is no longer available for me at all. What I want is simply to remove it from memory and be able to start it again at a later date. What Miss me?

    The strict answer to your question is NO - all apps, when installed, are installed to AppMemory. Now, if you want to ask if he can run, be arrested and run again... it is a question of enforcement.

    The GMail app module will not launch automatically when the BB is restarted... you need to launch it after a reboot. If you simply quit the app without doing as described above, the GMail module application will remain running.

    GMaps, looks on the other hand, have an automatic launch capability, especially if you share your location via Latitude. After a proper reboot (pull batt), if you see, in the Ribbon AppSwitcher, GMaps, then it is indeed to auto-launch. While I have found no setting to prevent that, you can always exit properly GMaps and that it stops.

    AppSwitcher tape can always be checked to see what is running. But it is not reliable 100%... There are applications that can continue to run, but not displayed in the Ribbon.

    Good luck!

  • custom layout and update the page elements

    Hello

    I'm working on an APEX application, I need a page to view issues and alternative options, such as only choose radio group or mutiple shoose by box. The user will then check the answers. After the answer questions, send the page to get the score.

    The presentation must be: separate regions by the kind of question. in each region, the question in the first line; the four options in the second line, the checkbox or a radio Fund; in the bottom of the page, there is a button "submit".

    The tables are designed as follows,
    create the table RULE_QA_SHEETS
    (
    SHEET_ID NUMBER of non-null,--ID for the answer of the question sheet
    Category NUMBER not null, - use a tmplate to build the leaf, for example, numbers of gender issue, easy or difficult
    PERSON_ID NUMBER not null,-the user who was answering questions
    DATE OF ANSWER_DATE,
    NOTE VARCHAR2 (4000 TANK)
    )

    create the table RULE_QA_SHEET_ITEMS
    (
    ITEM_ID NUMBER not null,--ID for the question in this form.
    SHEET_ID NUMBER not null,--master id of the table.
    QUESTION_ID NUMBER not null,--ID for the issue in the inventory.
    MEET VARCHAR2(30 CHAR) - the answer the user checked, will be compared to the inventory. Once the user to submit the page, this column will be updated.
    )

    I've not found a good report APEX model, and I can use dynamic content plsql to generate the layout but no idea how to upgrade the right answers.

    Everyone has the same experience, or give me a help, that would be great!

    Thank you!

    Chongwu says:
    Here is the connection info.
    Workspace: CHONGWU
    User: dev1
    Password: 1qaz2wsx
    Answers and the Question of enforcement 42990

    Could you please give me an example of this? page 15, pls help to control dynamic pl/sql region that generates the page layout.

    See page 150 in your application. I started with a copy of your page 15 and brought some changes in regions of dynamic PL/SQL to produce more semantic HTML by using ordered lists and labels. Labels provide also bigger clickable/tangible goals by answering the questions.

    declare
    
      i number := 1;
    
    begin
    
      htp.p('
      '); for q in ( select q.qa_id , q.question , q.answer_a , q.answer_b , q.answer_c , q.answer_d from rule_qa q where q.question_type = 'S') loop htp.p('
    1. ' || q.question || '
        '); htp.p('
      1. ' || apex_item.radiogroup(i, 'A', null, p_item_id => 'q-' || i || '-a', p_item_label => q.answer_a) || ''); htp.p('
      2. ' || apex_item.radiogroup(i, 'B', null, p_item_id => 'q-' || i || '-b', p_item_label => q.answer_b) || ''); htp.p('
      3. ' || apex_item.radiogroup(i, 'C', null, p_item_id => 'q-' || i || '-c', p_item_label => q.answer_c) || ''); htp.p('
      4. ' || apex_item.radiogroup(i, 'D', null, p_item_id => 'q-' || i || '-d', p_item_label => q.answer_d) || ''); htp.p('
      '); i := i + 1; end loop; htp.p('
    '); end;

    Some CSS is required for formatting required and to get the labels actually appear:

    ol.questions>li {
      margin-bottom: 1em;
      font-weight: 600;
    }
    ol.answers {
      margin: 0.5em 2em;
      list-style: lower-alpha outside;
    }
      ol.answers>li {
        clear: left;
        margin: 0.5em 0;
        font-weight: 400;
      }
      ol.answers>li span {
        display: inline-block;
      }
      ol.answers>li label.hideMeButHearMe {
        position: static;
        top: auto;
      }
      ol.answers>li input {
        float: left;
        margin: 0 0.5em 0 0;
        padding: 0;
        vertical-align: middle;
      }
    

    Finally, there is a simple process that records the answers in a collection of the APEX. Collections are frequently used apps Q & A and survey to store responses temporarily before their final transformation:

    declare
    
      answer varchar2(32767);
    
    begin
    
      /*
        Create or empty the APEX collection used to temporarily store the user
        responses.
      */
      apex_collection.create_or_truncate_collection('ANSWERS');
    
      for i in 1..50
      loop
        /*
          Dynamically capture the contents of each apex_application array...
        */
        execute immediate '
            begin
              :1 := apex_util.table_to_string(apex_application.g_f' || to_char(i, 'fm09') || ');
            end;'
          using out answer;
    
        wwv_flow.debug('apex_application.g_f' || to_char(i, 'fm09') || ' = ' || answer);
    
        /*
          ...and if there's a response then record it in the collection.
        */
        if answer is not null
        then
          apex_collection.add_member(
              p_collection_name => 'ANSWERS'
            , p_n001 => i
            , p_c001 => answer);
        end if;
    
      end loop;
    
    end;
    

    It appeals to a rather horrible dynamic assessment of the apex_application tables. As Howard points out, there is only 50 of these paintings, which can be limited if you plan to have more than 50 questions. A common way to avoid these two problems is to present only one question at a time (turn-off to back on the same page in a sort of Pseudo-Assistant until all questions are answered), so you only need to refer to a single table, known.

    Note, however, that I am not keen on this model of single table. You can consider using a more flexible and extensible model as in This example.

  • Set a value of Application using PL/SQL element

    I have a question of enforcement F101_MAINTENANCE it needs is the value set according to the values in a table. The value would be a piece of HTML code.

    Ideally this would be verified every time that a page is loaded and the value is printed on the screen on every page.

    Is there a way to do this?

    I use 4.0.2 on 11g

    Hi Craig,.

    To set an application using PL/SQL item value:

    // some examples
    :F101_MAINTENANCE := 'some value';  // a varchar
    :F101_MAINTENANCE := 123;           // a number
    :F101_MAINTENANCE := SYSDATE;       // a date
    

    The varchar 'some value' could be HTML and could be HTML with the values of a table concatenated, like this:

    DECLARE
       l_ename VARCHAR2(100);
    BEGIN
       SELECT ename INTO l_ename
       FROM emp
       WHERE empl_id = 123;
    
       :F101_MAINTENANCE := 'Empl name: ' || l_ename || '';
    END;
    

    (Take the space out of the style attribute - it's just there because the forum keeps style stripping attribute when displaying the post values.)

    This could be in a process of page to fire when the page loads. If she has to work for all pages, it could be in an application process set on fire during the loading of each page. If it should work for all but a few pages, you can place the code in an application process on fires during each page load, but then put a condition on it so it is not fire for specific pages.

    Now that the application is defined, it can be used on the pages where you need. If it is used for display only, remember to not escape special characters, or else it will just display the HTML rather than surrender. And if the value of the element of the application only needs to be set in PL/SQL, be sure to set the protection of session state so that he can "Restricted - cannot be resolved in the browser.

    Hope this helps,
    John

    If you find this information useful, please indicate the 'useful' or 'correct' post so that others benefit. *

  • Need help to save space on the laptop; question related to enforcement of a Anthony

    I am trying to save space on my drive of the laptop and looked at my download folder and "Odile" application takes 118 MB

    I want to know if it's ok to delete it or whatever it is that will affect

    Thank you

    Original title: download Odile

    I am trying to save space on my drive of the laptop and looked at my download folder and "Odile" application takes 118 MB

    I want to know if it's ok to delete it or whatever it is that will affect

    Thank you

    Hello

    118MBs is a minimal amount of space on a hard drive and even if deleted will make no difference to your disk space issue.

    This free program allows you to see what is taking place.

    http://www.Jam-software.com/treesize_free/

    Here's how to understand Treesize Screenshots:

    http://www.Jam-software.com/treesize_free/screenshots.shtml

    ____________________________________

    Also check how much space system restore uses:

    http://Windows.Microsoft.com/en-us/Windows7/how-much-disk-space-does-System-Restore-require

    _____________________________________

    You can clean your hard drive using these two methods.

    "Delete files using Disk Cleanup"

    http://Windows.Microsoft.com/en-us/Windows/delete-files-using-disk-cleanup#delete-files-using-disk-cleanup=Windows-7

    Using the free CCleaner program:

    http://www.Piriform.com/CCleaner

    In NO case use the registry cleaning Option in CCleaner

    _____________________________________

    Download, install, update and scan your system with the free version of Malwarebytes AntiMalware:

    http://www.Malwarebytes.org/products/malwarebytes_free

    And Norton Backup, if you are using Norton, can do strange things with filling of hard drive space.

    See you soon.

  • Basic question on redundancy as the retention policy enforcement

    DB version: 11 g

    I intend to implement a differential incremental backup of my database. My strategy is
    Sunday -->     Level 0 backup
    Monday -->     Level 1 backup
    Tuesday-->     Level 1 backup
    Wednesday-->     Level 1 backup
    Thursday-->     Level 1 backup
    Friday-->     Level 1 backup
    Saturday-->      Level 1 backup
    
    Again, the new weekly backup cycle starts
    Sunday -->     Level 0 backup
    Monday -->     Level 1 backup
    .
    .
    Set on the Recovery window retention policy
    ==========================

    I understand that recovery window retention policy: If I set up
    'CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;' 
    This means only these backups that are older than 7 days will be reported as obsolete when executing the command "remove obsolete.

    Retention set on redundancy policy
    =============================

    But I'm a little confused about the retention set to redundancy policy:

    Does
    CONFIGURE RETENTION POLICY TO REDUNDANCY 3;
    say that you keep 3 copies of backups on different locations on disk? How does this fit with my above mentioned incremental backup strategy?

    REDUNDANCY is 'Keep' copies

    The BACKUP is 'Create' copies of

    Copies which exceed the requirement of REDUNDANCY become OBSOLETE.

    Hemant K Collette

  • Questions about math broadband features

    Hello

    I'm just trying to understand what advandages High Troughput Math Funtions have. I so ask a few Questions.

    I always talk about beeing inside a SCTL.

    1. in the Image you can see four functions to add. One with U32 who must use more resources than with the U16Datatype that uses mor than the U8. But my broadband Math FXP uses fewer resources than the U8 Version?

    2. who this four functions add will take less time for execution?

    3. If I add two 32 bit a number with the normal add-in and the other with broadband Add. Which functions uses less resources and who will be fastest?

    4. How would it bee if I had a Multiplication instead? When I understand the concept of a Multiplication on the right it will be done with a DSP48E. This logical block is able to multiply a little 25 number with a number of 18 bits. So the U32 multiply will use 2 DSP48Es and the other three functions would use a DSP48E.

    I guess that the U32 Version will be slower enforcement?

    Whats on the other three will be their equal execution speed, or Versions with smaller data types will be faster?

    With greetings

    Westgate

    @JLewis: thank you for your answer it helped a lot to understand functions HT!

  • Ask the same question.

    Hello, I was hoping someone would know that this question because I can't seem to find on the page terms and conditions or any where.  I'm eager to try out the Xbox elite controller and was wondering if Microsoft.com pays return shipping back if I don't like. He said you print return label, but does not say who pays shipping them or the customer?

    Hello

    Your Question is beyond the scope of this community...

    I suggest that repost you in the Xbox Forums.

    "Xbox a Preview program FAQ.

    http://support.Xbox.com/en-us/Xbox-one/system/Xbox-update-preview-FAQ

    'Home'

    http://forums.Xbox.com/

    "Xbox forums.

    http://forums.Xbox.com/xbox_forums/general_discussion/f/3817.aspx

    _________________________________________________

    "Xbox Forums directory.

    http://www.Xbox.com/en-us/forums

    General

    Material & Discussion Services

    Xbox support
    Agent hours: M - F 09:00-17:00 PT

    Law enforcement forums

    Technical support of Xbox Live rewards
    Xbox Live rewards Squad hours: M - F 09:00-17: 00 PST

    See you soon.

  • enforce msg of error in dll (system32\spool\drivers\w32x86\3\DLC input Jtime.dll input RunDll) after page, sign in

    enforce dll (system32\spool\drivers\w32x86\3\DLC input Jtime.dll input RunDll) error msg after installing the network and printer dell to share printer all seem to work ok get error 1 laptop at power up, have updated printer software, two laptop computers, print unit in question is a gateway all work equipment is not new , what printing software has been removed from gateway error msg disappeared but if shared printer even after reloading

    Hello

    1. What is the brand and model of the computer?
    2. What is the model of the printer?

    I suggest you go through the following link.

    http://support.Dell.com/support/topics/global.aspx/support/KCS/document?c=JM&l=en&s=Gen&docid=DSN_28E393B4B4A5ADEEE040A68F5B2849AA&isLegacy=true

  • 8.0 questions about alarms

    Test 8.0 and really like the performance so far. I get this message in the console and can't find any doc respond to this message. Has anyone else got this with 8.0 before I go and open a ticket. Is there a task to do this?

    The number of alarms stored in the Foglight database exceeded 10000.0. There is more 35456,0 alarms have been cleared for more than a week. Please consider compensation.

    Message and help

    Hello

    I think that this is related to the following (I copy and paste part of the text).

    Motivation
    A lot of the information presented in the browser interface is derived from alarms (alarm counties, States of topology objects and so on). If the rules are configured in evil, this can lead to the creation of a very large number of alarms within the system. The server is a default limit of 10000 alarms which can be displayed and used to calculate the States of objects. When the Server enforces this limit, it gives preference to the current alarms so that objects are presented in the correct state.
    Symptom
    Browser interface performance is poor (that is, it responds slowly), in particular when displaying the table of alarms.
    Diagnosis / audit
    The server is not overloaded and is still in processing.
    CPU utilization on the server is high it provides alarm information.
    Threads may clog for a few seconds, intermittently, when you attempt to load the alarm details.

    It is not only a question of performance Foglight it is also a question of ' can you really manage an environment that has so many alarms?
    You probably want to clear alarms.
    You can also change alarms by individually turning off loud alarms, change of thresholds or disabling levels of warning alarm (different environment to run with different settings and parameters of the box may correspond to some but not all environments.)

    You can also go to the VMWare environment dashboard > Administration (tab) > Set alarm Sensetivity level and switch to critical alarms.

    I hope this helps.

    Golan

  • Enforce the complexity of password for local users

    It is possbile to enforce complex password for users the Cisco ASA firewall and/or IOS devices? Do not through an AAA server, but local users configured within the ASA/IOS itself?

    I apologize if this isn't the right forum to ask this question.

    Hello

    I don't think it's possible.

    I hope this helps.

    Kind regards

    Anisha

    P.S.: Please mark this thread as answered if you feel that your query is resolved. Note the useful messages.

Maybe you are looking for

  • Why should I keep moving my mouse to play videos with Adobe Flash player?

    When I open a video from a website or Youtube, it will not continue to play unless I continue to move the mouse. I use a wireless mouse. Same problem occurs for downloads. If I don't move the mouse downloads freezes. This only happens on Firefox. I d

  • Update card logic 17-inch MBP (late 2011)

    Hello world I thought pass my MBP 17 inches at the highest setting. Already installed 2133 mhz HyperX 16 GB RAM and Samsung SSD 850PRO Now I intend to change a card logic than with Core i7 at 2.5 GHz with 8 MB L3. Currently I have 2.4 Ci7 GHz with 6

  • Create a calendar with Watchapp1 on the Apple Watch event

    Hello I'm new to the SWIFT programming language. During our school to school project, we would like to create an Apple Watch app, which allows you to create a calendar event. I get several pages of Google, but I can't find the right answer. Does anyo

  • NEITHER 9205 always returns the noise from rail to rail.

    Hi all I'm completely stumped on this one. I went through the procedure of implementation of the NI 9205 module in my project. Setting the channel to the appropriate type. Placed the node IO in my FPGA code, read and all I get is noise from rail to r

  • Where can I find a download site to install service pack 3 for Windows XP?

    I have uninstall SP3 for WnXP 2 + years due to the lttle terrble bombs which devastated my files and programs on an interrmittent time. Microsoft took the position that because he can't stand the versions of SP2 that I cannot upgrade to SP3 and are s