Reg: 'Plans' in Oracle

Hi Experts,

Can someone please explain me various 'Plans' available in Oracle & the difference between them?
I've heard of a few - explain the Plan, The execution Plan,... etc.

I always check the request to explain the Plan in Toad (v10.6)... we get key Ctrl + E for a query to hit...
It shows the cost, bytes and the cardinality.

What, exactly, are these parameters?


Thanks in advance.
Vanessa B.

Nordine salvation,

a plan is a sequence of steps that Oracle takes to run a query. These steps describe the paths (i.e. How the data is read in the tables and indexes) and the join (i.e. methods How these data are combined together) as well as other operations (such as sorting, aggregation, the functions of window etc..).

A query explain is that the optimizer thinks he will use to execute a query. An execution plan is what uses the optimizer actually during execution. These two may be different, especially when optimizing queries involves mechanisms, such as bind peeking, dynamic sampling etc. (these topics are too big to be covered in a post).

When you develop a new database code, it is acceptable to use explain plan to have a general idea how Oracle will run it (for example if an index is used etc.), but when the real problems troubleshooting, it is important to consider the actual execution plan.

About the columns that you see in a plan. Cost is a number that represents the amount of work to think she's going to have to do to complete the query optimizer. In addition to overhead of the application, there is also a cost associated with each operation in the plan. The significance of cost is simple - initially, it was just the estimated operations of e/s (given that the disk i/o is often the slowest part as she is to physically move the disk), then in Oracle 9i has also added a CPU costing model to one where the cost of the CPU is expressed in I/O.

The bytes represent the amount of data in bytes that are estimated to return on each step.

Cardinality is simply the number of estimated rows returned on each step.

In addition to these columns, there are other, more important, but they are not provided by default (you need to do a preparation to make them populated and displayed): A-lines (actual cardinality) and A time (real time). These quantities are of major importance for the understanding of the problems of query performance.

Best regards
Nikolai

Tags: Database

