11.2.3 Oracle dynamic sampling works is not on table with locked statistics, NULL

I work in a development environment where the statistics are locked for all schemas. Some of these table objects have had their statistics unlocked and collected manually. We have the level of dynamic sampling set to 4.

When I perform queries on this particular scheme, I can say that dynamic sampling isn't being run because I do not see any other session running in the OEM other than my request.

Any ideas?

You can check the level of dynamic sampling of the plan by querying V$ SQL_PLAN. Column OTHER_XML. For example:

11.2.0.3... 4 3346460612...

Also this info is printed according to dbms_xplan.display_cursor (). For example:

Select * from table (dbms_xplan.display_cursor('79y5x009ytcav',1));

PLAN_TABLE_OUTPUT

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

SQL_ID, 79y5x009ytcav, number of children 1

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

Select count (*) from...

...

Note

-----

- dynamic sample used for this survey (= level 4)

Post edited by: Mihael

Tags: Database

Similar Questions

  • of the instance-level (level 4) dynamic sampling works not

    When I put dynamic_sampling (level 4) as an allusion to a question, I see its effect and a good plan with lines estimated very close to reality. The response of the application in this case is 4 to 7 minutes

    But when I put dynamic sampling (level 4) at the instance-level or session, the query plan is the same as when he dynamic sampling is at level 2 (default). The response time for this setting is close to 20 minutes.

    The two plans to end tell 'dynamic used sampling!

    I want to effectively put optimizer_dynamic_sampling = 4 at the instance level. Anyone know what I can do to make this work?

    Thank you
    JC

    Read the manuals carefully.
    As a system or session parameter or when it is used as an indicator without reference to a table, level 4:32 blocks for each table that has two or more predicates, or a single predicate requiring Oracle to use a default selectivity. (Or if a table has no stats - in which case the sample is of 64 blocks).

    As an indicator of level table (which is how you referred to the two tables), level 4 is a unconditional sample of 256 blocks of the specified table.

    If your samples are completely different in both cases - and the larger sample size gets you a better plan. I think you would have to use the system or the session 7 level to get the size of the same sample at the level of the table 4.

    If you run the queries with the event 10053 set, you will be able to view the comments in the trace file on targeted sampling that takes place and a report on the number of blocks and the number of blocks actually sampled.

    Concerning
    Jonathan Lewis
    http://jonathanlewis.WordPress.com
    http://www.jlcomp.demon.co.UK

    "The saddest aspect of life is this moment that science gathers knowledge faster that society gathers wisdom."
    Isaac Asimov

  • Dynamic dropdowns works does not properly on iPad

    I created a document of Quality Assurance for my business and have problems with the help of the document on the iPad. I created a basic yes / no checklist for full time service technicians, they are on the site. And 'No' any response triggers a drop-down list in the column of deficiency where can select from a number of options or manually enter their own inadequacy. This document works find when on my Mac, but when I try and use it on our iPad (which is what we want as our Service technicians to use later) the drop-down lists in the deficit column are not pop-up. It shows just as empty menu drop-down instead of pre-populated answers that I entered.

    Switch (event.value) {}

    case "select - one":

    this.getField "(déficit en A-2").setItems(["---"]); "

    break;

    case "No":

    this.getField("Deficiency_A-2").setItems (["-Please select an or manually enter the deficiency -", 'BULB (S) NOT PRESENT', 'BULB (S) NO OPERATIONAL',"" "]);

    break;

    case "": ""

    this.getField("Deficiency_A-2").setItems (["",""]);

    break;

    case study "Yes":

    this.getField("Deficiency_A-2").setItems (["",""]);

    break;

    }

    That's what I put in the script run a custom validation. Is there something to manipulate to where he will work on iPad. Please bear with me because I am a novice when it comes to all this stuff.

    Where place you this script and this PDF reader do you use on the iPad? The default PDF Viewer is zero support for JavaScript and Adobe Reader has limited support. Expert PDF of Readdle has very good support and is what I would recommend you use PDF forms on iOS.

  • Facebook, Gmail and MétéoMédia works does not for me with the last update, even in safe mode

    That pretty much sums up it. Since yesterday, with the most recent update, firefox does not display correctly these sites. Someone else posted a question similar to this topic. It has been marked as resolved, but there is no solution posted. Here's his question: https://support.mozilla.org/en-US/questions/963125 I have the same problem as him with fb. In addition to the problem with fb, Gmail doesn't end loading. And MétéoMédia do not display the weather forecast. I'm sure that many other sites are affected as well.

    All sites work properly in Seamonkey, which I use once again, now. I went to oldapps download v. 22 of ff, but whatever the most recent update changed only came when I installed v.22. The problem persists. I could uninstall it completely and then new installation v.22, I guess, but I'm afraid that my browsing history, sessions, passwords, etc., would be affected, and I don't want to find all the files and support first. It's a hassle. Since the sites work in Seamonkey, I'm guessing that's not the fact that I have updated flash at the same time. I don't know how much these sites use flash, either. But if it's a problem of flash, I tell myself I should have the same problem in Seamonkey, and I did not.

    I wish that you guys would have an easy option to restore your updates because it's pretty darn annoying when they cause problems. Usually, they are not lethal problems, however, and the browser still works. Now ff does not work for some sites I use most often.

    Hello

    Many issues of the site can be caused by corrupted cookies or cache. To try to solve these problems, the first step is to clear cookies and cache.
    Note: This will be you temporarily disconnect all sites, you're connected to.
    To clear the cache and cookies to do the following:

    1. Go to Firefox > history > clear recent history or (if no Firefox button is displayed) go to tools > clear recent history.
    2. Under "Time range to clear", select "all".
    3. Now, click the arrow next to details to toggle the active details list.
    4. In the list of details, see the Cache and Cookies and uncheck everything.
    5. Now click the clear now button.

    More information can be found in article to clear your cache, history, and other personal information in Firefox .

    __________________________________________________________________

    Also, some Firefox problems can be solved by performing a clean reinstall. This means that you remove Firefox program files, and then reinstall Firefox. Please follow these steps:

    Note: You can print these steps or consult them in another browser.

    1. Download the latest version of Firefox from http://www.mozilla.org office and save the installer to your computer.
    2. Once the download is complete, close all Firefox Windows (click on quit in the file menu or Firefox).
    3. Remove the Firefox installation folder, which is located in one of these locations, by default:
      • Windows:

        • C:\Program Files\Mozilla Firefox
        • C:\Program Files (x 86) \Mozilla Firefox
      • Mac: Delete Firefox in the Applications folder.
      • Linux: If you have installed Firefox with the distribution-based package manager, you must use the same way to uninstall: see Install Firefox on Linux. If you have downloaded and installed the binary package from the Firefox download page, simply remove the folder firefox in your home directory.
    4. Now, go ahead and reinstall Firefox:
      1. Double-click on the downloaded Setup file and go through the steps in the installation wizard.
      2. Once the wizard is completed, click to open Firefox directly after clicking the Finish button.

    This will remove not essential info unless you check the box "delete all my personal data too.

    Please report back to see if this helped you!

    Thank you.

  • "Dual monitor Expand" doesn't work is not for t5740 with WES 2009.

    We do the following procedure to configure all our years TC bi-ecrans.

    1. flash the tC, customize it to our needs.

    2 join to the domain

    3. log in with Admin Creds, change default display settings: display properties-> settings tab-> "extend my desktop windows on the second monitor"-> apply

    4 validation EWF, logoff

    5. now, Login as any domain user for the workstation mode extended.
    works great for t5630 (xpe sp3) & t5630w (WES 2009) & t5740 XPF 2002

    BUT it fails with t5740 with WES 2009

    the above parameters are only to the Admin account, any other user domain/local get one active monitor.

    can write us any script/group policy settings to do

    Could someone help me solve this problem.

    Thanks in advance

    found an easy way without multi-display software

    Requirements: HPDM AGENT installed on TC

    c:\windows\xpeagent\hpdmAgent.exe

    c:\windows\xpeagent\hpdmmc.exe the set display = rate of 1280 * 1024 = 60 depth = 32 sm = primary r = pm

    put the following two lines of code in a file bat in logon scripts

    source: found this in the task log hpdm "display" - file and registry settings

  • Poster works does not as expected with Adobe CS5

    I've finally updated to OS X on an early 2009 Mac Pro Quad Core. I have two screens: a 20 "Apple Cinema and a Samsung Syncmaster. Previously, always with Snow Leopard, I had no problem with the implementation of my menus, panels, etc on the Samsung, thus leaving my film clean and only to view the picture or painting under development. It's a great ploy.

    But now, I can't have my workspace (menus, panels and so on) to "stick" to the Samsung. Instead, they insist on layering anything I'm working on the cinema, which is now difficult to see behind all the clutter menus and panels.

    I tried to move this to the Samsung, and I saved the arrangement as a new workspace. But the next time and so on, I opened Photoshop, all the menus were back on my film. It is a problem, I expected little, all the problems you may have. But it is serious because I'm not keen on having to pass all the other screen before starting work. In addition, it could be the cause? None of the existing workspaces or those custom made displays on the second monitor except if moved manually.

    I'd appreciate responses as to why this is happening. Thank you

    -Try to reset memory NVRAM/PRAM and SMC

    MacIntel: Reset of the controller (SMC) system management

  • Listagg works does not in mview with fast refresh on commit?

    Version Info:

    Oracle Database 11 g Release 11.2.0.3.0 - 64 bit Production

    PL/SQL Release 11.2.0.3.0 - Production

    CORE Production 11.2.0.3.0

    AMT for 64-bit Windows: Version 11.2.0.3.0 - Production

    NLSRTL Version 11.2.0.3.0 - Production

    I have a materialized view that is defined as fast refresh on validation and includes a call to listagg. The update goes as planned, but the value of the column that is created by using the listagg not updated unless I have make an explicit refresh. I was able to recreate the problem with a simple case, pasted below. Someone knows how to fix this?

    Thank you!

    -Tom

    Test scenario follows...

    SQL> create table codes (
      2       id number primary key,
      3       product varchar2(10) not null,
      4       code varchar2(10) not null);
    
    Table created.
    
    SQL> create materialized view log on codes with rowid, sequence (product, code) including new values;
    
    Materialized view log created.
    
    SQL> create materialized view code_agg_mv
      2        refresh fast on commit
      3        with rowid
      4        as
      5  select c.product
      6        , listagg(c.code, ',') within group (order by c.code) codes
      7        , count(*) cnt
      8    from codes c
      9   group by c.product;
    
    Materialized view created.
    
    SQL> truncate table mv_capabilities_table;
    
    Table truncated.
    
    SQL> begin
      2       dbms_mview.explain_mview('CODE_AGG_MV');
      3       commit;
      4  end;
      5  /
    
    PL/SQL procedure successfully completed.
    
    SQL> select capability_name, possible
      2    from mv_capabilities_table
      3   where capability_name like '%REFRESH%'
      4   order by capability_name;
    
    CAPABILITY_NAME                P
    ------------------------------ -
    REFRESH_COMPLETE               Y
    REFRESH_FAST                   Y
    REFRESH_FAST_AFTER_ANY_DML     Y
    REFRESH_FAST_AFTER_INSERT      Y
    REFRESH_FAST_AFTER_ONETAB_DML  Y
    REFRESH_FAST_PCT               N
    
    6 rows selected.
    
    SQL> insert into codes (id, product, code) values (1, 'Pants', 'Large');
    
    1 row created.
    
    SQL> insert into codes (id, product, code) values (2, 'Pants', 'Blue');
    
    1 row created.
    
    SQL> insert into codes (id, product, code) values (3, 'Pants', 'Itchy');
    
    1 row created.
    
    SQL> commit;
    
    Commit complete.
    
    SQL> select *
      2    from code_agg_mv;
    
    PRODUCT    CODES                                 CNT
    ---------- ------------------------------ ----------
    Pants      Blue,Itchy,Large                        3
    
    SQL> -- ^^^ This is correct ^^^
    
    SQL> delete from codes where id = 3;
    
    1 row deleted.
    
    SQL> commit;
    
    Commit complete.
    
    SQL> select * from code_agg_mv;
    
    PRODUCT    CODES                                 CNT
    ---------- ------------------------------ ----------
    Pants      Blue,Itchy,Large                        2
    
    SQL> -- ^^^ CNT is correct, but codes should not contain "Itchy" ^^^
    SQL> --
    SQL> -- Try an explicit fast refresh...
    
    SQL> begin
      2       dbms_mview.refresh('CODE_AGG_MV', 'F');
      3  end;
      4  /
    
    PL/SQL procedure successfully completed.
    
    SQL> select * from code_agg_mv;
    
    PRODUCT    CODES                                 CNT
    ---------- ------------------------------ ----------
    Pants      Blue,Itchy,Large                        2
    
    SQL> -- ^^^ Nope, same issue. ^^^
    SQL> --
    SQL> -- Try an explicit complete refresh...
    
    SQL> begin
      2       dbms_mview.refresh('CODE_AGG_MV', 'C');
      3  end;
      4  /
    
    PL/SQL procedure successfully completed.
    
    SQL> select * from code_agg_mv;
    
    PRODUCT    CODES                                 CNT
    ---------- ------------------------------ ----------
    Pants      Blue,Large                              2
    
    SQL> -- ^^^ There we go. ^^^
    
    

    Message edited by Tom N to include database version information.

    Hello Tom,

    listagg() is not supported for fast refresh.

    http://docs.Oracle.com/CD/E11882_01/server.112/e25554/basicmv.htm#i1007028

    Only SUM, COUNT, AVG, STDDEV, VARIANCE, MIN and MAX are supported to fast refresh.

    Kind regards

    Pravin

  • Why dynamic sampling is used?

    Hi all

    I am executing a SELECT statement and underlyig table is a partitioned table that does not have any available statistics.
    When I ask the execution of that plan SQL, I found that SMAPLING DYNAMICS is carried out.
    I'm on 10.2.0.3 on solaris 5.8

    FYI...
    SQL> explain plan for
      2  SELECT /*+ INDEX ( bba BBO_PRICING_LOCAL_IDX ) */ TICKER||' '||EXCH_CODE , EXCH_CODE , TICKER , ID_ISIN , PX_LAST , PX_VOLUME , CRNCY , ID_MIC_PRIM_EXCH , CUR_MKT_CAP ,EQY_SH_OUT FROM EQHUB.BBO_PRICING_ARC BBA WHERE START_DATE <= :B1 AND END_DATE > :B1;
    
    Explained.
    
    select * from table(dbms_xplan.display());
    
    Plan hash value: 1872597311
    
    ----------------------------------------------------------------------------------------------------------------------------
    | Id  | Operation                          | Name                  | Rows  | Bytes | Cost (%CPU)| Time     | Pstart| Pstop |
    ----------------------------------------------------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT                   |                       |   164K|    25M|   477   (5)| 00:00:06 |       |       |
    |   1 |  PARTITION RANGE ITERATOR          |                       |   164K|    25M|   477   (5)| 00:00:06 |     1 |   KEY |
    |   2 |   TABLE ACCESS BY LOCAL INDEX ROWID| BBO_PRICING_ARC       |   164K|    25M|   477   (5)| 00:00:06 |     1 |   KEY |
    |*  3 |    INDEX RANGE SCAN                | BBO_PRICING_LOCAL_IDX |  5314 |       |    32  (69)| 00:00:01 |     1 |   KEY |
    ----------------------------------------------------------------------------------------------------------------------------
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
       3 - access("END_DATE">:B1 AND "START_DATE"<=:B1)
           filter("END_DATE">:B1)
    
    Note
    -----
       - dynamic sampling used for this statement
    
    select owner,table_name,num_rows,blocks,LAST_ANALYZED FROM DBA_TABLES WHERE TABLE_NAME='BBO_PRICING_ARC'
    OWNER                          TABLE_NAME                       NUM_ROWS     BLOCKS LAST_ANALYZED
    ------------------------------ ------------------------------ ---------- ---------- ------------------
    EQHUB                          BBO_PRICING_ARC
    
    I have also checked index stats and they are NULL too.
    Kind regards
    Kim Desai

    Bhavik Desai wrote:
    ... and underlyig table is a partitioned table that does not have any available statistics...

    You pretty much answered your own question.

    Check out the docs, it clearly explains what dynamic sampling will be used: [how dynamic sampling works | http://download.oracle.com/docs/cd/B19306_01/server.102/b14211/stats.htm#sthref1108]

  • Work in a small table, but in an array of enourmos haven't... why?

    Hi guys, I am using Oracle 10 g. One of these days, I made a script to run in sqlplus. It works great on a table with 1000 lines, but in a table with 31000000 don't... do you know why?

    Declare cursor cursor_clean is
    Select table_A_eid
    from table_A
    where type = "LOL"
    counter number: = 0;
    cnt_num number: = 0;
    number of del_num: = 1;
    Start
    for r_cursor_clean in cursor_clean
    loop
    counter: = counter + 1;
    delete from table_A_version where table_A_eid in
    (select table_A_eid in the table_A where type = 'LOL');

    delete from table_A_type where table_A_eid in
    (select table_A_eid in the table_A where type = 'LOL');

    If counter = 100000 meter: = 0;
    commit;
    end if;
    end loop;
    commit;
    all in del_num! = 0
    loop
    counter: = counter + 1;
    remove from table_A where type = "LOL"
    If counter = 100000 meter: = 0;
    commit;
    end if;
    del_num: = SQL % RowCount;
    cnt_num: = cnt_num + del_num;
    end loop;
    commit;
    end;
    /


    Thank you very much.

    Hello

    Go on a lot of lines for this is going to take awhile, but...

    You don't need to engage in pieces as you are, this should be more effective code...

    BEGIN
    
      FOR i IN (SELECT table_a_eid
                FROM   table_a
                WHERE  TYPE = 'LOL')
      LOOP
    
        DELETE FROM table_a_version
        WHERE       table_a_eid = i.table_a_eid;
    
        DELETE FROM table_a_type
        WHERE       table_a_eid = i.table_a_eid;
    
      END LOOP;
    
      COMMIT;
    
    END;
    

    Problem is that it is still a bit 'slow by slow"you search for each iteration of the loop against two different tables.

    SO, I suggest that you change you references to foreign keys to table_a in the child tables to have the ON DELETE CASCADE option. In this way, you can simply remove from table_a and deletions will take place on the tables of children too...

    See you soon

    Ben

  • Searching for pictures of iOS 10 works is not as expected

    I have updated to a couple of my iOS devices (iPhone 6 and iPad Air) iOS 10, actually 10.1 public beta 1 now, but find the results obtained in the search of my library of ~ 5000 photos and videos quite modest.

    I very rarely get the images I'm looking for, if any.

    For example, 'find my photos from the Netherlands' Returns none so I have 122 in my library.

    The research of the city of Delft (that is the Netherlands) returns a single result, which, ironically, shows a screen indicating the word "Delft" on a local train.

    I wonder if there is the possibility of re-indexing of the library or the device can be done on a Macintosh, but I'm afraid user ios do not have such a luxury for now.

    In my troubleshooting process I spent from Italian to English, since this might be a reason for poor search results. But things have not changed.

    Of course, if I ask "Find my photos of the mountains" (or dogs by the way) I get decent results this image recognition works though, not much luck with geotags.

    Any idea?

    / P

    Wow!

    The answer to this question of mine has been overwhelming... (I'm kidding)

    In the meantime, FYI Apple has released the iOS 10.0.2 update that solves the problem of geotags.

    I can now find my photos from the low countries (or Switzerland or India also) and get the correct results.

    Nice

    / P

  • ORA-10173: time-out of dynamic sampling error: application of OBIEE 11 g

    Hello

    Application: OBIEE 11g

    Database: Oracle Database Enterprise Edition Release 12.1.0.2.0 - 64 bit Production 12 c

    The following alert was generated for the purposes of OBIEE 11 g database.


    ORA-10173: time-out of dynamic sampling error:


    When I google it finds that there is no resolution except that raise to Oracle.


    Anyone experienced the same and any resulting resolution already?


    Enjoy the you entries.


    Thank you

    HESH

    Thanks Christian, I'll close this thread and open a new forum of the database.

  • Oracle.Ateam.Sample.mobile.datasynch

    Hello

    I am trying to get the sample on the following page HrCrudMobile to work:

    http://www.Ateam-Oracle.com/going-mobile-with-ADF-implementing-data-caching-and-syncing-for-working-offline/

    I can create an apk file and install and run on my phone. This is when I press the sync button you get the error.

    Someone from the ateam or who tried the sample can help?

    Thank you

    Raymond

    The PDF tutorial mentioned in a previous reply is obsolete and is no longer located on the two blog posts I wrote on this extension.

    The tutorial has been replaced by three such video mentioned in the part 2 of the article. Also note that new versions of the extension are frequently downloaded, so frequently check the "last updated" at the bottom of the article.

    Now, on the error you get: access the properties of the Application-> libraries and ClassPath and check the path for DataSynchFeature.jar. If the path is incorrect or does not exist, then add the pot using the correct path information.

    The jar located in [folder jdev_home]/jdev/extensions/oracle.ateam.sample.mobile.persistence/.

    Steven Davelaar,

    Oracle A-team.

  • Dynamic sampling on TWG

    Hi, we have a situation where dynamic sampling was not implemented for tables of TWG for subsequent executions - I have a session that connects to the database and inserts 10000 records in the TWG and executes a sql using the TWG. optimizer generates a plan based on 10000 records by sampling dynamically and this plan is good for this volume. Now in the same session I truncate the TWG and insert 10 records and then run the SQL, but I still see the same plan is used and found a further analysis that the lines of e-lines of the second race is 10000 and not 10.

    Here is the output of the xplans (paste only the proper line) - first line
    ----------------------------------------------------------------------------------------------------------------------------------------------------------
    | ID | Operation | Name | Begins | E - lines. A - lines. A - time | Pads | OMem | 1Mem | Used Mem.
    ----------------------------------------------------------------------------------------------------------------------------------------------------------
    | 7. TABLE ACCESS FULL | GTT_ARMA_INSTR_CURRENT_DIM | 1. 10010 | 10010 | 00:00:00.01 | 24 | | | |

    | 7. TABLE ACCESS FULL | GTT_ARMA_INSTR_CURRENT_DIM | 1. 10010 | 10. 00:00:00.01 | 3 | | | | -Why not e-lines 10 when in fact it has 10 records.

    Dynamic sampling is confirmed to be used at a time-
    -dynamic sample used for this survey (level = 4)

    It's the way it is supposed to work.

    You the sample when optimize you - which usually happens on the first run, and must not be repeated unless the cursor is invalidated.

    The plan on the second race WAS generated by sampling, but it is the plan was generated by sampling in the first inning.

    Concerning

    Jonathan Lewis

  • Oracle Dynamic tabs Shell - open same workflow in multiple tabs

    Hello

    Summary of the problem:
    Is there a way to open a workflow (bounded task flows, with always create new scope txn) in multiple tabs using a page (jspx) based on the model of dynamic tabs Oracle shell. That is, the user must be able to work on the two tabs (loaded with the same workflow) independently.

    Problem scenario:
    I use model Oracle Dynamic tabs Shell in one of my .jspx page say default.jspx. This default.jspx is the entry point of my app via adfc - config.Xml.

    Tell my navigation menu a itemNode node1

    Node1-> corresponds to a stream of flow available1 (bounded task flows, with always create new scope txn)

    The navigation of the user I wanted to is as below:

    When the application is run default.jspx is loaded with above the navigation menu.
    (1) when the user clicks on node 1, it must open the stream in a dynamic tab available1 say tab1
    (2) when the user clicks on node 1 again, it must open the stream in another dynamic tab available1 say tab2
    The user must be able to work on the two tabs (loaded with the same workflow) independently.

    Question: When I tried the application above that I encounter the error below:
    Caused by: oracle.adf.controller.activity.ActivityLogicException: ADFC-00020: workflow ' / WEB-INF/flows/homeTF.xml#homeTF' requires a new transaction, but surgery is already open on the chassis.

    Thank you and best regards,
    Pramod Gujjeti

    Pramod salvation,

    Have you tried to set the attributes of your workflow Transaction? Open your workflow definition and then go to preview Tab. Change the appropriate attributes as defining the transaction as 'Always start new operation' or by unchecking the ' data controls share with calling workflow. Try to mix the settings and find the one that meet your needs.

    Kind regards
    Pino

  • on dynamic sampling

    Level 3: Apply dynamic sampling to all tables that meet the criteria for level 2, as well as all the tables for which the standard selectivity estimate used a conjecture for a predicate that is a predicate of potential dynamic sampling. The number of blocks sampled is the number of dynamic blocks of default sampling. For tables not analyzed, the sampled number of blocks is twice the default number of blocks of dynamic sampling.


    all tables for which one used standard selectivity estimation more conjecture for a predicate that is a predicate of potential dynamic sampling.
    can you explain what dose this statement means, can you give me an example? {: 8}

    Jinyu wrote:
    all tables for which one used standard selectivity estimation more conjecture for a predicate that is a predicate of potential dynamic sampling.
    can you explain what dose this statement means, can you give me an example? {: 8}

    Potential for dynamic sampling predicate is a predicate to filter on a single table, not a join predicate which are now out of reach for dynamic sampling.

    An assumption of the optimizer could be based on a complex expression for which the optimizer can only guess a cardinality (e.g. "COLX + 2 * COLY > 10 ' and there is no hidden column based on a function index/virtual corresponding to this expression), or for example a PL/SQL function call user defined.

    Kind regards
    Randolf

    Oracle related blog stuff:
    http://Oracle-Randolf.blogspot.com/

    SQLTools ++ for Oracle (Open source Oracle GUI for Windows):
    http://www.sqltools-plusplus.org:7676 /.
    http://sourceforge.NET/projects/SQLT-pp/

Maybe you are looking for