This is regarding psu/cpu on 11.2.0.2

Hi,
We installed and created the 11.2.0.2 db on 13-APR-11
./opatch lsinventory -all shows the below contents
List of Oracle Homes:
Name Location
OraDb11g_home2 /orahome/oracle/product/11.2.0.2/db_1
Installed Top-level Products (1):
Oracle Database 11g 11.2.0.2.0
There are 1 products installed in this Oracle Home.
There are no Interim patches installed in this Oracle Home.
We haven't applied any kind patch till now so instead of applying and patchset can we upgrade to 11.2.0.3 which is latest one , is it covers all the oracle released patch set (psu/cpu) till now on 11g ?
appreciated for the inputs
Thanks
Edited by: user12194321 on Sep 17, 2012 4:44 AM

HI,
As the database created on 13-APR-11 and we haven't applied any patches (CPU/PSU) after that
suppose if application won't support 11.2.0.3 then i need to apply patches on 11.2.0.2
These are the below patch no released for 11.2.0.2
Patchset/PSU number
11.2.0.2.6 -> 13696224
11.2.0.2.5 -> 13343424
11.2.0.2.4 -> 12827726
11.2.0.2.3 -> 12419331
11.2.0.2.2 -> 11724916
11.2.0.2.1 -> 10248523
is i need to apply all ptaches to get updated with oracle OR by applying 11.2.0.2.6 -> 13696224 only enough to sync with oracle ? so no need to apply 13343424,12827726,12419331,11724916,10248523
appreciated for the inputs
Thanks

