Business parameters in 11g

Hi all!,
I remember in Oracle 10g there are an option to add business parameters that I can use into the processes, and i can change their value from the administrator webpage, is there anything like that in 11g?
thanks in advance!

I haven't used this often, but I remember in 11g you can add properties in the composite.xml, get the values using an xpath expression, and change the values on server using the MBean Browser at EM.
But I'm not sure if the property name should start with "bpel.preference" or just "preference".
You need to check this...
Some references (you will find many more searching on Google):
http://ora-soa.blogspot.com.br/2011/06/setting-configurable-properties-in.html
http://javaoraclesoa.blogspot.com.br/2012/02/changing-properties-of-bpel-process-at.html
** http://beatechnologies.wordpress.com/tag/persist-the-values-of-preferences-in-bpel/
** check this if is still necessary do that in the current server version, I'm not sure.
Regards
Luis F Heckler

Similar Messages

  • Business Rules (SOA 11g)

    We are facing one issue while implementing an use-case in Business Rules (SOA 11g). In brief it is defined as below:
    There is an aggregate function used to calculate the sum of all nodes and based on the result, we need to send notifications.
    In the Rule Set of a Business Rule project, we have created one Decision table and have defined our Rule conditions there (say Price > 500 and Price < 500).
    Above these conditions, we have defined aggregate function ( under advanced category), where we will calculate the sum of all Price nodes in a variable.
    And finally, we have Actions set for both the Rule Conditions, whereas notifications will be sent to the desired user.
    While executing this project, we are getting the below mentioned error:
    Non Recoverable Business Fault :encountered ')' when expecting one of: "instanceof" ...":" ...">" ..."<" ..."?" ..."==" ..."<=" ...">=" "!="
    ..."||" ..."&&" ..."+" ..."-" ..."*" ..."/" ..."%" ..."**" ..."++" ..."--" ..."[" ..."." ..."(" ...
    Note: There is a check-box above each action item, where we can select whether we want to execute this action or not. Now when we select only one out of these Actions ( say 1st one), and other one is unchecked and we execute the project by giving input according to 1st Rule condition, the project runs successfully. But when both the Action Items are checked, it fails.
    If anybody has faced the similar issue, please revert.

    I would advice you to make use a debug-function to be able to run locally in JDeveloper.
    Then try to make the easiest case possible work, and then thange to what you really want.
    Whaty type is the input to the rule, is it a complex type ?
    Are you running from BPEL ?

  • Can't retrieve the value of the business parameters for external navigation

    Hi All,
    I am using portal navigation in webdynpro and came across a strange issue.
    Following is the code that I am using to navigate.
    String[] path = {"accounts/bol_detail"};
         WDPortalNavigation.navigateRelative(null,2,path,WDPortalNavigationMode.SHOW_INPLACE,null,null,WDPortalNavigationHistoryMode.NO_DUPLICATIONS,null,null,"bolnumber="bolnumber"&pdf=true",null,true,false);
    I am able to navigate successfully to the required iView, but when I replace WDPortalNavigationMode.SHOW_INPLACE with (WDPortalNavigationMode.SHOW_EXTERNAL_PORTAL or WDPortalNavigationMode.SHOW_EXTERNAL), I am not able to get the business parameters that I am passing. I tried printing the value and the value for both the parameter is null when I am trying to open an external window. While in case of WDPortalNavigationMode.SHOW_INPLACE I am getting the proper value of the passed business parameters (bolnumber and pdf).
    Your quick help would be highly appreciated. Looking forward for some help from sdn ASAP.
    Thanks and Regards,
    Murtuza

    I was able to get the expected output with your program with just these changes:
    char        slist[150]="select  cardnum,create_date from cardmast where cardnum= 10 ";I created the cardmast table as follows:
    create table cardmast(cardnum integer, create_date date);
    insert into cardmast values(10, '23-DEC-09');
    commit;Can you please check in sqlplus if the query you are using is indeed returning something.
    Thanks,
    Sumit

  • Replace Buisness Intelligence with Business Analytics in 11G pages.

    Hi,
    I have a somewhat unusual request from business, they would like to remove the words 'Business Intelligence' and replace it with 'Business Analytics'. This is the text that appears next to the Oracle Logo.
    Im sure it requires editing of some css or html script somewhere in the skins folder perhaps... Ive been hunting around, but would be helpful if someone who has done this already could point me in the right direction
    -Domnic

    Hi Dominic,
    This links have alll the information and steps for folders and what needs to be chaged
    http://www.obieetalk.com/oracle-bi-ee-11g-%E2%80%93-styles-skins-custom-xml-messages#
    http://forums.oracle.com/forums/thread.jspa?threadID=1518428&tstart=60&start=0
    Cheers,
    KK

  • How do we use our .jar file of Re-Usable Business Components in 11g?

    Hi All:
    We have developed a library of re-usable Business Components in 10g utilizing the instructions found here:
    http://download-west.oracle.com/docs/cd/B31017_01/web.1013/b25947/bcadvgen007.htm
    We are now planning on migrating to 11g, so we need to know how to implement this re-usable business component library.
    Is it possible to use it as it stands created in 10.1.3.3?
    Or do we have to migrate it over? And how is this done since we still have applications that use it in 10g?
    Your input is very appreciated since this is an important step in our migration plan. Doing this correctly is crucial to our shop. We have been trying a few things, so far with no luck.
    Thanks very muich.
    Mary
    UofW

    Shay:
    My colleague that received the errors is going to unexpectedly be off for a few days, so I tried to re-create the errors so that I could get back to you. What was essentially happening was that on certain tables, the first column was missing from the EntityImpl. These tables MIGHT be those that had a primary key that when JDev removed the underscore, had the same name as the Oracle table. For example the table name was ResidenceCode and the primary key of that table was Resident_Code and was found as the first column in the table. HOWEVER, when I tried migrating our reusable business components libarary .jar file, using 11.1.1.2.0, I did not experience the same errors, so I'll get back to you. She was perhaps using an older version of 11g?
    But I do have one question. Can we use a .jar file of reusable business components built in 10g in 11g? As you can imagine, this library is being used in other applications, and we'd like to prevent having two copies, if at all possible. Because of all the structural changes, I am guessing we can't, but I'd really appreciate your reply.
    I have found the documentation *36.7 Working with Libraries of Reusable Business Components* at http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/bcadvgen.htm#CHEFECGD with respect to 11g. If you know of any other 11g considerations with respect to this task, that would be great as well.
    Thanks Shay, I really appreciate hearing from you.
    Mary
    UofW

  • Handling BPEL custom business faults in 11g

    Hi All,
    I am trying to work with 11g BPEL custom business faults based on fault-policies and following options are tried, but no success
    1. Use Throw activity to throw business fault and handle it in fault-policies
    2. Receive SOAP:Fault from OSB partnerlink and handle it in fault-policies
    Flow Description_
    BPEL<sync=>OSB
    Fault-Policy used*
    <faultName xmlns:ns="http://schemas.org/2207/Services"
    name="ns:BusinessFault">
    <condition>
    <action ref="ora-retry"/>
    </condition>
    </faultName>
    OSB WSDL*
    &lt;wsdl:message name="Business_ResponseFaultMessage"&gt;
    &lt;wsdl:part name="BusinessFault" element="tns:BusinessFault"&gt;&lt;/wsdl:part&gt;
    &lt;/wsdl:message&gt;
    &lt;wsdl:portType name="IntegrationService"&gt;
    &lt;wsdl:operation name="Order"&gt;
    &lt;wsdl:input message="tns:IntegrationService_InputMessage"/&gt;
    &lt;wsdl:output message="tns:IntegrationService_OutputMessage"/&gt;
    &lt;wsdl:fault name="BusinessFault" message="tns:Business_ResponseFaultMessage"&gt;&lt;/wsdl:fault&gt;
    &lt;/wsdl:operation&gt;
    &lt;/wsdl:portType&gt;
    &lt;wsdl:binding name="IntegrationSoap" type="tns:IntegrationService"&gt;
    &lt;soap:binding transport="http://schemas.xmlsoap.org/soap/http"/&gt;
    &lt;wsdl:operation name="Order"&gt;
    &lt;soap:operation soapAction="Order" style="document"/&gt;
    &lt;wsdl:input&gt;
    &lt;soap:body use="literal"/&gt;
    &lt;/wsdl:input&gt;
    &lt;wsdl:output&gt;
    &lt;soap:body use="literal"/&gt;
    &lt;/wsdl:output&gt;
    &lt;wsdl:fault name ="BusinessFault" &gt;
    &lt;soap:fault name="BusinessFault" use="literal" /&gt;
    &lt;/wsdl:fault&gt;
    &lt;/wsdl:operation&gt;
    &lt;/wsdl:binding&gt;
    I have defined BusinessFault in xsd and xsd is referenced with in OSB WSDL.
    *1st case result*
    When I use Throw activity,business fault is being raised but always going to CatchAll in BPEL, but I would like to handle through fault-policies.
    _2nd case result_
    OSB partnerlink is returning SOAP:Fault to BPEL, but BPEL is always taking it as remoteFault, not as a business fault.
    When I ran OSB service,I can clearly see SOAP:Fault being thrown,but When I invoke from EM console it is always complaining like
    *     Either the WSDL URL is invalid or the WSDL file is not valid or incorrect. - Failed to model operation: {"http://schemas.org/2207/Services}Order(,)*
    *Reason: Could not find definition for element: {"http://schemas.org/2207/Services}BusinessFault Detail:*
    SOAP:Fault returned by OSB is
    &lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"&gt;
    &lt;soapenv:Header/&gt;
    &lt;soapenv:Body&gt;
    &lt;soap-env:Fault xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"&gt;
    &lt;faultcode&gt;soap-env:Server&lt;/faultcode&gt;
    &lt;faultstring&gt;Unable to find order offer for supplied product: ZINDA&lt;/faultstring&gt;
    &lt;detail&gt;
    &lt;ns:BusinessFault xmlns:ns="http://schemas.org/2207/Services"&gt;
    &lt;OrderResponse xmlns="http://schemas.org/2207/Services" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;
    &lt;Errors&gt;
    &lt;ErrorMsgl Code="Unknown"&gt;Unable to find offer for supplied product: ZINDA&lt;/ErrorDetail&gt;
    &lt;/Errors&gt;
    &lt;Status&gt;Failed&lt;/Status&gt;
    &lt;/OrderResponse&gt;
    &lt;/ns:BusinessFault&gt;
    &lt;/detail&gt;
    &lt;/soap-env:Fault&gt;
    &lt;/soapenv:Body&gt;
    &lt;/soapenv:Envelope&gt;
    Any ideas where we are going wrong?
    Thanks,
    Praveen
    Edited by: Praveen Vaddanam on Apr 3, 2012 5:23 AM
    Edited by: Praveen Vaddanam on Apr 3, 2012 5:32 AM

    Hi
    Did you find a solution to your problem. I am also facing a similar problem.
    Thanks

  • Passing parameters into 11g agent (ibot) scheduled report/dashboard

    Hi,
    Does anyone know whether or not you can pass in or set parameter values when scheduling a report or dashboard using 11g agents (ibots)?
    Thanks in advance
    Phil

    Hi All,
    Is it possible to open another application in the same window?
    Currently my code is:
    APPLICATION.openNewWindow(
    http://<>:8080/BOE/OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=<>);
    This is working fine but the requirement is to open another dashboard in the same window?
    Is this possible in Design Studio 1.3?
    Thanks & Regards
    Swasti

  • JSP in a screeflow and business parameters

    I would like to use a JSP page in a screenflow that populates a value from a business parameter.
    Is this possible to do and, if so, how?

    -ALBPM Version 5.7-
    One possible way to populate a value is doing that by means of a dedicated method defined in a BPMObject you are using in the JSP.
    The method body may return a String as for example:
    return String(BusinessParameter.getValue(name : "MY_BUSINESS_VAR"))
    The method can be client side (that is "Server side = false")
    Daniele

  • 10g and 11g installation problem on Vista Business version

    Hi Everyone
    I could not get either 10g or 11g database install in my vista business version.
    11g Oracle universal installer was running, but many button does not work, like the folder browser and at some stage the program just terminate itself.
    10g gave me a total green screen during the universal installer, the window taskbar showed the installer was running.
    someone said it is the jre problem but i dont know how to fix it anyway. I tried to remove or update jre in my computer, but nothing get better.
    My window has the newest updates. below are the database files i was using from oracle.
    11g - win32_11gR1_database_1013.zip
    10g - 10203_vista_w2k8_x86_production_db.zip
    Could someone help me please, thank you.
    Bryan

    Please consider opening this as a completely separate question rather than a continuation of an existing, but not quite related, question.
    The reasons include:
    - each user sees a summary page which reveals the topic of the first question asked - yours is now buried;
    - others may wish to contribuite to the original and you have now side-tracked (if not completely derailed) it
    - you are able to assign helpfulness points of your own which encourages some to participate in YOUR issue
    - it is consideredd normal courtesy in forums

  • Minimum parameters and values required for 11g database

    Hi
    Can anyone please provide me with the list of parameters and the minimum value required for these parameters in 11g database (11.1.0.6.0).
    Thanks

    user8940828 wrote:
    Thanks for your help
    But this basic parameters did not mention the following parmeters . What can be the mimimum value that can be assigned to these parameters.
    dml_locks
    log_checkpoint_interval
    log_checkpoint_timeout
    open_cursors
    open_links
    parallel_max_servers
    processes
    session_cached_cursors
    session_max_open_files
    job_queue_processes
    log_buffer
    shared_pool_size
    sort_area_retained_size
    sort_area_size
    db_cache_size
    pga_aggregate_target
    ThanksI suggest you to start letting the default parameters and then tune them step-by-step.
    Eg:
    - open_links => If you dont have database links you can avoid to set it.
    - processes: number of backgroud processes + expected session/users for your application. if you have 1000 users connecting at the same time you would set a value higher than 1000.
    - shared_pool_size, db_cache_size, sort_area_size, pga_aggregate_target are not mandatory if you use automatic memory management by Oracle.
    - etc.

  • Where and how to create business rules?

    Hi All,
    1) Where and how to create business rules?
    2) How to configure Rule Engines (Ex: JRULE Engine or any other Rule Engines)?
    3) Whar products are available for Rule Engines?
    Thanks in advance

    Hi,
    You have some options on business rules.
    If you just want to create business rules that are easy for business owners to edit without a lot of training, Oracle BPM has a simple business rules creation and end user edit capability. The benefits to using the rules that come with Oracle BPM are:
    <li> they are simple and easy to edit
    <li> end users can get up to speed quickly to edit them
    <li> when changed, the business process is immediately impacted
    <li> they can use the Oracle BPM business parameters that also come with the product
    Drawbacks are:
    <li> you can only use Project variables as the variable content inside of them
    <li> if a company already has a business rules engine, they are different that the company's standard
    Business rules engines have been used with Oracle BPM. If you are a consultant, first ask if there is a standard business rules engine that the company already has purchased that they use (e.g. iLog from IBM, Corticon...). If this is the case, you typically integrate to the rules using a web service interface that the business rules engine exposes.
    If they do not already have a business rules engine, consider Jrules. The benefits are:
    <li> it is a part of the Oracle BPM Suite that they might have purchased
    <li> version 11g of the Jrules is coming out soon with a friendly front end
    Hope this helps,
    Dan

  • Migrating with RMAN from 10g to 11g

    Hi gurus,
    I am following the following procedure to migrate database from 10g to 11g using rman
    Source side:
    RMAN>connect target
    RMAN>backup database;
    RMAN>backup archivelog all;
    RMAN>backup current controlfile;
    SQL> create pfile from spfile;
    Copied datafile, archivelog backup files and pfile and password files to target side. i.e. on 11g server side
    Target side:
    Set proper parameters for 11g
    SQL>startup nomount;
    RMAN>connect target
    RMAN>set dbid=<source database id>
    RMAN>catalog start with '<rman backup file location';
    RMAN>restore controlfile;
    RMAN>run
    set newname for datafile 1 to '<target datafiles location with file name';
    restore database;
    switch datafile all;
    finished
    upto now it's success full when i am trying to recover
    RMAN>recover database;
    it is saying
    rman 00571
    rman 00569
    rman 00571
    rman 03002
    ora - 19698
    can you please suggest the solution for this.
    thanks a lot.

    I'm not sure what you're doing is supported.
    You are taking a 10g database and restore and recover it using 11g software.
    I think you are allowed to do that with 10g software only.

  • Error 500--Internal Server Error when using BI Publisher within OBIEE 11g

    I'm using OBIEE 11.1.1.6.2BP1 on a Linux x86-64 server and it has been working just fine. We recently started playing around with the BI Publisher component of that installation and every time i go to http://hostname:port/xmlpserver and try to log in with an Administrator username and password, the following error shows up:
    Error 500--Internal Server Error
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    *10.5.1 500 Internal Server Error*
    The server encountered an unexpected condition which prevented it from fulfilling the request.
    I have looked around for solutions and tried a couple of them (created a new Admin user in Weblogic Console and checked the opmnctl status) and they did not help. I'm looking for an answer other than upgrade to the latest and greatest
    Any help is appreciated.

    Do you have any SSO setup as that might be preventing the ability of the user to log into BI Publisher, hence the Internal 500 error message.
    Are you using FMW security model for BIP and OBIPS integration which is by default. Check the xmlp-server-config.xml file from the repository [\Middleware\Oracle_BI1\clients\bipublisher\repository\Admin\Configuration\xmlp-server-config.xml] and see what your security model is pointing to?
    Also what happens when you try to access from Administration>BI Publisher >Manager BI Publisher ?
    Follow : http://docs.oracle.com/cd/E23943_01/bi.1111/e22255.pdf
    Oracle Fusion MiddlewareAdministrator's Guide for Oracle Business Intelligence Publisher 11g Release 1
    HTH,
    SVS

  • Problem in pricing regardinr business blueprint

    HI Gurus,
    i am new in sap sd field i just put my foot in this field.
    i got business blueprint for sap sd implementation i have folloing problem in pricing please help me out.
    <b>1</b>.Do you require the functionality to create user-defined indexes in the pricing table? This will enable you to search for your prices using company-specific search criteria such as what operation input ?what prices on a certain day?
    2 Do you ever base the prise of an item on the cost to manufacture or purchase the material?
    3. Eill you need to pas pricing information to the sales informatiom system?
    how to configure above requirement in business blueprints?
    please solve this problem
    Ketan Katara

    I install Oracle Business Process Architect 11g again but with local DB. there is quick start example. when I share blueprint that project, It is ok but when I add a repository server and share a project inside it nothing happen.
    I dont know why???? please help me.
    sorry for my bad english :(

  • 11g takes more time than 9i to execute

    Hi
    We are trying to move 9.1.0.7 to 11.1.0.6 on Solaris 5.10. When we are trying to compare the performance on both database using the same SQL, it is noticed that 11g is taking about 10minutes more than 9i. The schema, objects, data, ... everything is similar. Can anyone please give an idea on why this difference?
    SQL is:
    --sql_id='bt04cp43n28m3'
    --hash_value=2461919517
    INSERT /*+APPEND */INTO act_com
    (act_id, rep, ytd_fee, ytd_commission, mtd_fee, mtd_commission,
    monthly_avg_fee, monthly_avg_comm, ttm_fee, ttm_commission,
    curr_dec_fee, curr_dec_comm, curr_nov_fee, curr_nov_comm,
    curr_oct_fee, curr_oct_comm, curr_sep_fee, curr_sep_comm,
    curr_aug_fee, curr_aug_comm, curr_jul_fee, curr_jul_comm,
    curr_jun_fee, curr_jun_comm, curr_may_fee, curr_may_comm,
    curr_apr_fee, curr_apr_comm, curr_mar_fee, curr_mar_comm,
    curr_feb_fee, curr_feb_comm, curr_jan_fee, curr_jan_comm,
    yr1_dec_fee, yr1_dec_comm, yr1_nov_fee, yr1_nov_comm,
    yr1_oct_fee, yr1_oct_comm, yr1_sep_fee, yr1_sep_comm,
    yr1_aug_fee, yr1_aug_comm, yr1_jul_fee, yr1_jul_comm,
    yr1_jun_fee, yr1_jun_comm, yr1_may_fee, yr1_may_comm,
    yr1_apr_fee, yr1_apr_comm, yr1_mar_fee, yr1_mar_comm,
    yr1_feb_fee, yr1_feb_comm, yr1_jan_fee, yr1_jan_comm,
    yr2_dec_fee, yr2_dec_comm, yr2_nov_fee, yr2_nov_comm,
    yr2_oct_fee, yr2_oct_comm, yr2_sep_fee, yr2_sep_comm,
    yr2_aug_fee, yr2_aug_comm, yr2_jul_fee, yr2_jul_comm,
    yr2_jun_fee, yr2_jun_comm, yr2_may_fee, yr2_may_comm,
    yr2_apr_fee, yr2_apr_comm, yr2_mar_fee, yr2_mar_comm,
    yr2_feb_fee, yr2_feb_comm, yr2_jan_fee, yr2_jan_comm,
    tot_fee_prev_day, tot_comm_prev_day)
    SELECT act.acct_no, x.rep,
    SUM (CASE
    WHEN (x.cf_ind = 'F' AND yr = curr_yr)
    THEN x.dollar_amt
    ELSE 0
    END
    ) ytd_fee,
    SUM (CASE
    WHEN (x.cf_ind = 'C' AND yr = curr_yr)
    THEN x.dollar_amt
    ELSE 0
    END
    ) ytd_commission,
    SUM (CASE
    WHEN (x.cf_ind = 'F' AND yr = curr_yr AND curr_mm = mm)
    THEN x.dollar_amt
    ELSE 0
    END
    ) mtd_fee,
    SUM (CASE
    WHEN (x.cf_ind = 'C' AND yr = curr_yr AND curr_mm = mm)
    THEN x.dollar_amt
    ELSE 0
    END
    ) mtd_comm,
    SUM (CASE
    WHEN ( x.cf_ind = 'F'
    AND ( (yr = curr_yr - 1 AND mm >= curr_mm)
    OR (yr = curr_yr AND mm < curr_mm)
    THEN x.dollar_amt
    ELSE 0
    END
    / 12 monthly_avg_fee,
    SUM (CASE
    WHEN ( x.cf_ind = 'C'
    AND ( (yr = curr_yr - 1 AND mm >= curr_mm)
    OR (yr = curr_yr AND mm < curr_mm)
    THEN x.dollar_amt
    ELSE 0
    END
    / 12 monthly_avg_comm,
    SUM (CASE
    WHEN ( x.cf_ind = 'F'
    AND ( (yr = curr_yr - 1 AND mm > curr_mm)
    OR (yr = curr_yr AND mm <= curr_mm)
    THEN x.dollar_amt
    ELSE 0
    END
    ) ttm_fee,
    SUM (CASE
    WHEN ( x.cf_ind = 'C'
    AND ( (yr = curr_yr - 1 AND mm > curr_mm)
    OR (yr = curr_yr AND mm <= curr_mm)
    THEN x.dollar_amt
    ELSE 0
    END
    ) ttm_commission,
    SUM (CASE
    WHEN (x.cf_ind = 'F' AND yr = curr_yr AND mm = 12)
    THEN x.dollar_amt
    ELSE 0
    END
    ) curr_dec_fee,
    SUM (CASE
    WHEN (x.cf_ind = 'C' AND yr = curr_yr AND mm = 12)
    THEN x.dollar_amt
    ELSE 0
    END
    ) curr_dec_comm,
    SUM (CASE
    WHEN (x.cf_ind = 'F' AND yr = curr_yr AND mm = 11)
    THEN x.dollar_amt
    ELSE 0
    END
    ) curr_nov_fee,
    SUM (CASE
    WHEN (x.cf_ind = 'C' AND yr = curr_yr AND mm = 11)
    THEN x.dollar_amt
    ELSE 0
    END
    ) curr_nov_comm,
    SUM (CASE
    WHEN (x.cf_ind = 'F' AND yr = curr_yr AND mm = 10)
    THEN x.dollar_amt
    ELSE 0
    END
    ) curr_oct_fee,
    SUM (CASE
    WHEN (x.cf_ind = 'C' AND yr = curr_yr AND mm = 10)
    THEN x.dollar_amt
    ELSE 0
    END
    ) curr_oct_comm,
    SUM (CASE
    WHEN (x.cf_ind = 'F' AND yr = curr_yr AND mm = 9)
    THEN x.dollar_amt
    ELSE 0
    END
    ) curr_sep_fee,
    SUM (CASE
    WHEN (x.cf_ind = 'C' AND yr = curr_yr AND mm = 9)
    THEN x.dollar_amt
    ELSE 0
    END
    ) curr_sep_comm,
    SUM (CASE
    WHEN (x.cf_ind = 'F' AND yr = curr_yr AND mm = 8)
    THEN x.dollar_amt
    ELSE 0
    END
    ) curr_aug_fee,
    SUM (CASE
    WHEN (x.cf_ind = 'C' AND yr = curr_yr AND mm = 8)
    THEN x.dollar_amt
    ELSE 0
    END
    ) curr_aug_comm,
    SUM (CASE
    WHEN (x.cf_ind = 'F' AND yr = curr_yr AND mm = 7)
    THEN x.dollar_amt
    ELSE 0
    END
    ) curr_jul_fee,
    SUM (CASE
    WHEN (x.cf_ind = 'C' AND yr = curr_yr AND mm = 7)
    THEN x.dollar_amt
    ELSE 0
    END
    ) curr_jul_comm,
    SUM (CASE
    WHEN (x.cf_ind = 'F' AND yr = curr_yr AND mm = 6)
    THEN x.dollar_amt
    ELSE 0
    END
    ) curr_jun_fee,
    SUM (CASE
    WHEN (x.cf_ind = 'C' AND yr = curr_yr AND mm = 6)
    THEN x.dollar_amt
    ELSE 0
    END
    ) curr_jun_comm,
    SUM (CASE
    WHEN (x.cf_ind = 'F' AND yr = curr_yr AND mm = 5)
    THEN x.dollar_amt
    ELSE 0
    END
    ) curr_may_fee,
    SUM (CASE
    WHEN (x.cf_ind = 'C' AND yr = curr_yr AND mm = 5)
    THEN x.dollar_amt
    ELSE 0
    END
    ) curr_may_comm,
    SUM (CASE
    WHEN (x.cf_ind = 'F' AND yr = curr_yr AND mm = 4)
    THEN x.dollar_amt
    ELSE 0
    END
    ) curr_apr_fee,
    SUM (CASE
    WHEN (x.cf_ind = 'C' AND yr = curr_yr AND mm = 4)
    THEN x.dollar_amt
    ELSE 0
    END
    ) curr_apr_comm,
    SUM (CASE
    WHEN (x.cf_ind = 'F' AND yr = curr_yr AND mm = 3)
    THEN x.dollar_amt
    ELSE 0
    END
    ) curr_mar_fee,
    SUM (CASE
    WHEN (x.cf_ind = 'C' AND yr = curr_yr AND mm = 3)
    THEN x.dollar_amt
    ELSE 0
    END
    ) curr_mar_comm,
    SUM (CASE
    WHEN (x.cf_ind = 'F' AND yr = curr_yr AND mm = 2)
    THEN x.dollar_amt
    ELSE 0
    END
    ) curr_feb_fee,
    SUM (CASE
    WHEN (x.cf_ind = 'C' AND yr = curr_yr AND mm = 2)
    THEN x.dollar_amt
    ELSE 0
    END
    ) curr_feb_comm,
    SUM (CASE
    WHEN (x.cf_ind = 'F' AND yr = curr_yr AND mm = 1)
    THEN x.dollar_amt
    ELSE 0
    END
    ) curr_jan_fee,
    SUM (CASE
    WHEN (x.cf_ind = 'C' AND yr = curr_yr AND mm = 1)
    THEN x.dollar_amt
    ELSE 0
    END
    ) curr_jan_comm,
    SUM (CASE
    WHEN (x.cf_ind = 'F' AND yr = curr_yr - 1 AND mm = 12)
    THEN x.dollar_amt
    ELSE 0
    END
    ) yr1_dec_fee,
    SUM (CASE
    WHEN (x.cf_ind = 'C' AND yr = curr_yr - 1 AND mm = 12)
    THEN x.dollar_amt
    ELSE 0
    END
    ) yr1_dec_comm,
    SUM (CASE
    WHEN (x.cf_ind = 'F' AND yr = curr_yr - 1 AND mm = 11)
    THEN x.dollar_amt
    ELSE 0
    END
    ) yr1_nov_fee,
    SUM (CASE
    WHEN (x.cf_ind = 'C' AND yr = curr_yr - 1 AND mm = 11)
    THEN x.dollar_amt
    ELSE 0
    END
    ) yr1_nov_comm,
    SUM (CASE
    WHEN (x.cf_ind = 'F' AND yr = curr_yr - 1 AND mm = 10)
    THEN x.dollar_amt
    ELSE 0
    END
    ) yr1_oct_fee,
    SUM (CASE
    WHEN (x.cf_ind = 'C' AND yr = curr_yr - 1 AND mm = 10)
    THEN x.dollar_amt
    ELSE 0
    END
    ) yr1_oct_comm,
    SUM (CASE
    WHEN (x.cf_ind = 'F' AND yr = curr_yr - 1 AND mm = 9)
    THEN x.dollar_amt
    ELSE 0
    END
    ) yr1_sep_fee,
    SUM (CASE
    WHEN (x.cf_ind = 'C' AND yr = curr_yr - 1 AND mm = 9)
    THEN x.dollar_amt
    ELSE 0
    END
    ) yr1_sep_comm,
    SUM (CASE
    WHEN (x.cf_ind = 'F' AND yr = curr_yr - 1 AND mm = 8)
    THEN x.dollar_amt
    ELSE 0
    END
    ) yr1_aug_fee,
    SUM (CASE
    WHEN (x.cf_ind = 'C' AND yr = curr_yr - 1 AND mm = 8)
    THEN x.dollar_amt
    ELSE 0
    END
    ) yr1_aug_comm,
    SUM (CASE
    WHEN (x.cf_ind = 'F' AND yr = curr_yr - 1 AND mm = 7)
    THEN x.dollar_amt
    ELSE 0
    END
    ) yr1_jul_fee,
    SUM (CASE
    WHEN (x.cf_ind = 'C' AND yr = curr_yr - 1 AND mm = 7)
    THEN x.dollar_amt
    ELSE 0
    END
    ) yr1_jul_comm,
    SUM (CASE
    WHEN (x.cf_ind = 'F' AND yr = curr_yr - 1 AND mm = 6)
    THEN x.dollar_amt
    ELSE 0
    END
    ) yr1_jun_fee,
    SUM (CASE
    WHEN (x.cf_ind = 'C' AND yr = curr_yr - 1 AND mm = 6)
    THEN x.dollar_amt
    ELSE 0
    END
    ) yr1_jun_comm,
    SUM (CASE
    WHEN (x.cf_ind = 'F' AND yr = curr_yr - 1 AND mm = 5)
    THEN x.dollar_amt
    ELSE 0
    END
    ) yr1_may_fee,
    SUM (CASE
    WHEN (x.cf_ind = 'C' AND yr = curr_yr - 1 AND mm = 5)
    THEN x.dollar_amt
    ELSE 0
    END
    ) yr1_may_comm,
    SUM (CASE
    WHEN (x.cf_ind = 'F' AND yr = curr_yr - 1 AND mm = 4)
    THEN x.dollar_amt
    ELSE 0
    END
    ) yr1_apr_fee,
    SUM (CASE
    WHEN (x.cf_ind = 'C' AND yr = curr_yr - 1 AND mm = 4)
    THEN x.dollar_amt
    ELSE 0
    END
    ) yr1_apr_comm,
    SUM (CASE
    WHEN (x.cf_ind = 'F' AND yr = curr_yr - 1 AND mm = 3)
    THEN x.dollar_amt
    ELSE 0
    END
    ) yr1_mar_fee,
    SUM (CASE
    WHEN (x.cf_ind = 'C' AND yr = curr_yr - 1 AND mm = 3)
    THEN x.dollar_amt
    ELSE 0
    END
    ) yr1_mar_comm,
    SUM (CASE
    WHEN (x.cf_ind = 'F' AND yr = curr_yr - 1 AND mm = 2)
    THEN x.dollar_amt
    ELSE 0
    END
    ) yr1_feb_fee,
    SUM (CASE
    WHEN (x.cf_ind = 'C' AND yr = curr_yr - 1 AND mm = 2)
    THEN x.dollar_amt
    ELSE 0
    END
    ) yr1_feb_comm,
    SUM (CASE
    WHEN (x.cf_ind = 'F' AND yr = curr_yr - 1 AND mm = 1)
    THEN x.dollar_amt
    ELSE 0
    END
    ) yr1_jan_fee,
    SUM (CASE
    WHEN (x.cf_ind = 'C' AND yr = curr_yr - 1 AND mm = 1)
    THEN x.dollar_amt
    ELSE 0
    END
    ) yr1_jan_comm,
    SUM (CASE
    WHEN (x.cf_ind = 'F' AND yr = curr_yr - 2 AND mm = 12)
    THEN x.dollar_amt
    ELSE 0
    END
    ) yr2_dec_fee,
    SUM (CASE
    WHEN (x.cf_ind = 'C' AND yr = curr_yr - 2 AND mm = 12)
    THEN x.dollar_amt
    ELSE 0
    END
    ) yr2_dec_comm,
    SUM (CASE
    WHEN (x.cf_ind = 'F' AND yr = curr_yr - 2 AND mm = 11)
    THEN x.dollar_amt
    ELSE 0
    END
    ) yr2_nov_fee,
    SUM (CASE
    WHEN (x.cf_ind = 'C' AND yr = curr_yr - 2 AND mm = 11)
    THEN x.dollar_amt
    ELSE 0
    END
    ) yr2_nov_comm,
    SUM (CASE
    WHEN (x.cf_ind = 'F' AND yr = curr_yr - 2 AND mm = 10)
    THEN x.dollar_amt
    ELSE 0
    END
    ) yr2_oct_fee,
    SUM (CASE
    WHEN (x.cf_ind = 'C' AND yr = curr_yr - 2 AND mm = 10)
    THEN x.dollar_amt
    ELSE 0
    END
    ) yr2_oct_comm,
    SUM (CASE
    WHEN (x.cf_ind = 'F' AND yr = curr_yr - 2 AND mm = 9)
    THEN x.dollar_amt
    ELSE 0
    END
    ) yr2_sep_fee,
    SUM (CASE
    WHEN (x.cf_ind = 'C' AND yr = curr_yr - 2 AND mm = 9)
    THEN x.dollar_amt
    ELSE 0
    END
    ) yr2_sep_comm,
    SUM (CASE
    WHEN (x.cf_ind = 'F' AND yr = curr_yr - 2 AND mm = 8)
    THEN x.dollar_amt
    ELSE 0
    END
    ) yr2_aug_fee,
    SUM (CASE
    WHEN (x.cf_ind = 'C' AND yr = curr_yr - 2 AND mm = 8)
    THEN x.dollar_amt
    ELSE 0
    END
    ) yr2_aug_comm,
    SUM (CASE
    WHEN (x.cf_ind = 'F' AND yr = curr_yr - 2 AND mm = 7)
    THEN x.dollar_amt
    ELSE 0
    END
    ) yr2_jul_fee,
    SUM (CASE
    WHEN (x.cf_ind = 'C' AND yr = curr_yr - 2 AND mm = 7)
    THEN x.dollar_amt
    ELSE 0
    END
    ) yr2_jul_comm,
    SUM (CASE
    WHEN (x.cf_ind = 'F' AND yr = curr_yr - 2 AND mm = 6)
    THEN x.dollar_amt
    ELSE 0
    END
    ) yr2_jun_fee,
    SUM (CASE
    WHEN (x.cf_ind = 'C' AND yr = curr_yr - 2 AND mm = 6)
    THEN x.dollar_amt
    ELSE 0
    END
    ) yr2_jun_comm,
    SUM (CASE
    WHEN (x.cf_ind = 'F' AND yr = curr_yr - 2 AND mm = 5)
    THEN x.dollar_amt
    ELSE 0
    END
    ) yr2_may_fee,
    SUM (CASE
    WHEN (x.cf_ind = 'C' AND yr = curr_yr - 2 AND mm = 5)
    THEN x.dollar_amt
    ELSE 0
    END
    ) yr2_may_comm,
    SUM (CASE
    WHEN (x.cf_ind = 'F' AND yr = curr_yr - 2 AND mm = 4)
    THEN x.dollar_amt
    ELSE 0
    END
    ) yr2_apr_fee,
    SUM (CASE
    WHEN (x.cf_ind = 'C' AND yr = curr_yr - 2 AND mm = 4)
    THEN x.dollar_amt
    ELSE 0
    END
    ) yr2_apr_comm,
    SUM (CASE
    WHEN (x.cf_ind = 'F' AND yr = curr_yr - 2 AND mm = 3)
    THEN x.dollar_amt
    ELSE 0
    END
    ) yr2_mar_fee,
    SUM (CASE
    WHEN (x.cf_ind = 'C' AND yr = curr_yr - 2 AND mm = 3)
    THEN x.dollar_amt
    ELSE 0
    END
    ) yr2_mar_comm,
    SUM (CASE
    WHEN (x.cf_ind = 'F' AND yr = curr_yr - 2 AND mm = 2)
    THEN x.dollar_amt
    ELSE 0
    END
    ) yr2_feb_fee,
    SUM (CASE
    WHEN (x.cf_ind = 'C' AND yr = curr_yr - 2 AND mm = 2)
    THEN x.dollar_amt
    ELSE 0
    END
    ) yr2_feb_comm,
    SUM (CASE
    WHEN (x.cf_ind = 'F' AND yr = curr_yr - 2 AND mm = 1)
    THEN x.dollar_amt
    ELSE 0
    END
    ) yr2_jan_fee,
    SUM (CASE
    WHEN (x.cf_ind = 'C' AND yr = curr_yr - 2 AND mm = 1)
    THEN x.dollar_amt
    ELSE 0
    END
    ) yr2_jan_comm,
    SUM (CASE
    WHEN (x.cf_ind = 'F' AND asof_cymd = bus_day)
    THEN x.dollar_amt
    ELSE 0
    END
    ) tot_fee_prev_day,
    SUM (CASE
    WHEN (x.cf_ind = 'C' AND asof_cymd = bus_day)
    THEN x.dollar_amt
    ELSE 0
    END
    ) tot_comm_prev_day
    FROM (SELECT acct_no, status
    FROM action_tab
    UNION
    SELECT '0' acct_no, 'AC' status
    FROM DUAL) act,
    (SELECT TO_NUMBER (TO_CHAR (TO_DATE (NVL (asof_cymd, trade_cymd),
    'YYYY-MM-DD'
    'YYYY'
    ) yr,
    TO_NUMBER (TO_CHAR (TO_DATE (NVL (asof_cymd, trade_cymd),
    'YYYY-MM-DD'
    'MM'
    ) mm,
    TO_NUMBER (TO_CHAR (h_inner.bus_day, 'yyyy')) curr_yr,
    TO_NUMBER (TO_CHAR (h_inner.bus_day, 'mm')) curr_mm,
    rep_commission,
    TO_DATE (NVL (asof_cymd, trade_cymd),
    'YYYY-MM-DD'
    ) asof_cymd,
    c.acct_no, rep_full rep, f.acct_no fba_acct,
    CASE
    WHEN ( TO_DATE (f.close_cymd, 'YYYY-MM-DD') <=
    SYSDATE
    OR f.acct_no IS NULL
    THEN 'C'
    ELSE 'F'
    END cf_ind,
    CASE
    WHEN (adj_commission != 0
    AND adj_commission IS NOT NULL
    THEN adj_commission
    ELSE NVL (commission, 0) + NVL (mark_up_down, 0)
    END dollar_amt
    FROM coding_tab c, fbaact_tab f, hist_dt_ctrl_tab h_inner
    WHERE c.acct_no = f.acct_no(+)) x,
    hist_dt_ctrl_tab
    WHERE act.acct_no = x.acct_no
    AND x.rep IS NOT NULL
    --AND act.rep = x.rep
    AND act.status IN ('AC', 'IN')
    GROUP BY act.acct_no, x.rep
    Thanks in advance.

    Hi
    The details given below.
    Execution Plan on 9i
    1.00     2,412.00     SELECT STATEMENT      93,164.00     260,496.00          93,164.00     CHOOSE
    2.00     2,412.00     -SORT GROUP BY      93,164.00     260,496.00          93,164.00     
    3.00     8,684,104.00     --NESTED LOOPS OUTER      17,410.00     937,883,232.00          17,410.00     
    4.00     8,684,104.00     ---HASH JOIN      17,410.00     772,885,256.00          17,410.00     
    5.00     538,055.00     ----MERGE JOIN CARTESIAN      5,632.00     28,516,915.00          5,632.00     
    6.00     1.00     -----MERGE JOIN CARTESIAN      6.00     14.00          6.00     
    7.00     1.00     ------TABLE ACCESS FULL HIST_DT_CTRL     3.00     7.00          3.00     ANALYZED
    7.00     1.00     ------BUFFER SORT      3.00     7.00          3.00     
    8.00     1.00     -------TABLE ACCESS FULL HIST_DT_CTRL     3.00     7.00          3.00     ANALYZED
    6.00     538,055.00     -----BUFFER SORT      5,629.00     20,984,145.00          5,629.00     
    7.00     538,055.00     ------VIEW      5,626.00     20,984,145.00               
    8.00     538,055.00     -------SORT UNIQUE      5,626.00     5,298,870.00          5,599.00     
    9.00          --------UNION-ALL                          
    10.00     529,887.00     ---------TABLE ACCESS FULL ACTION_TAB     4,164.00     5,298,870.00          4,164.00     ANALYZED
    10.00     8,168.00     ---------TABLE ACCESS FULL DUAL     11.00               11.00     
    5.00     3,518,688.00     ----TABLE ACCESS FULL CODING_TAB     3,978.00     126,672,768.00          3,978.00     ANALYZED
    4.00     1.00     ---TABLE ACCESS BY INDEX ROWID FBAACT_TAB          19.00               ANALYZED
    5.00     1.00     ----INDEX UNIQUE SCAN FBA_ACT_PK_ACCT_NO                         ANALYZED
    Execution Plan on 11g
    1.00     2,399.00     SELECT STATEMENT      37,681.00     271,087.00     17,370,453,529.00     35,293.00     ALL_ROWS
    2.00     2,399.00     -HASH GROUP BY      37,681.00     271,087.00     17,370,453,529.00     35,293.00     
    3.00     10,291,120.00     --HASH JOIN RIGHT OUTER      36,195.00     1,162,896,560.00     6,562,221,120.00     35,293.00     
    4.00     1.00     ---TABLE ACCESS FULL FBAACT_TAB     2.00     19.00     7,121.00     2.00     ANALYZED
    4.00     10,291,120.00     ---HASH JOIN      36,051.00     967,365,280.00     5,529,464,283.00     35,291.00     
    5.00     660,746.00     ----MERGE JOIN CARTESIAN      14,778.00     38,323,268.00     2,126,486,738.00     14,486.00     
    6.00     1.00     -----MERGE JOIN CARTESIAN      10.00     16.00     185,497.00     10.00     
    7.00     1.00     ------TABLE ACCESS FULL HISTDT_CTRL     5.00     8.00     92,749.00     5.00     ANALYZED
    7.00     1.00     ------BUFFER SORT      5.00     8.00     92,749.00     5.00     
    8.00     1.00     -------TABLE ACCESS FULL HISTDT_CTRL     5.00     8.00     92,749.00     5.00     ANALYZED
    6.00     660,746.00     -----BUFFER SORT      14,773.00     27,751,332.00     2,126,393,989.00     14,481.00     
    7.00     660,746.00     ------VIEW      14,768.00     27,751,332.00     2,126,301,241.00     14,476.00     
    8.00     660,746.00     -------SORT UNIQUE      14,768.00     6,607,450.00     2,119,018,839.00     14,474.00     
    9.00          --------UNION-ALL                          
    10.00     660,745.00     ---------TABLE ACCESS FULL ACTION_TAB     12,058.00     6,607,450.00     1,494,346,997.00     11,853.00     ANALYZED
    10.00     1.00     ---------FAST DUAL      2.00          7,271.00     2.00     
    5.00     3,418,417.00     ----TABLE ACCESS FULL CODING_TAB     11,116.00     123,063,012.00     1,823,935,730.00     10,865.00     ANALYZED
    The differences in INIT Parameters
    9i 11g
    multi_block_read_count 16 128
    optimizer_mode choose all_rows
    other h/w and load related
    CPUs 8@900MHZ 8@1200MHZ
    load used by many QA users just testing to make sure
    all our cronjobs are running
    fine or not
    the above mentioned SQL is part of one of the processes, takes about 41 min on 9i and the same taking about 52-56 minutes on 11g.
    Also, I took out every in-line SELECT statement and ran in both envs. looks 11g is executing them fast. But as a whole it takes about 10-12 mins more on 11g. So
    I suspect that its problem with INSERT statement. So I just wrote a simple PL/SQL block to insert 1m records and tested on both.
    INSERTION OF 1M records 1:46 min 2:06 min
    count(*) 0:0.35 sec 0:0.17 sec
    delete 0:28.9 sec 0:36.72 sec
    rollback 0:32.19 sec 0:41.36 sec

Maybe you are looking for

  • [REQUESTS] Vbios - MSI GTX970 Gaming 4G

    Hello. I'd like to request for a Vbios update for my GTX 970 Gaming 4G, I'm having issue with monitor blacking out and freezing the system. S/N 602-V316-09SB1410114937-7OL I'd post my current Vbios, but I can't seem to find where to add attachment. E

  • Help for Flash player that will not install

    Flash player won't install on  Dell with Mozilla Firefox version 33.0 for Yahoo 1.32. It does not matter what I try or even if I delete all old flash player files, folders etc. The download goes as far as the black box where it should be installing a

  • MuVo TX SE: Sleep Ti

    Hi. I just bought the Muvo TX SE (in Germany). I read that a special Sleep Timer is still not avaible. Someone wrote that is possible to set the "Play Mode"; than after playing the last track the player would stop playing. Unfortunaly this doesn?t wo

  • XSAN Lun not visible

    Hello, Hello I have XSAN with 4 MacPro's. Two of them are MDC and two clients. Suddenly the volumes disappeared from one of the clients. I checked on one of the mdc and the volumes were visible but in Xsan admin there was a message No visible luns. I

  • Item category ZLCO L2N cannot be invoiced with billing type ZLR.

    Hi experts, I made one sales order with order type ZLCO.(Order relevant Billing type). At the time of doing VF01 i am getting the following error Item category ZLCO L2N cannot be invoiced with billing type ZLR. Any one guide me to solve this problem.