Similar Questions

  • How to understand the implementation of the plan in oracle I mean if I see two implementation plans for a single sql_id plans 2 How to determine the best execution plan? Links and answers are much appreciated. Thank you

    How to understand the implementation of the plan in oracle I mean if I see two implementation plans for a single sql_id plans 2 How to determine the best execution plan? Links and answers are much appreciated. Thank you

    How to understand the implementation of the plan in oracle I mean if I see two implementation plans for a single sql_id plans 2 How to determine the best execution plan? Links and answers are much appreciated. Thank you

    After two execution plans that have the same sql_id, so we can see what you're talking about.

    See "Oracle Explain Explain Plan optimizer" by Maria Colgan of the Oracle optimizer group

    http://www.Oracle.com/technetwork/database/bi-Datawarehousing/TWP-explain-the-explain-plan-052011-393674.PDF

    Examine the various aspects of a selectivity to parallel execution plan

    performance and understand what information you should be brilliant

    the plan can be overwhelming even for the most experienced DBA. This document

    offers a detailed explanation on each of the aspects of the execution plan and a

    Overview of what caused the CBO to make the decision, he did.

  • Planning of Oracle EBS 11i - no data found for the region (/ oracle/apps/az/regionMap)

    We do not currently use Oracle planning.
    I'm setting up planning in development server if it will help us.

    After you set a database mapping (which points to the development server itself)

    I have create a selection of games for Receivables Tax Codes and rates.

    Then I extracted to download an extract, no problem.

    I update the selection sets, click the defined filter, it gave me an error page:
    ------
    You have encountered an unexpected error. Please contact the system administrator for assistance.
    Click here for exception details.
    ------
    Click on the 'here', a long java exception stack traces, what should I do to solve this problem:
    ------
    oracle.apps.fnd.framework.OAException: no data found for the region (/ oracle/apps/az/regionMap/TAX_CODE).
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanBaseData(OAWebBeanFactoryImpl.java:1705)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntry(P13NWebUIHelper.java:928)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:842)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonzliationToolEntries(P13NWebUIHelper.java:830)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1796)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
    to _html._OA._jspService(_OA.java:88) oa
    at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
    at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
    at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
    at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
    at oracle.jsp.JspServlet.service(JspServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
    at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
    at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
    to _html._OA._jspService(_OA.java:98) oa
    at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
    at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
    at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
    at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
    at oracle.jsp.JspServlet.service(JspServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
    at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
    at org.apache.jserv.JServConnection.run(JServConnection.java:294)
    at java.lang.Thread.run(Thread.java:534)
    # # 0 in detail

    Exception:
    oracle.adf.mds.MetadataDefException: unable to find the component with an absolute reference = / oracle/apps/az/regionMap/TAX_CODE, XML Path = null. Please check that the reference is valid and the definition of the component on the file system or in the MDS repository.
    at oracle.adf.mds.internal.MetadataManagerBase.findElement(MetadataManagerBase.java:1343)
    at oracle.adf.mds.MElement.findElement(MElement.java:97)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getJRADWebBeanBaseData(OAWebBeanFactoryImpl.java:2881)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanBaseData(OAWebBeanFactoryImpl.java:1700)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntry(P13NWebUIHelper.java:928)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:842)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonzliationToolEntries(P13NWebUIHelper.java:830)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1796)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
    to _html._OA._jspService(_OA.java:88) oa
    at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
    at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
    at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
    at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
    at oracle.jsp.JspServlet.service(JspServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
    at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
    at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
    to _html._OA._jspService(_OA.java:98) oa
    at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
    at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
    at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
    at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
    at oracle.jsp.JspServlet.service(JspServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
    at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
    at org.apache.jserv.JServConnection.run(JServConnection.java:294)
    at java.lang.Thread.run(Thread.java:534)


    Exception:
    oracle.adf.mds.MetadataDefException: unable to find the component with an absolute reference = / oracle/apps/az/regionMap/TAX_CODE, XML Path = null. Please check that the reference is valid and the definition of the component on the file system or in the MDS repository.
    at oracle.adf.mds.internal.MetadataManagerBase.findElement(MetadataManagerBase.java:1343)
    at oracle.adf.mds.MElement.findElement(MElement.java:97)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getJRADWebBeanBaseData(OAWebBeanFactoryImpl.java:2881)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanBaseData(OAWebBeanFactoryImpl.java:1700)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntry(P13NWebUIHelper.java:928)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:842)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonzliationToolEntries(P13NWebUIHelper.java:830)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1796)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
    to _html._OA._jspService(_OA.java:88) oa
    at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
    at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
    at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
    at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
    at oracle.jsp.JspServlet.service(JspServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
    at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
    at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
    to _html._OA._jspService(_OA.java:98) oa
    at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
    at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
    at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
    at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
    at oracle.jsp.JspServlet.service(JspServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
    at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
    at org.apache.jserv.JServConnection.run(JServConnection.java:294)
    at java.lang.Thread.run(Thread.java:534)

    Please see if (Planning Framework error (no data found for the region) when the filters in selection rule [367684.1 ID]) help.

    Thank you
    Hussein

  • "Explain Plan" in Oracle SQL Developer is grayed out

    Hi all

    I know that this is not the right place for this post, but I look around and do not know where to post questions about Oracle SQL Developer - I assume that this tool is also discussed here in this forum.

    My question is very simple (I guess):
    1. I installed Oracle SQL Developer 3.0.04.
    2. I have added a new DB connection to a database that is hosted in one of my servers in the local network.
    3. However, when I write some SQL queries, I intend to use the feature 'Explain the Plan', but it is grayed out (disabled).
    4. How can I activate this return?

    Hello

    {forum: id = 260}

    Concerning
    Marcus

  • Hyperion Planning to Oracle GL

    Hi all

    We need to load data from hyperion to oracle GL planning.

    How can I do this?

    Please guide me

    Thank you

    You will need an interface with the intermediate table as the source and the table GL oracle as a target, it will probably be some transforming data from source to target card, I can't tell you this mapping as I have no involvement with your data.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • How to plan an oracle server?

    Hi all

    I'm running a server with the following configuration

    System model: IBM, 7998-61 X
    Processor type: PowerPC_POWER6
    Implementation of processor mode: POWER 6
    Version of the processor: PV_6
    Number of processors: 4
    Processor clock speed: 4005 MHz
    Processor type: 64-bit
    Core type: 64-bit
    Memory size: 31616 MB
    Good memory size: 31616 MB
    Firmware of platform level: not available
    Firmware version: IBM, EA340_075
    Console connection: activate
    Auto Restart: true
    The heart: false

    In the server, I have the following Oracle10g database

    Size of the database in GB

    Bank01 8
    Bank02 7
    Bank03 7
    Bank04 44
    Bank05 9
    Bank06 13
    Bank07 4
    Bank08 7
    Bank09 4
    4 Bank10
    Bank11 8
    Banque12 16
    Bank13 36
    Bank14 8

    These databases used to test the application.

    How can I make "capacity planning" on the server?

    For ex: if I create a new database, I get "fork function failed.


    Thanks in advance
    KSG

    Refer to the [Concepts of Oracle® database | http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/toc.htm] guide, specifically for architectures of process and memory, to see what is the footprint of resource base of an Oracle instance.

    Read [this thread | http://asktom.oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:4347545437371] on astom.oracle.com to see what is taken from a well-known Oracle expert on multiple instances on a single server.

  • Reg: planning your application without essbase

    Hi gurus,

    I had a rite of problem now, we are working on the planning your application, due to some constraints we do not use essbase in our project. We need generate reports based on the planning application.

    (1) is it possible to do?
    (2) that we must solve the problem?
    (3) and also if it is possible, how? And how will the data be stored?

    Planning uses essbase as the engine of database so you have to use it.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Should I plan for Oracle 10 G or 11G Oracle OCP Certification now?

    Hello

    I have about 3 years experience as an Oracle DBA and about 6 years of experience as a whole on oracle.
    I finished Oracle 9i SQL Exam a few years ago and took a training course of quality for Oracle 10 G OCP Oracle. I didn't get Oracle 10 G OCA yet.

    I would like to know which option should I choose now? Should I go for Oracle 10 G OCP and upgrade to Oracle 11 G OCP or do I ignore my 10G training and start getting ready for Oracle 11 G OCP?

    Please advice.

    Sarayu K.S.

    I wouldn't not too concerned about 10 g in desupported immediately. Companies continue to use it.

    When the obligation of course has been announced for the cert DBA 9i, I decided to get the cert 8i first, as there was just no way I could have given the class at this time. It turns out, I started a job shortly after that when they were still using 8i.

    Of course, if taking another course is not a problem, this would be the most direct path and should take less time to do.

    Dan

  • Migration planning schema (Oracle DB)

    When migrtating underlying planning schema from one environment to another, it wont bring all the metadata and the forms from the old to the new environment?

    Yes, it will certainly restart.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Reg: Execution Plan-

    Hi Experts,

    I have a doubt as to how this query is analysed... And why I make plans even for the below 2 queries-

    [1]

    explain plan for
    Select a.col1, a.col2, b.col1, b.col2
    x 1 to x 2 b
    where a.col2 < = 1000
    and a.col1 = b.col1;

    [2]

    explain plan for
    Select a.col1, a.col2, b.col1, b.col2
    from (select col1, col2 from x 1 where col2 < = 1000) a, x 2 b
    where / * a.col2 > 2000
    and * / a.col1 = b.col1;

    Plan hash value: 1261378337
     
    ---------------------------------------------------------------------------
    | Id  | Operation          | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    ---------------------------------------------------------------------------
    |   0 | SELECT STATEMENT   |      |  1000 | 52000 |    10  (10)| 00:00:01 |
    |*  1 |  HASH JOIN         |      |  1000 | 52000 |    10  (10)| 00:00:01 |
    |*  2 |   TABLE ACCESS FULL| X1   |  1000 | 26000 |     5   (0)| 00:00:01 |
    |   3 |   TABLE ACCESS FULL| X2   |  3000 | 78000 |     4   (0)| 00:00:01 |
    ---------------------------------------------------------------------------
     
    Predicate Information (identified by operation id):
    ---------------------------------------------------
     
       1 - access("A"."COL1"="B"."COL1")
       2 - filter("A"."COL2"

    In the 2nd query I am filtering... first of all: the number of lines and then do the join. Even in this case the query plan shows the same number of lines. It is the moment of lines accessed by Oracle that happens in the column 'stored' in the plan?  Please help.

    -Nordine

    ranitB wrote:

    I can understand your point of Ashu... I even thought of this way, but I also thought that he average ANSI syntax. There we have a join clause (USE or WE) and a filter clause (i.e. WHERE)

    Wanted to just separate and relate the two ideas. Pointers on this?

    To answer your original question, you will get the answer in the hash value of the Plan. If your one or more SQL statements have the same hash value of the plan, then Oracle interprets as even.

    If you checked the explain plans, Oracle translates the filters before taking the FTS. And the explain plan command lines column shows the number of rows, that it expects to have access. I also think that you missed all of the plan, or that it was truncated on secondment. Therefore, I have a test case below which resembles yours:

    drop table test_tab_1;
    drop table test_tab_2;
    
    create table test_tab_1 (col1 number, col2 number);
    create table test_tab_2 (col1 number, col2 number);
    
    insert into test_tab_1
    select level, level * 3
      from dual
    connect by level <= 10000;
    
    insert into test_tab_2
    select level, level * 6
      from dual
    connect by level <= 800;
    
    explain plan for
    select *
      from (select * from test_tab_1 where col1 <= 1000) a, test_tab_2 b
     where a.col2 <= 4000
       and a.col1 = b.col1;
    
    select *
      from table(dbms_xplan.display);
    
    Plan hash value: 3327724992
    
    ---------------------------------------------------------------------------------
    | Id  | Operation          | Name       | Rows  | Bytes | Cost (%CPU)| Time     |
    ---------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT   |            |   800 | 62400 |     7  (15)| 00:00:01 |
    |*  1 |  HASH JOIN         |            |   800 | 62400 |     7  (15)| 00:00:01 |
    |*  2 |   TABLE ACCESS FULL| TEST_TAB_2 |   800 | 20800 |     3   (0)| 00:00:01 |
    |*  3 |   TABLE ACCESS FULL| TEST_TAB_1 |  1000 | 26000 |     3   (0)| 00:00:01 |
    ---------------------------------------------------------------------------------
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
       1 - access("TEST_TAB_1"."COL1"="B"."COL1")
       2 - filter("B"."COL1"<=1000)
       3 - filter("TEST_TAB_1"."COL2"<=4000 AND "COL1"<=1000)
    
    Note
    -----
       - dynamic sampling used for this statement
    
    explain plan for
    select *
      from (select * from test_tab_1 where col1 <= 1000) a, test_tab_2 b
     where /*a.col2 <= 4000
       and */a.col1 = b.col1;
    
    select *
      from table(dbms_xplan.display);
    
    Plan hash value: 3327724992
    
    ---------------------------------------------------------------------------------
    | Id  | Operation          | Name       | Rows  | Bytes | Cost (%CPU)| Time     |
    ---------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT   |            |   800 | 62400 |     7  (15)| 00:00:01 |
    |*  1 |  HASH JOIN         |            |   800 | 62400 |     7  (15)| 00:00:01 |
    |*  2 |   TABLE ACCESS FULL| TEST_TAB_2 |   800 | 20800 |     3   (0)| 00:00:01 |
    |*  3 |   TABLE ACCESS FULL| TEST_TAB_1 |  1000 | 26000 |     3   (0)| 00:00:01 |
    ---------------------------------------------------------------------------------
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
       1 - access("TEST_TAB_1"."COL1"="B"."COL1")
       2 - filter("B"."COL1"<=1000)
       3 - filter("COL1"<=1000)
    
    Note
    -----
       - dynamic sampling used for this statement
    

    If you notice here, second query does not filter A.COL2<= 4000="" and="" hence="" it="" was="" not="" pushed="" in="" the="" inline="" view="" during="" the="" fts.="" hence,="" merely="" changing="" the="" filter="" did="" not="" force="" oracle="" to="" look="" for="" another="">

    I hope I have cleared your questions.

  • Hyperion Planning migration to Oracle on Demand

    My team recently decided to migrate our planning for Oracle On Demand application. The dev environment has already been installed and ready to use.

    I'm on my access to OOD our planning application.
    I made numerous migrations, but none to oracle on demand.

    Is there something different that I have to consider?
    Someone at - it no docs instructions on migrating to OOD?

    Your help will be greatly appreciated.

    I HAV not spent by LCM migration document but yes the standard functionality of LCMS should work in case you migrate to OOD too.

  • Loading metadata from planning to the oracle table

    Hello

    I'm trying to load a metadata dimension of planning to oracle table.we are on 10.1.3

    I chose LKM SQL for SQL to load source for staging and IKM SQL for SQL add to load from the staging to the target.

    I got the below error

    0: null: java.sql.SQLException: Driver must be specified
    java.sql.SQLException: Driver must be specified
    at com.sunopsis.sql.SnpsConnection.a (SnpsConnection.java)
    at com.sunopsis.sql.SnpsConnection.t (SnpsConnection.java)
    at com.sunopsis.sql.SnpsConnection.connect (SnpsConnection.java)
    at com.sunopsis.sql.SnpsQuery.updateExecStatement (SnpsQuery.java)
    at com.sunopsis.sql.SnpsQuery.executeQuery (SnpsQuery.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execCollOrders (SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt (SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt (SnpSessTaskSqlC.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask (SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep (SnpSessStep.java)
    at com.sunopsis.dwg.dbobj.SnpSession.treatSession (SnpSession.java)
    at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand (DwgCommandSession.java)
    at com.sunopsis.dwg.cmd.DwgCommandBase.execute (DwgCommandBase.java)
    at com.sunopsis.dwg.cmd.e.i (e.java)
    at com.sunopsis.dwg.cmd.h.y (h.java)
    at com.sunopsis.dwg.cmd.e.run (e.java)
    at java.lang.Thread.run (unknown Source)

    Please suggest...

    Thank you

    If you want to use the dimension essbase as a source, then you'll need extract the size of a target using the 'LKM Hyperion Essbase METADATA to SQL.
    It would be also possible to go directly to the planning of the relational tables in the applications, but you must have an understanding of how they work.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • plans export tables outln of Oracle 9i to Oracle 10 g

    I do an upgrade from Oracel 9 Oracle 10. Most efficient queries in 10 9 but it is just a request where the Oracle 10 optrimizer seems to calculate the less efficient execution plan. I would like to create a plan in the 9 database and then export it to base 10.

    I have had no problem creating the plan and I can see the data from the three tables of OUTLN.

    My question is this: how to export the plan to Oracle 10? The Performance Guide of Oracle database talks about using the exp utility to export these tables but I noticed that in Oracle 10, two tables have at least one column more than the 9 database and so I expect problems if I try to import the OUTLN 9i in a 10 database tables. I am mistaken in this? Is there another method to export the plan OUTLN to a 9i database to a 10g database?

    Thank you
    Finbar

    One thing you could try doing in the latest version of Oracle is to assign to OPTIMIZER_FEATURES_ENABLE the 9.x version version at the session level, for example:

    
    ALTER SESSION SET OPTIMIZER_FEATURES_ENABLE='9.2.0';
    

    Once changed, see if the plan established by the old version is now also produced by the new version (10.x). If it does not produce the desired plan, create the outline of the SQL statement with the session changed OPTIMIZER_FEATURES_ENABLE in place the 10.x database.

    Charles Hooper
    IT Manager/Oracle DBA
    K & M-making Machine, Inc.

  • connection pool and inefficient query plan

    There is a single query that covers almost 90% of cpu DB.

    Select * from employee e, Department d where e.departement_id = d.department_id

    Us will gather statistics for this table in two, and the issues is resolved.

    This occurs every 2 weeks. That said, the query runs fine for 2 weeks and then we have questions... we will bring together the statistics of these two tables... and things are good for another 2 weeks.

    This query is a proc to store oracle pl - sql, which is called by the JDBC code. I introduced 2 months behind connection pooling, and today, we are facing this problem.

    The query has been accounting for 5 years with no problems.

    Before that I presented the connection pool, the jdbc code created a new connection before calling the store proc.

    Do you think that my connection to the connection pool has introduced this problem.

    The DBA tell me that the query runs a bad plan. Oracle recovers not the more effective plan (and that leads to this high CPU utilization).

    I guess that after 2 weeks Oracle begins to pick up plans that are effective in.

    Do you think all that this question never has nothing to do with my connection pooling code.

    I use Oracle 10 G.

    Hi Mike and ground beach thanks for your response.

    It was just a doubt... that you guys allowed.

    Thank you

    m

  • SmartView Admin Extension vs planning Dimension Editor

    Forgive me if this has been answered before, but I found nothing, I worked on the modification of an existing application, adding new accounts / entities, changing member formulas. I do changes in Smart View using the extension of the admin, the work of great, after that I update, any changes looks good in essbase, formulas work as expected, its almost too good to be true, but when I look in the space of work/planning is another story. all new members have a data storage of 'do not share' and none of the member formulas are here.

    I can update the database to the workspace and it still works fine, but members always snow never part. I tried everything short members exporting and reloading via contour load utility, but they just do not match, with what I have last priority of decision-making has changed.

    Everyone experienced / solved this?

    Edit:

    I am using SmartView 11.1.2.5.410 and planning 11.1.2.3.500

    I have test the upgrade of SmartView, no change.

    It seems that this might be a bug that crept into the 11.1.2.3.500. {Space} column is more in the planning grid when you manage metadata via Smart View. This column is what drives what you see in web planning. In OPBCS, they seem to be addressing it with a {default data storage} column and so I believe 11.1.2.4 it is addressed to the. You may need to simply load via the utility of planning unless Oracle has addressed in the 700 Patch, you would need to upgrade to.

    In regards to your formulas if you go to your member form and switch to the appropriate type, you should see y formula are implemented based on the type of plan. The formula {formula by default} column also lack 11.1.2.3.500 so why you don't see them in the default screen.

Maybe you are looking for