Similar Messages

  • Database PSU/CPU and FMW CPUs

    I have been hired to a new work place. there are the systems with the applications such Fusion Middleware11g (FMW) products -- OID, OAM, OIM, Portal and so on, and the Oracle databases as the backend which have the FMW applications' repositories installed in.
    I notice that they have been applying only database PSU to the backend databases without any applications' CPUs along with for over a year. I think that we shall apply all the relevant Quarterly CPUs in the system, not just the database's PSU/CPU. The quarter's Database PSU/CPU require the same Quarter's FMW's CPUS because we have FMW's repositories resided in the databases. This kind of practice could have the potential issues because of the operational in-compatibilities within the system. They have ignored my advice, because they have not been experienced an issue yet for the practice. i know that sooner or later the issues will occur.
    Please make your comments. Thanks.

    Database PSUs are fine, as then contains CPUs as well. So from the database side issues may not occur but for applications we must apply CPUs.
    Regards,
    GP

  • PSU/CPU doubt

    Hi All,
    I want use the PSU/CPU for 10.2.0.4.0 version on AIX.
    Should I shutdown my database to patch PSU/CPU?
    What are the steps to do this activity?
    Thanks,
    Nonuday

    >
    Check readme fileYes, I going through but am not able to understand clearly..
    First checked for Opatch version mine is 10.2.0.4.3, so first inorder to apply 10.2.0.4.11 I need Opatch version 10.2.0.4.4.
    I have downloaded the Opatch version 10.2.0.4.4. In document it say to check for one-off patches conflict for that to execute the below command.
    opatch prereq CheckConflictAgainstOHWithDetail -phBaseDir ./9352164
    I have unziped the file in the optach location and executed with the below command but I am getting an error stating invalid location.
    opatch prereq CheckConflictAgainstOHWithDetail -phBaseDir /forein/oracle/oracle10g/product/10.2.0/db_1/OPatch/9352164
    getting the below error:
    *0481-014 chmod: not all requested changes were made to /forein/oracle/oracle10g/product/10.2.0/db_1/.patch_storage*
    Invoking OPatch 10.2.0.4.3
    Oracle Interim Patch Installer version 10.2.0.4.3
    Copyright (c) 2007, Oracle Corporation.  All rights reserved.
    PREREQ session
    Oracle Home       : /forein/oracle/oracle10g/product/10.2.0/db_1
    Central Inventory : /forein/oracle/oraInventory
    from           : /etc/oraInst.loc
    OPatch version    : 10.2.0.4.3
    OUI version       : 10.2.0.4.0
    OUI location      : /forein/oracle/oracle10g/product/10.2.0/db_1/oui
    Log file location : /forein/oracle/oracle10g/product/10.2.0/db_1/cfgtoollogs/opatch/opatch2012-04-10_13-34-55PM.log
    Invoking prereq "checkconflictagainstohwithdetail"
    The location "/forein/oracle/oracle10g/product/10.2.0/db_1/OPatch/9352164/README.html" is not a directory or a valid patch zip file.
    Prereq "checkConflictAgainstOHWithDetail" not executed
    PrereqSession failed: Invalid patch location.
    OPatch failed with error code 73
    please help me out.....
    kindly tell me...
    Do I need to shutdown my database for applying PSU/CPU(in readme itwas not mentioned about shutting down but used startup command to run catbundle.sql script)?
    Edited by: 897910 on Apr 10, 2012 1:37 AM

  • HT1365 Hi can anyone help with this issue regarding my wireless magic mouse? When im on google chrome and scrolling down the page i always have youtube running in the background but the audio cuts/spits/pops can anyone help me with this?

    Hi can anyone help with this issue regarding my wireless magic mouse? When im on google chrome and scrolling down the page i always have youtube running in the background but the audio cuts/spits/pops can anyone help me with this?

    The figures you mention only make sense on your intranet.  Are you still using the same wireless router.  The verizon one is somewhat limited as far as max wireless-n performace.  For one thing it only has a 2.4 radio.   I like many people who wanted wireless-n performance before they even added a wireless-n gigabit router, have my own handling my wireless-n network.

  • This is regarding CBMA in SAP PI 7.3.1. I have set up the alert mail using default java mail client.I do receive the alerts via mail. But my requirement is to direct all the mails to Business workplace inbox in ECC.

    This is regarding CBMA in single stack SAP PI 7.3.1. I have set up the alert mail using default java mail client.I do receive the alerts via mail. But my requirement is to direct all the alert mails to Business workplace inbox in ECC.
    So I need to set up PI to redirect mails to ECC Business workplace user inbox (sbwp). From here rules are set up & routed per distribution list.
    Please guide me how I can achieve this requirement.

    Hi,
    yes, it is a little bit different. This is the issue.....  
    But I am not sure if your links will help:
    1) /people/william.li/blog/2008/02/13/sap-pi-71-mapping-enhancements-series-using-graphical-variable
    is about a different solution. I do not need to count the number of lines of the source message.
    And the second variable is about concat line by line from unbound node to unbound node.
    My issue is:
    Souce:
    Message line (0...unbound) ! ! ! ! ! ! ! !
    .    ResultLine   (1..1)
    Mapping:
    =>   ResultLine1
           ResultLine2
           ResultLine........          => into UDF to an element  (1..1) in one mapping operation.
    So that all "ResultLine"s are included.
    The result is explained in the given link for Mail attachment with UDF.
    So I am not sure how to use this thread for my issue.
    In the comments of that blog Christoph Gerber writes that the new variable feature can only handle single values.
    So it is not suitable for my purposes as I have a list of values here that needs to be moved into the target message field.
    2) http://wiki.sdn.sap.com/wiki/display/Java/UsingEditJavaSectioninMessageMapping
    shows where to find the button "Java section" which is not available here in 7.1
    3) /people/sap.user72/blog/2005/10/01/xi-new-features-in-sp14
    too is about the nice little button for Java Section that is no longer existing on PI 7.1 screen for mappings.  
    So my issue is: How to replace the Java section function with global variables in PI 7.1?
    Best regards
    Dirk

  • Morning. I download podcast on my iMac and listen to them on my iPhone. Since last week the iPhone plays the podcast back slower than recorded and with a echo. How can I solve this?  Regards,  Menno

    morning. I download podcast on my iMac and listen to them on my iPhone. Since last week the iPhone plays the podcast back slower than recorded and with a echo. How can I solve this?
    Regards,
    Menno

    Hello,
    If you're in a country where there's an apple shop (unfortunately not mine), go check it and ask the employee about it: he's gonna check your Iphone on a "device"
    I've got an iphone 5 and it's working very well with me but I have to admit that its battery lasts (slower) than my Ipad 2.
    Still i can help with some tips that may improve your iohone's battery by an hour in addition (hopefully):
    - close all apps by multitasking....
    - do NOT keep the brightness to the max
    Believe me you're gonna regret changing your phone to a samsung
    Hope i've helped and sorry for my bad english (has english as 3rd language)

  • I have a Shockwave Error: "This Shockwave movie has errors that have caused playback problems.  Please contact the author of this content regarding this problem.   Shockwave is unable to continue."  What I can make ?

    I have a Shockwave Error: "This Shockwave movie has errors that have caused playback problems.  Please contact the author of this content regarding this problem.   Shockwave is unable to continue."  What I can make ?

    This is some built-in "protection" that was engineered into Shockwave some years ago. It means that SW will ignore the first 10 script errors then throw the dialogue you are seeing. You really will have to contact the developer of the content in question to have it fixed - there's nothing anyone else can do. The developer needs to replicate your error, determine the cause, rectify it and republish their movie

  • I had an iMac with Snow Leopard 10.6.8, I  downloaded and installed Lion, did not make me any questions. After the reboot I get this fatal error: Panic(cpu 0 ......) Kernel trap ......

    I had an iMac with Snow Leopard 10.6.8, I  downloaded and installed Lion, did not make me any questions. After the reboot I get this fatal error: Panic(cpu 0 ......) Kernel trap ......

    Please post the Kernel Panic report. You will find it at /Library/Logs/DiagnosticReports  per
    http://support.apple.com/kb/ht2546
    When we look at the KP report we may find some clues why it is occuring.

  • Anyone know what this means? warning.cpu.alert.b5 it came through skype

    Anyone know what this means? warning.cpu.alert.b5
    It came as a skype call........very strange.  I can't find anything on google search

    Anyone else questioning this?  the info from Skye is:
    Do not repond to the call or go to any suggested website.
    "This link or website may be "phishing" sites, where it will ask for personal information which they will be using in their personal interest. Furthermore, this link may also contain viruses that could damage your computer. "
    Hope this helps others out there.........

  • This question regarding sending mail from sap

    hi to all,
    this question regarding sending mail from sap
    rt now iam able to send mails from 500 clint, what r the setting i need to do send mails from my another client 700,
    iam using ecc 6.0 with sql database
    regards,
    krishna
    Moderator message: FAQ, please search for available information before asking.
    locked by: Thomas Zloch on Aug 16, 2010 2:11 PM

    hi to all,
    this question regarding sending mail from sap
    rt now iam able to send mails from 500 clint, what r the setting i need to do send mails from my another client 700,
    iam using ecc 6.0 with sql database
    regards,
    krishna
    Moderator message: FAQ, please search for available information before asking.
    locked by: Thomas Zloch on Aug 16, 2010 2:11 PM

  • This is regarding lookups in BW

    Hi to all,
    Here we are using some lookups for country and region for a particular plant.
    now we want to replace that lookups with start routines and update routines.
    see now the plant data is directly assigend to master data table and data is fectched from the data base.
    now i want to replace this direct assignment and i want to retrieve data through routines.
    thanks and regards,
    swami

    Hi Swami,
    In the start routine definition
    Define
    between these line
    $$ begin of global - insert your declaration only below this line  -
    TABLES: ...
    DATA:   ...
    $$ end of global - insert your declaration only before this line   -
    types : begin of zplant,
    plant type /bi0/pplant,
    country type /bi0/pplant,
    region type /bi0/pplant,
    end of zplant.
    data : wa type zplant,
    it_itab type table of zplant.
    then between these line write your code
    $$ begin of routine - insert your code only below this line        -
    fill the internal tables "MONITOR" and/or "MONITOR_RECNO",
    to make monitor entries
    if abort is not equal zero, the update process will be canceled
      ABORT = 0.
    $$ end of routine - insert your code only before this line         -
    the code should be in the following manner
    data : begin of i_plant occurs 0,
             plant type t    /BI0/OIPLANT,
              end of i_plant.
    data : wa_pack type data_package.
    find unique of plant from data package
    clear : i_plant, it_tab.
    loop at data_package into wa_pack
    read table i_plant with key plant = wa_pack-plant.
    if sy-subrc ne 0 .
    i_plant-plant = wa_pack-plant.
    append i_plant.
    clear i_plant.
    endif.
    endloop.
    select plant country region from /bi0/pplant into table it_itab
    for all entries in i_plant where /bi0/plant = i_plant-plant.
    then in the update routine of the charecteristics country
    read table it_tab with key plant = comm_structure-plant .
    if sy-subrc = 0.
    result = it_tab-country.
    endif.
    then in the update routine of the charecteristics region
    read table it_tab with key plant = comm_structure-plant .
    if sy-subrc = 0.
    result = it_tab-region.
    endif.
    hope this helps.
    let me know if you need more information on this.
    Regards
    PV

  • This is regarding upgrading problem

    Hi,
    This is regarding upgrading problem.
    I am Upgrading 4.7EE IDES to ECC 6.0 but I got the problem with Solman key
    When I given the Solmman key it shows illegal solman key. what is the problem ?
    system Id    -
    >   F06
    nstance number --->    30
    Hostname is -
    >      saibaba
    Thanks,
    Narshiha rao

    Hi,
    You genereate new solman key according to your system name and put that. This will work very well. Because when we create solman key then we have to define what is server name etc.
    Anil

  • This is regarding clarificat​ion regarding frequency responce analysis

    This is regarding clarification regarding frequency responce analysis
    using
    NI
    PCI 4551 add-on card, especially in the singal generation part for
    stimulating
    the unit under test.
    1. Is it possible to generate sine, step, ramp and arbitrary waveforms
    using
    this particular card?
    2. Ifso what is the range of frequencies that can be possible to
    generate
    using
    PCI 4551 card?( we may require from 1mHz to 2kHZ)
    3. And what is the maximum amplitude of the generated signal for full
    scale
    value?
    4. Whether real-time octave analysis for NI DSA software can serve the
    purpose
    of following tests: Frequency response test, Step response test,
    Velocity
    test,
    Strain Measurement, Linearity Test, Cyclic test.
    Or any other software tool is required?
    Regards,
    Sreedhar T

    Hi SreedharT,
    In response to your questions, I've included my responses. I highly advise referencing the NI-4551 User Manual for more details.
    1. Is it possible to generate sine, step, ramp and arbitrary waveforms
    using this particular card?
    NI-DSA includes functions to generate standard white noise, pink noise, band-limited noise, periodic white noise, single or dual-tone sine, and chirp signals. For step, ramp, and any other arbitrary waveforms you can use NI-DSA to define and generate an arbitrary analog output signal.
    There is a good example which ships with NI-DSA that demonstrates how to generate arbitrary waveforms on the NI-4551. You can find this example in the NI-DSA function palette in LabVIEW under Application Examples>>Advanced>>Arbitrary Output Example.
    By default, this example outputs a swept sine wave, but you can change the waveform to whatever you need.
    2. If so, what is the range of frequencies that can be possible to
    generate using PCI 4551 card?( we may require from 1mHz to 2kHZ)
    The maximum output frequency you can generate with NI-DSA is 23 kHz. This limit is governed by the maximum output sampling rate of 51.2 kS/s. Because the digital-to-analog converters on the NI 455x DSA devices feature sharp roll-off, anti-imaging filters, you can generate a spectrally pure sine tone up to 23 kHz with minimal quantization noise, so when using the NI 455x devices, you do not need to worry about the output signal becoming choppy or noisy when approaching the Nyquist frequency.
    The minimum frequency you can set is 0.1 Hz. This is limited by the finite size of the output buffer and the minimum update rate for the DAC. The output buffer is limited to 4,096 samples, and the DAC must maintain a minimum rate of 1.25kS/s for accurate results.
    In Octave Analyzer Mode, when you're inputting a certain frequency, keep in mind the input range differs for each analysis type and the two configurable center frequencies. I've included the frequency ranges for a single channel below.
    1/1-octave analysis
    center frequency fs=25.6 kHz:
    High: 8 kHz
    Low: 16 Hz
    fs=51.2 kHz
    High: 16 kHz
    Low: 31.5 Hz
    1/3-octave analysis
    fs=25.6 kHz
    High: 10 kHz
    Low 12.5 Hz
    fs=51.2 kHz
    High: 20 kHz
    Low: 25 Hz
    1/12-octave analysis
    fs=25.6 kHz
    High: 10.68 kHz
    Low: 11.05 Hz
    fs=51.2 kHz
    High: 5.34 kHz
    Low: 5.52 Hz
    3. And what is the maximum amplitude of the generated signal for full
    scale value?
    The maximum amplitude is equal to the voltage range for the selected output channel.
    4. Whether real-time octave analysis for NI DSA software can serve the
    purpose of following tests: Frequency response test, Step response test,
    Velocity test, Strain Measurement, Linearity Test, Cyclic test.
    Or any other software tool is required?
    The NI-DSA Real-Time Octave Analysis software add-on for NI-DSA supports fractional-octave analysis for 1/1, 1/3, and 1/12 octave analysis, level measurements, and A-, B-, and C-weighting. You can do octave, level, or both octave and level measurements, and have the additional option of specifying the weighting if required. This is all that can be done in real-time.
    To perform a frequency response test, it is preferable to use the swept-sine analysis mode of the NI-4551 rather than a broadband FFT-based frequency response. Swept-sine analysis provides two main advantages over a broadband frequency response measurement in which all frequencies are excited and measured simultaneously. The first is a wider dynamic range. The second is flexible measurements of signal distortion and nonlinearity. For more information of swept-sine analysis, please refer to the NI-DSA Software Manual downloadable off our web site. http://www.ni.com/
    For the Velocity test, Strain Measurement, Linearity Test, and Cyclic Test I should ask for more information about each test before attempting an answer. However, to answer your question, there are no methods I know of in NI-DSA that would directly perform these tests. In contrast with that answer, you may be surprised this functionality may be included with a LabVIEW development environment.
    Let me know if you have further questions or this does not resolve your issue!
    Chad AE
    Applications Engineer

  • Regarding Oracle CPU patch release Jan2010 about oracle 10.2.0.2

    http://www.oracle.com/technology/deploy/security/critical-patch-updates/cpu
    According to the above link i haven't found patch for oracle db release 10.2.0.2 that means it is not released or not applicable for this version.
    Regards
    Gupteswar

    Hi,
    It is not applicable to this version. You will have to upgrade to 10.2.0.4. Have a look at metalink ID 967472.1 -Critical Patch Update January 2010 Patch Availability Document for Oracle Products
    Ioan

  • Awr show this sql as highest cpu consuming sql .Is this sql need tunning?

    Hi,
    As awr reports showing this sql as the highest CPU consumer
    Please consider me newbie and help me to understand this.
    Thanking you ..
    SQL ordered by CPU Time            DB/Inst:  Snaps: 
    -> Resources reported for PL/SQL code includes the resources used by all SQL
       statements called by the code.
    -> % Total DB Time is the Elapsed Time of the SQL statement divided
       into the Total Database Time multiplied by 100
        CPU      Elapsed                  CPU per  % Total
      Time (s)   Time (s)  Executions     Exec (s) DB Time    SQL Id
         2,658      2,665            1     2658.18     5.7 5aawbyzqjk8by
    select distinct trp.site_id from tas_receipts_process trp , tas_tsa_info tti, ta
    s_site ts where trp.tsa_id = tti.tsa_id and tti.status = 1 and ts.site_id = trp
    .site_id and (tti.max_install != trp.pushed_rsn and ((tti.max_install = 0 and
    (trp.pushed_rsn - trp.curr_rsn) < ts.workahead_count * :1) or (tti.max_installComplete sql =>
    select distinct trp.site_id from tas_receipts_process trp , tas_tsa_info tti, tas_site
    ts
    where
    trp.tsa_id = tti.tsa_id
    and tti.status = 1
    and ts.site_id = trp.site_id 
    and
    tti.max_install != trp.pushed_rsn
    and  (
           (tti.max_install = 0 and
               (trp.pushed_rsn - trp.curr_rsn) < ts.workahead_count * :1
           ) or 
           (tti.max_install > 0 and
               (trp.pushed_rsn - trp.curr_rsn) < ts.workahead_count * :2
           ) or  
           (tti.max_install = trp.pushed_rsn and
           tti.max_install <> 0
    ) or
    (trp.pushed_time !=
    to_date(tti.created_date,'dd-MON-yyhh24:mi:ss') + (1/24/60) * ts.workahead_time
    ) and 
    to_date(sysdate,'dd-MON-yyhh24:mi:ss') + (1/24/60) * :3
      ) > trp.pushed_time
    )getting the explain plan for the above sql =>
    QL> SELECT plan_table_output FROM TABLE(DBMS_XPLAN.DISPLAY_CURSOR('g6c8y31xr06vp',0,'ALL'));
    PLAN_TABLE_OUTPUT
    SQL_ID  g6c8y31xr06vp, child number 0
    select distinct trp.site_id from tas_receipts_process trp , tas_tsa_info tti, tas_site
    ts  where trp.tsa_id = tti.tsa_id and tti.status = 1 and ts.site_id = trp.site_id  and
    (tti.max_install != trp.pushed_rsn and  ((tti.max_install = 0 and (trp.pushed_rsn -
    trp.curr_rsn) < ts.workahead_count * :1) or  (tti.max_install > 0 and (trp.pushed_rsn -
    trp.curr_rsn) < ts.workahead_count * :2) or   (tti.max_install = trp.pushed_rsn and
    tti.max_install <> 0 )  )) or (trp.pushed_time != (to_date(tti.created_date,'dd-MON-yy
    hh24:mi:ss') + (1/24/60) * ts.workahead_time) and  ((to_date(sysdate,'dd-MON-yy
    hh24:mi:ss') + (1/24/60) * :3) > trp.pushed_time))
    Plan hash value: 2862358316
    | Id  | Operation               | Name                 | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT        |                      |       |       |   601K(100)|          |
    |   1 |  HASH UNIQUE            |                      |     4 |   216 |   601K (10)| 02:00:14 |
    |   2 |   CONCATENATION         |                      |       |       |            |          |
    |   3 |    NESTED LOOPS         |                      |   200M|    10G|   579K  (6)| 01:55:52 |
    |   4 |     MERGE JOIN CARTESIAN|                      |  2849 | 99715 |    12   (0)| 00:00:01 |
    |   5 |      TABLE ACCESS FULL  | TAS_SITE             |     7 |    70 |     3   (0)| 00:00:01 |
    |   6 |      BUFFER SORT        |                      |   407 | 10175 |     9   (0)| 00:00:01 |
    |*  7 |       TABLE ACCESS FULL | TAS_RECEIPTS_PROCESS |   407 | 10175 |     1   (0)| 00:00:01 |
    |*  8 |     TABLE ACCESS FULL   | TAS_TSA_INFO         | 70411 |  1306K|   203   (6)| 00:00:03 |
    |*  9 |    HASH JOIN            |                      |     2 |   108 |   203   (2)| 00:00:03 |
    |* 10 |     HASH JOIN           |                      |   407 | 14245 |     7  (15)| 00:00:01 |
    |  11 |      TABLE ACCESS FULL  | TAS_SITE             |     7 |    70 |     3   (0)| 00:00:01 |
    |  12 |      TABLE ACCESS FULL  | TAS_RECEIPTS_PROCESS |   407 | 10175 |     3   (0)| 00:00:01 |
    |* 13 |     TABLE ACCESS FULL   | TAS_TSA_INFO         | 21474 |   398K|   196   (2)| 00:00:03 |
    Query Block Name / Object Alias (identified by operation id):
       1 - SEL$1
       5 - SEL$1_1 / TS@SEL$1
       7 - SEL$1_1 / TRP@SEL$1
       8 - SEL$1_1 / TTI@SEL$1
      11 - SEL$1_2 / TS@SEL$1_2
      12 - SEL$1_2 / TRP@SEL$1_2
      13 - SEL$1_2 / TTI@SEL$1_2
    Predicate Information (identified by operation id):
       7 - filter("TRP"."PUSHED_TIME"<TO_DATE(TO_CHAR(SYSDATE@!),'dd-MON-yy
                  hh24:mi:ss')+.000694444444444444444444444444444444444445*:3)
       8 - filter("TRP"."PUSHED_TIME"<>TO_DATE(INTERNAL_FUNCTION("TTI"."CREATED_DATE"),'dd-M
                  ON-yy hh24:mi:ss')+.000694444444444444444444444444444444444445*"TS"."WORKAHEAD_TIME")
       9 - access("TRP"."TSA_ID"="TTI"."TSA_ID")
           filter(("TTI"."MAX_INSTALL"<>"TRP"."PUSHED_RSN" AND (("TTI"."MAX_INSTALL"=0 AND
                  "TRP"."PUSHED_RSN"-"TRP"."CURR_RSN"<"TS"."WORKAHEAD_COUNT"*:1) OR
                  ("TTI"."MAX_INSTALL">0 AND "TRP"."PUSHED_RSN"-"TRP"."CURR_RSN"<"TS"."WORKAHEAD_COUNT"*:2
                  ) OR ("TTI"."MAX_INSTALL"="TRP"."PUSHED_RSN" AND "TTI"."MAX_INSTALL"<>0)) AND
                  (LNNVL("TRP"."PUSHED_TIME"<TO_DATE(TO_CHAR(SYSDATE@!),'dd-MON-yy
                  hh24:mi:ss')+.000694444444444444444444444444444444444445*:3) OR
                  LNNVL("TRP"."PUSHED_TIME"<>TO_DATE(INTERNAL_FUNCTION("TTI"."CREATED_DATE"),'dd-MON-yy
                  hh24:mi:ss')+.000694444444444444444444444444444444444445*"TS"."WORKAHEAD_TIME"))))
      10 - access("TS"."SITE_ID"="TRP"."SITE_ID")
      13 - filter("TTI"."STATUS"=1)
    Column Projection Information (identified by operation id):
       1 - "TRP"."SITE_ID"[NUMBER,22]
       2 - "TS"."SITE_ID"[NUMBER,22], "TS"."WORKAHEAD_COUNT"[NUMBER,22],
           "TS"."WORKAHEAD_TIME"[NUMBER,22], "TRP"."TSA_ID"[NUMBER,22],
           "TRP"."SITE_ID"[NUMBER,22], "TRP"."CURR_RSN"[NUMBER,22], "TRP"."PUSHED_RSN"[NUMBER,22],
           "TRP"."PUSHED_TIME"[DATE,7], "TTI"."TSA_ID"[NUMBER,22], "TTI"."STATUS"[NUMBER,22],
           "TTI"."MAX_INSTALL"[NUMBER,22], "TTI"."CREATED_DATE"[DATE,7]
       3 - "TS"."SITE_ID"[NUMBER,22], "TS"."WORKAHEAD_COUNT"[NUMBER,22],
           "TS"."WORKAHEAD_TIME"[NUMBER,22], "TRP"."TSA_ID"[NUMBER,22],
           "TRP"."SITE_ID"[NUMBER,22], "TRP"."CURR_RSN"[NUMBER,22], "TRP"."PUSHED_RSN"[NUMBER,22],
           "TRP"."PUSHED_TIME"[DATE,7], "TTI"."TSA_ID"[NUMBER,22], "TTI"."STATUS"[NUMBER,22],
           "TTI"."MAX_INSTALL"[NUMBER,22], "TTI"."CREATED_DATE"[DATE,7]
       4 - "TS"."SITE_ID"[NUMBER,22], "TS"."WORKAHEAD_COUNT"[NUMBER,22],
           "TS"."WORKAHEAD_TIME"[NUMBER,22], "TRP"."TSA_ID"[NUMBER,22],
           "TRP"."SITE_ID"[NUMBER,22], "TRP"."CURR_RSN"[NUMBER,22], "TRP"."PUSHED_RSN"[NUMBER,22],
           "TRP"."PUSHED_TIME"[DATE,7]
       5 - "TS"."SITE_ID"[NUMBER,22], "TS"."WORKAHEAD_COUNT"[NUMBER,22],
           "TS"."WORKAHEAD_TIME"[NUMBER,22]
       6 - (#keys=0) "TRP"."TSA_ID"[NUMBER,22], "TRP"."SITE_ID"[NUMBER,22],
           "TRP"."CURR_RSN"[NUMBER,22], "TRP"."PUSHED_RSN"[NUMBER,22], "TRP"."PUSHED_TIME"[DATE,7]
       7 - "TRP"."TSA_ID"[NUMBER,22], "TRP"."SITE_ID"[NUMBER,22],
           "TRP"."CURR_RSN"[NUMBER,22], "TRP"."PUSHED_RSN"[NUMBER,22], "TRP"."PUSHED_TIME"[DATE,7]
       8 - "TTI"."TSA_ID"[NUMBER,22], "TTI"."STATUS"[NUMBER,22],
           "TTI"."MAX_INSTALL"[NUMBER,22], "TTI"."CREATED_DATE"[DATE,7]
       9 - (#keys=1) "TRP"."TSA_ID"[NUMBER,22], "TTI"."TSA_ID"[NUMBER,22],
           "TS"."SITE_ID"[NUMBER,22], "TRP"."SITE_ID"[NUMBER,22],
           "TS"."WORKAHEAD_TIME"[NUMBER,22], "TS"."WORKAHEAD_COUNT"[NUMBER,22],
           "TRP"."PUSHED_RSN"[NUMBER,22], "TRP"."PUSHED_TIME"[DATE,7],
           "TRP"."CURR_RSN"[NUMBER,22], "TTI"."CREATED_DATE"[DATE,7], "TTI"."STATUS"[NUMBER,22],
           "TTI"."MAX_INSTALL"[NUMBER,22]
      10 - (#keys=1) "TS"."SITE_ID"[NUMBER,22], "TRP"."SITE_ID"[NUMBER,22],
           "TS"."WORKAHEAD_TIME"[NUMBER,22], "TS"."WORKAHEAD_COUNT"[NUMBER,22],
           "TRP"."TSA_ID"[NUMBER,22], "TRP"."PUSHED_TIME"[DATE,7], "TRP"."CURR_RSN"[NUMBER,22],
           "TRP"."PUSHED_RSN"[NUMBER,22]
      11 - "TS"."SITE_ID"[NUMBER,22], "TS"."WORKAHEAD_COUNT"[NUMBER,22],
           "TS"."WORKAHEAD_TIME"[NUMBER,22]
      12 - "TRP"."TSA_ID"[NUMBER,22], "TRP"."SITE_ID"[NUMBER,22],
           "TRP"."CURR_RSN"[NUMBER,22], "TRP"."PUSHED_RSN"[NUMBER,22], "TRP"."PUSHED_TIME"[DATE,7]
      13 - "TTI"."TSA_ID"[NUMBER,22], "TTI"."STATUS"[NUMBER,22],
           "TTI"."MAX_INSTALL"[NUMBER,22], "TTI"."CREATED_DATE"[DATE,7]
    105 rows selected.sizes of concerned objects=>
    OWNER           SEGMENT_NAME                   SEGMENT_TYPE         TABLESPACE_NAME      EXTENTS           BYTES_
    AZD_SCHM     TAS_TSA_INFO                   TABLE                TATSU_DATA_TS             22        7,340,032
    AZD_SCHM     TAS_TSA_INFO_PK                INDEX                TATSU_DATA_TS             17        2,097,152
    AZD_SCHM     TAS_RECEIPTS_PROCESS           TABLE                TATSU_DATA_TS              1           65,536
    AZD_SCHM     TAS_RECEIPTS_PROCESS_IDX       INDEX                TATSU_INDEX_TS             1           65,536
    AZD_SCHM     TAS_SITE                       TABLE                TATSU_DATA_TS              1           65,536
    AZD_SCHM     TAS_SITE_NAME_UNQ              INDEX                TATSU_INDEX_TS             1           65,536
    AZD_SCHM     TAS_SITE_PK                    INDEX                TATSU_DATA_TS              1           65,536
    --------------- ------------------------------ -------------------- -------------------- ------- ----------------Please suggest how to tune this above SQL
    Does above sql plan looks good
    Any comment and help is highely appreciated.
    Thanks & Regards,
    IVW

    ivw wrote:
    Complete sql =>
    Please suggest how to tune this above SQL
    Does above sql plan looks good
    Any comment and help is highely appreciated.Your SQL is probably incorrectly using the OR operator. In its present form it means this:
    select distinct trp.site_id from tas_receipts_process trp , tas_tsa_info tti, tas_site
    ts
    where
    trp.tsa_id = tti.tsa_id
    and tti.status = 1
    and ts.site_id = trp.site_id 
    and
    tti.max_install != trp.pushed_rsn
    and  (
           (tti.max_install = 0 and
               (trp.pushed_rsn - trp.curr_rsn) < ts.workahead_count * :1
           ) or 
           (tti.max_install > 0 and
               (trp.pushed_rsn - trp.curr_rsn) < ts.workahead_count * :2
           ) or  
           (tti.max_install = trp.pushed_rsn and
           tti.max_install <> 0
    union all
    select distinct trp.site_id from tas_receipts_process trp , tas_tsa_info tti, tas_site
    ts
    where
    (trp.pushed_time !=
    to_date(tti.created_date,'dd-MON-yyhh24:mi:ss') + (1/24/60) * ts.workahead_time
    ) and 
    to_date(sysdate,'dd-MON-yyhh24:mi:ss') + (1/24/60) * :3
      ) > trp.pushed_time
    and not (above condition)So one of the two parts of the SQL are missing all the join predicates between the tables due to the OR operator at top level. The way the SQL is formatted, it might be meant to read like this:
    select distinct trp.site_id from tas_receipts_process trp , tas_tsa_info tti, tas_site
    ts
    where
    trp.tsa_id = tti.tsa_id
    and tti.status = 1
    and ts.site_id = trp.site_id 
    and
      (tti.max_install != trp.pushed_rsn
    and  (
           (tti.max_install = 0 and
               (trp.pushed_rsn - trp.curr_rsn) < ts.workahead_count * :1
           ) or 
           (tti.max_install > 0 and
               (trp.pushed_rsn - trp.curr_rsn) < ts.workahead_count * :2
           ) or  
           (tti.max_install = trp.pushed_rsn and
           tti.max_install <> 0
    or   (trp.pushed_time != to_date(tti.created_date,'dd-MON-yyhh24:mi:ss') + (1/24/60) * ts.workahead_time
          and to_date(sysdate,'dd-MON-yyhh24:mi:ss') + (1/24/60) * :3 > trp.pushed_time
    )But you need to find out what exactly it is supposed to express from a logical point of view. Very likely the present form is simply incorrect. Depending on your data correcting the usage of the OR operator might even render the DISTINCT operator redundant which is probably at present used to remove the many duplicates generated by the missing join predicates.
    Regards,
    Randolf
    Oracle related stuff blog:
    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

  • Hyperthrea​ding performanc​e

    I'm trying to wrap my head around a performance problem that I've been struggling with for quite some time now, as described here and here. In short, my problem is that my applications, running on Ubuntu 8.04, are significantly slower on certain comp

  • Printing a PDF file that has been exported from InDesign

    Hello! I exported a file from InDEsign to a PDF, but the entire document doesn't print... it get's cut off 3/4 down the way. My page size in InDesign is 5in x 7in and so is my page set-up in PDF when I go to print but it still gets cut-off.

  • Hyperlinks don't jump to a second page

    Hello there. Absolute beginner here - DW CS4 on iMac OS10.5.8 I am linking 2 pages via the Properties bar with that folder icon (both pages 'index.html' & 'page1.html' are saved in a site folder, inside a Dreamweaver project folder, inside a folder o

  • Computer not behaving

    Last month, my computer started bogging down, apps would stop responding for long periods of time then start working again, start-up would take up 10 minutes, finder would lock up and resume intermittently when trying to do simple navigation, Shutdow

  • BIG PROBLEM BETWEEN PREMIERE PRO CS6 and FAST TRACK PRO

    Hi there...im running premiere pro cs6 on macbook pro 2010 with 8 gb of ram...im editing a project of hd material from a canon 5d..i got all the sound from an external recorder, all the sound is already syncronized... i need to do some cleaning on it