Optimization of ASO

Hi
We have built a database in ASO with the below set of dimensions:
Dimension     Members stored
Time     12
PTD     4
Year     4
Scenario     6
GIS     1749
GLITEMS     1900
Products     2502
Organization     2400
COSTCENTRE     2300
Customer Segment     167
Customer     197
RM     3379
ACCOUNTS     116
Now we would like to reorder the dimensions(Optimize the outline).Please suggest us few optimization techniques on how to handle.
It would be great if someone shares few links…
Many Thanks
krishnatilak

Hi,
I was talking of optimizatin in othe thread . find it, might be useful
ASO performance issue
Sandeep Reddy Enti
HCC
http://hyperionconsultancy.com/

Similar Messages

  • Outline optimization for ASO 7.1

    Hi,
    I've the time hierarchy which contains years,quarters,months and days. Now will it be a good idea to break the time hierarchy in 3 separate dimensions like year (which will contain the years only), time period (contain quater and months) and Days (1-31). It'll defntly reduce the member numbers in the outline since there is no repeated member. But will that help me to enhance the data load performance in the cube? And if yes, How?
    Thanks!

    Given that it is an ASO cube, there are no considerations for dense/sparse like there are with BSO cubes. My first thought is that you won't get much of a performance increase. You're right, you could reduce the number of members in the outline but usually the reason I need to use ASO is partly because I have tons of members in the Measures dimension, meaning that the number of members in Time is fairly trivial.
    The other thing you'd have to consider is that the way your users retrieve data from the cube would be entirely different if you change the dimensions. If you already have lots of reports out there or users that are accustomed to drilling into the cube in a certain way, changing the dimensions could be a very bad idea for that reason alone.
    Of course, the easiest way to find out if you get any data load performance gains is to try it. Are you using any of the other ASO loading tricks, like using more threads specified in your essbase.cfg file?
    Jason
    [jasons hyperion blog|http://www.jasonwjones.com]

  • Strange Error - 5005: Unknown error optimizing byte code.

    Hello flashcoders,
    I am facing strange problem since long time. This error code
    even doesn't exist in the list of error codes.
    This is the exact error I am getting while I compile the FLA
    from flash CS3.
    Location : , Line 1
    Description : 5005: Unknown error optimizing byte code.
    Source :
    I don't know exact reason about its generation, But here are
    the some possible reasons / hints:
    Case 1) Overloading:
    1.1) Size of .fla is 10.5 MB and its document class contains
    more than 60 classes to import and has more than 100 variables.
    1.2) Even if I put In document class - only variable
    initialization and class importing are there. Nothing in its
    constructor + no other functions are defined. Still error is there.
    1.3) If we import all classes and has all variables then it
    gives this compile error. But if we remove some particular numbers
    of variable, it's start working. In this we can remove any type of
    variables.
    1.4) After reducing variables, application starts working
    till that it won't.
    Case 2)
    2.1) Size of .fla is 1.75 MB and its document class is same
    as above one.
    2.2) All assumptions are same as above.
    2.3) Now this class contains all functions and have
    initialization of all variables + classes.
    2.4) In this If we remove 3-5 variables, it will start
    functioning else it won't.
    Its a huge application so I am even confused that what is the
    cause of error and this error stopped our working for a week now.
    Bit more information about the project that may help the team to
    identify the reason.
    1. Project development started with flash public alpha 3.
    When we started using Flash CS3, we had some design problem if we
    do open the FLA in CS3, so we completely redesigned the Movieclips
    etc., in Flash
    CS3 IDE.
    2. Project contains approx 250 classes.
    3. In main application, it imports 67 classes. (it works if I
    keep 63 classes in document class).
    4. In the case 3 above, if that works with 63 classes and If
    I do add 3 frames in existing movieclip, it stops working.
    5. In the case 3 above, if that works with 63 classes and If
    I do add / declare few more variables, it stops working.
    It would be humble appreciation if someone can come up with
    some light in the dark tunnel.
    Best Regards,
    Ashvin Savani - "arckid"
    Founder & CTO - Avinashi.com
    Adobe Community Expert
    We Never Give Up!

    I've posted an article on this problem -
    http://www.negush.net/blog/5005-unknown-error-optimizing-byte-code/
    - and here are a few ideas on how to handle it (check out the
    comments):
    - try turning off the optimizer
    - delete ASO files
    - also it seems that changing the java vm heap memory size
    could help (find he environment variables in the Windows computer
    properties and search the JAVA_TOOL_OPTIONS variable)

  • ASO-BSO Optimization

    Hi All,
    i am working on Aso-Bso model . All the data is stored in Aso and we are retrieving data in excel Add in from BSO. There are 13 dimensions except for account dimension all are sparse dimension and all the dimension in account are dynamic calc . i am facing some issues in retrieving data for some of the excel reports . i am getting error message " error in outline extractor ". i have increase the data cache to 1000000 and even in essbase .cfg file i have made some changes then i am able to retrieving 90% of my data . still not able to receive full data . Even in ASO properties i have increased the pending cache. is there any other method to solve this issue or some other approach which can help me in solving this issue .
    what value can i set for data cache and what all changes can i make in essbase .cfg file and how much max can i set pending cache ? or any other suggestions
    Thanks in advance

    First, you say all the accounts are dynamic. Are there formulas on all your BSO accounts members? If so, is there a way to put the calculations in the ASO cube?
    Second, you dsay all the dimensions are sparse, you might try playing with making some of them dense.While I realize no data is being stored in them, the BSO cube is still bringing back data in a particular way. Making some dimensions dense could improve performance and solve your cache problems.
    Third, is your partition bringing back all levels of data or ijust level zero? I've seen people try this and have all upper levels of the BSO cube dynamic. performance sucks when this occurs.

  • Can we load data for all levels in ASO?

    Hi All,
    Im creating cube in ASO
    can i load data for all levels in ASO
    we can load data for all Levels In BSO but in ASO i need confirmation????
    and one more
    wat is the consider all levels option in ASO is used for ? wat is the purpose?
    Can any one help ,it would be appriciate.
    Thanks

    In an ASO cube you can only load to level zero
    The consider all levels if used for aggregation hints. It allows you to tell the aggregation optimizer to look at all levels when deciding if aggregation needs to be done on the dimension

  • Aggregation script is taking long time - need help on optimization

    Hi All,
    Currently we are working to build a BSO solution (version 11.1.2.2) for a customer where we are facing performance issue in aggregating the database. The most common activity of the solution will be to generate data on different scenario from Actual and Budget (Actual Vs Budget difference data in one scenario) and to be used for reporting purpose mainly.
    We are aggregating the data to top level using AGG command for Sparse dimensions. While doing this activity, we found that it is creating a lot of page files and thereby filling up the present physical memory of the drive (to the tune of 70GB). Moreover it is taking a long time to aggregate. The no. of stored members that is present are as follows:
    Dimension - Type - Stored member (Total members)
    Account - Dense- 1597 (1845)
    Period - Dense - 13 (19)
    Year - Sparse - 11 (12)
    Version - Sparse - 2 (2)
    CV - Sparse- 5 (6)
    Scenario - Sparse - 94 (102)
    EV - Sparse - 120 (122)
    FC - Sparse- 118 (121)
    CP - Sparse - 1887 (2049)
    M1 - Sparse - 4873 (4874)
    Entity - Sparse - 12020 (32349) - Includes two alternate hierarchies for rolling up the data
    The other properties are as follows:
    Index Cache - 152000
    Data File Cache - 32768
    Data cache - 153600
    ACR = 0.65
    We are using Buffered I/O
    The level 0 datafile is about 3 GB.( 2 year budget and 1 year 2 months Actuals data)
    Customer is going to use SmartView to retrieve the data and having Planning Plus License only. So could not go for an ASO solution. We could not reduce the members of huge Sparse dimensions M1 and CP as well. To improve the data retrieval time, we had to make upper level members as stored which resolved data retrieval issue
    I am seeking for help on the following:
    1. How can we optimize the time taken? Currently each dimension is taking about an hour to aggregate. Calc Dim is taking even longer time. Hence opted for AGG
    2. Will change of dense and sparse setting help our cause? ACR is ona lower side. Please note that most calculations are either on Period dimensions or FC. There is no such calculation on Account dimension
    3. Will change of a few non-level 0 members from store to dynamic-calc help? Will this slow down calculations in the cube?
    4. What should be the best performance order for this cube?
    Appreciate your help in these regard,
    Regards,
    Sukhamoy

    Please provide following  information
    1)  Block size  and other statistic
    2)  Aggreagation script
    >>Index Cache - 152000
    >>Data File Cache - 32768
    >>Data cache - 153600
    Try this settings
    Index Cache - 1120000
    Data cache - 3153600

  • Report script taking very long time to export in ASO

    Hi All,
    My report script is taking very long time to execute and finally a message appears as timed out.
    I'm working on ASO Cubes and there are 14 dimensions for which i need to export all data for all the dimensions for only one version.
    The data is very huge and the member count in each dimension is also huge, so which is making me difficult to export the data.
    Any suggestions??
    Thanks

    Here is a link that addresses several ways to optimize your report script. I utilize report scripts for Level 0 exports in an ASO environment as well, however the majority of our dimemsions are attribute dimensions.
    These are the most effective solutions we have implemented to improve our exports via report scripts:
    1. Make sure your report script is written in the order of how the Report Extractor retrieves data.
    2. Supressing Zero and Missing Data
    3. We use the LINK command within reports for some dimensions that are really big and pull at Level 0
    4. Using Symmetric reports.
    5. Breakout the exports in multiple reports.
    However, you may also consider some additional solutions outlined in this link:
    1. The MDX optimizing commands
    2. Back end system settings
    http://download.oracle.com/docs/cd/E12825_01/epm.111/esb_dbag/drpoptim.htm
    I hope this helps. Maybe posting your report script would also help users to provide feedback.
    Thanks
    Edited by: ronnie on Jul 14, 2011 9:25 AM
    Edited by: ronnie on Jul 14, 2011 9:53 AM

  • ASO performance issue

    Hi Experts,
    I have both versions of 9.3.1 and 9.2. and data load in 9.3.1 takes three times more time than 9.2
    why so
    any ideas
    R Khan

    Hi,
    1. OK, I got it . In 9.2, there was an optimizatin way , through which the incremental upates ,if they are less than 20% of the size of the database/cube which then generate a list of deltas and then applied to the then existing views( aggregate views), this way aggregate views are not always built again from the scratch in 9.2
    2. So, this does improves performance of incremental data load in ASO cube when aggregate views are already in plance and size of the incremental data is small in camparision to the already loaded data
    3. This optimization is no more in 9.3.1, there is a feature called " slice data load" in ASO which offers better performance. WIth new feature, the amout of time to do an incremental laod depends directly on the amount of new data and it does not depend on the current size of the database/cube of ASO.
    4. Use this slice data load and see results.
    Sandeep Reddy Enti
    HCC
    http://hyperionconsultancy.com/

  • MDX query performance on ASO cube with dynamic members

    We have an ASO cube and we are using MDX queries to extract data from that cube. We are doing some performance testing on the MDX data extract.
    Recently we made around 15-20 account dimension members dynamic in the ASO cube, and it is taking around 1 and a half hour for the query to run on an empty cube. Earlier the query was running in 1 minute on the empty cube when there were no dynamic members in the cube.
    Am not clear why it takes so much time to extract data from MDX on an empty cube when there is nothing to extract. The performance has also degraded while extracting data on the cube with data in it.
    Does dynamic members in the outline affect the MDX performance? Is there a way to exclude dynamic members from the MDX extract?
    I appreciate any insights on this issue.

    I guess it depends on what the formulas of those members in the dynamic hierarchy are doing.
    As an extreme example, I can write a member formula to count every unique member combination in the cube and assign it to multiple members, regardless if I have any data in the database or not, that function is going to resolve itself when you query it and it is going to take a lot of time. You are probably somewhere in between there and a simple function that doesn't require any over head. So without seeing the MDX it is hard to say what about it might be causing an issue.
    As far as excluding members there are various function in MDX to narrow down the set you are querying
    Filter(), Contains(), Except(), Is(), Subset(), UDA(), etc.
    Keep in mind you did not make members dynamic, you made a hierarchy dynamic, that is not the same thing and it does impact the way Essbase internally optimizes the database based on Stored vs dynamic hierarchies. So that alone can have an impact as well.

  • Load_buffer for incremental load - ASO

    how can you adjust the size of the load buffer ?
    what is default setting?
    if i have three ASO apps that load data nightly, how can I optimize?
    thanks,
    pr

    PR,
    This is the MAXL syntax to set the load buffer.
    alter database database_name
    initialize load_buffer with buffer_id 1;
    Secondly, If you are using Administration services console, by default it uses this data load buffer.
    To answer your final question of optimization.
    Le me know ,How much memory do you have to your server ,that would help to tell how many application can be loaded at a time.
    for example: If your servers RAM is 16 GB,
    then you can comfortably load 3 cubes at a time.
    as a cube can make use of max 2 GB of RAM.
    Sandeep Reddy Enti
    HCC

  • ASO- Aggregation

    I am designing an ASO cube. Once i design aggregation for the cube, do i need to aggregate the data during every dataload or it is automatically aggregated. And also what is the purpose of aggragation view selection.
    Thanks in advance.

    Hi,
    The aggregation design wizard allows you to create the aggregate view selection file. Based on this file you can materialize the aggregation (literally: execute the aggregation process). Each time you load bnew data the process has to be repeated (to have the new data aggregated as well).
    The aggregate view selection is a process of selecting aggregate views (combinations of levelds from different dimensions) for which the aggregations will be materialized to disk.
    The purpose is to optimize your query performance. The options you have are:
    1. rely on the automated selection process - the biggest query cost combinations are selected which fit in disk space consumption criteria.
    2. Use query tracking - the view selection optimizes performance for certain type of queries, which are most often being executed against the cube.
    3. Use query hits - specify combinations to aggregate at design time.
    Cheers,
    Patryk.

  • How can I optimize just the video on a project timeline?

    Hi everyone,
    I've been working on a 1 hour documentary using original non-optimized media, now that I'm approaching the final steps of the edit I would like to optimize all the video in the timeline, but NOT all the footage I have in the events.
    I did NOT optimized my media on import: all my events and project are made up of video non-converted, just imported. I did that because I didn't have enough storage to transcode to ProRes the whole 40 hours of footage.
    The folders now full of media in Final Cut Events are the "original media" ones.
    Now I'll add some title, subtitles and color-correction and I want to be a little more fast. Then I'll step in the "export" zone, and I know it is much better to export from optimized media than from original media, that's why I want a 'ProRes opimized media' project timeline.
    Thank you in advance to anyone with advices!

    Thank you Tom,
    at least I know there is no need I keep on wondering "WHY?"...
    This impossibility to transcote footage on timeline seem to me a big downside to this new version... I just have in mind all the options for managing media in FCP 7...
    Thank you again,
    always read your tips: veru useful!

  • G770 won't boot normally or in safe mode... I suspect it has something to do with the boot optimizer

    My Lenovo G770 will not boot in normal or safe mode.  I usually escape out of the boot optimizer.  Today I let it run and it went to the "starting windows" screen with a brief startup of the windows 7 animation...it freezes for a second, then a quick flash of the bsod, then to the "windows error recovery page" giving me the option of "starting windows normally" or "Launch Startup Repair (recommended)." 
    Starting Windows Normally eventually brings me back to the same place repeating what I just stated above paragraph.
    When I launch the Startup Repair it "Cannot repair this computer automatically".
    So I go to view advanced options for system recovery and support.
    It brings me to 5 options:
    Startup Repair (we already tried this above)
    System Restore (unfortunately I didn't create any restore points)
    System Image Recovery (unfortunately I haven't created an image to recover)
    Windows Memory Diagnostic (no problems found-done several times)
    Command Prompt (don't know what I can do here except for remove a bad/corrupted driver which may be the problem, but I don't know the driver name that is associated with the boot optimizer...can anyone tell me this?)
    I've tried booting to safe mode in all of its incarnations and I can't even do that..it repeats the same things as stated above...windows 7 animation briefly starts then locks up, flash of bsod, then the windows error recovery page.
    I've tried booting to last known good configuration (same thing occurs...brief startup of windows 7 animation, freeze, flash of bsod, then error recovery page.
    The only thing that has given me any kind of result was "disabling system restart on system failure."  When I do this, the BSOD doesn't flash briefly..it stays. and it gives me the error message page_fault_in_nonpaged_area.
    I'm at a loss as to what to do.  Not being able to boot into Safe Mode even is really frustrating.  Any advice from anyone?  can I remove the driver associated with the boot optimizer?  If so, what is the name of the driver and where (directory) is it located? 

    How did you resolve the issue?
    I have the exactly same issue.
    When I go System Image Recovery -->Select System Image-->Advanced->I can open all the drives [:Local Drive(C , LENOVO(D, Local Disk(E, Boot(X-where i think executable booting is here]. It comes with an Open prompt asking me to enter File Name with a File type: Setup Information.
    I don't know which setup information and where to find it on my Drives.
    Anyone know how to fix?
    I was trying to re-install Win 7 from DVD but it is not executing either.
    Can I boot with USB Ubuntu and Install Win 7 from there??? but how?
    Need help?

  • Column optimization in GUI_DOWNLOAD--Exce

    Hi Experts,
       I am writing an Excel file using GUI_DOWNLOAD function module. Is there any way to do column optimization in Excel file while downloading.
    Thanks and regards,
    Venkat

    Hi,
    There is a Complete & Very good documentation by SAP available on this URL. Please read this.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/204d1bb8-489d-2910-d0b5-cdddb3227820
    Hope your query get solved.
    Thanks and regards,
    Ramani N

  • Query optimization in Oracle 8i (tunning)

    Hi everyone,
    The following SQL statement use more than 15% of the CPU of the machine where it is executed. Please if somebody can help me to rewrite or hinting the query.
    This is the statement:
    SELECT
    /*+ INDEX(APD IDX_ABAPLANI_DET_SOL)  */ 
    apd.sinonimo,
    apd.sinonimo_planificacion,
    apd.cod_despensa,
    apd.estante_cod,
    apd.correlativo_solicitud,
    apd.prioridad,
    apd.correlativo_det_sol,
    apd.insumo_sinonimo,
    apd.cantidad_solicitada,
    apd.cantidad_despachada,
    apd.estado,
    apd.sinonimo_usuario,
    apd.sinonimo_observacion,
    ap.fecha_creacion,
    ap.centro_resultado,
    aud.nombre,
    aud.a_paterno,
    aud.rut,
    aud.username,
    cenres.cod_flex codigocr,
    insumo.cod_flex insumocod,
    cenres.des_flex despensa_descripcion,
    cenres.des_flex crdescripcion,
    insumo.des_flex insumodescripcion
    FROM
    aba_usuario_despachador aud,
    cenres,
    insumo,
    aba_planificacion_detalle apd,
    aba_planificacion ap
    WHERE ap.sinonimo = apd.sinonimo_planificacion
    AND aud.sinonimo = apd.sinonimo_usuario
    AND ap.centro_resultado = cenres.sinonimo
    AND insumo.sinonimo = apd.insumo_sinonimo
    AND apd.sinonimo_usuario = NVL (:b1, apd.sinonimo_usuario)
    AND apd.sinonimo_planificacion = NVL (:b2, apd.sinonimo_planificacion)
    AND apd.correlativo_solicitud = NVL (:b3, apd.correlativo_solicitud)
    AND apd.estante_cod = NVL (UPPER (:b4), apd.estante_cod)
    AND apd.cod_despensa = NVL (UPPER (:b5), apd.cod_despensa)
    AND apd.estado = NVL (:b6, apd.estado)
    AND ap.centro_resultado = NVL (:b7, ap.centro_resultado)
    AND TO_DATE (TO_CHAR (ap.fecha_creacion, 'dd/mm/yyyy'), 'dd/mm/yyyy')
    BETWEEN TO_DATE (NVL (:b8,TO_CHAR (ap.fecha_creacion, 'dd/mm/yyyy')),'dd/mm/yyyy')
    AND TO_DATE (NVL (:b9,TO_CHAR (ap.fecha_creacion, 'dd/mm/yyyy')),'dd/mm/yyyy')
    AND apd.estado NOT LIKE :b10
    ORDER BY apd.sinonimo;The version of the database is 8.1.7.4.0.
    Here is the output of EXPLAIN PLAN:
    Plan
    SELECT STATEMENT  CHOOSECost: 2,907  Bytes: 104,312  Cardinality: 472                                               
         32 SORT ORDER BY  Cost: 2,907  Bytes: 104,312  Cardinality: 472                                          
              31 CONCATENATION                                     
                   15 FILTER                                
                        14 NESTED LOOPS  Cost: 11  Bytes: 52,156  Cardinality: 236                           
                             11 NESTED LOOPS  Cost: 10  Bytes: 177  Cardinality: 1                      
                                  8 NESTED LOOPS  Cost: 9  Bytes: 133  Cardinality: 1                 
                                       5 NESTED LOOPS  Cost: 8  Bytes: 67  Cardinality: 1            
                                            2 TABLE ACCESS BY INDEX ROWID ADMABA.ABA_PLANIFICACION_DETALLE Cost: 7  Bytes: 52  Cardinality: 1       
                                                 1 INDEX FULL SCAN NON-UNIQUE ADMABA.IDX_ABAPLANI_DET_SOL Cost: 3  Cardinality: 1 
                                            4 TABLE ACCESS BY INDEX ROWID ADMABA.ABA_PLANIFICACION Cost: 1  Bytes: 15  Cardinality: 1       
                                                 3 INDEX UNIQUE SCAN UNIQUE ADMABA.PK_ABA_PLANIFICACION Cardinality: 1 
                                       7 TABLE ACCESS BY INDEX ROWID ADMABA.ABA_USUARIO_DESPACHADOR Cost: 1  Bytes: 3,498  Cardinality: 53            
                                            6 INDEX UNIQUE SCAN UNIQUE ADMABA.ABA_USUARIO_DESPACHADOR_PK Cardinality: 53       
                                  10 TABLE ACCESS BY INDEX ROWID OPS$NUCLEO.NUC_CODIGOS_FLEXIBLES Cost: 1  Bytes: 14,828  Cardinality: 337                 
                                       9 INDEX UNIQUE SCAN UNIQUE OPS$NUCLEO.NUC_CODFLEX_PK Cardinality: 337            
                             13 TABLE ACCESS BY INDEX ROWID OPS$NUCLEO.NUC_CODIGOS_FLEXIBLES Cost: 1  Bytes: 1.037.828  Cardinality: 23,587                      
                                  12 INDEX UNIQUE SCAN UNIQUE OPS$NUCLEO.NUC_CODFLEX_PK Cardinality: 23,587                 
                   30 FILTER                                
                        29 NESTED LOOPS  Cost: 11  Bytes: 52,156  Cardinality: 236                           
                             26 NESTED LOOPS  Cost: 10  Bytes: 177  Cardinality: 1                      
                                  23 NESTED LOOPS  Cost: 9  Bytes: 133  Cardinality: 1                 
                                       20 NESTED LOOPS  Cost: 8  Bytes: 67  Cardinality: 1            
                                            17 TABLE ACCESS BY INDEX ROWID ADMABA.ABA_PLANIFICACION_DETALLE Cost: 7  Bytes: 52  Cardinality: 1       
                                                 16 INDEX RANGE SCAN NON-UNIQUE ADMABA.IDX_ABAPLANI_DET_SOL Cost: 3  Cardinality: 1 
                                            19 TABLE ACCESS BY INDEX ROWID ADMABA.ABA_PLANIFICACION Cost: 1  Bytes: 15  Cardinality: 1       
                                                 18 INDEX UNIQUE SCAN UNIQUE ADMABA.PK_ABA_PLANIFICACION Cardinality: 1 
                                       22 TABLE ACCESS BY INDEX ROWID ADMABA.ABA_USUARIO_DESPACHADOR Cost: 1  Bytes: 3,498  Cardinality: 53            
                                            21 INDEX UNIQUE SCAN UNIQUE ADMABA.ABA_USUARIO_DESPACHADOR_PK Cardinality: 53       
                                  25 TABLE ACCESS BY INDEX ROWID OPS$NUCLEO.NUC_CODIGOS_FLEXIBLES Cost: 1  Bytes: 14,828  Cardinality: 337                 
                                       24 INDEX UNIQUE SCAN UNIQUE OPS$NUCLEO.NUC_CODFLEX_PK Cardinality: 337            
                             28 TABLE ACCESS BY INDEX ROWID OPS$NUCLEO.NUC_CODIGOS_FLEXIBLES Cost: 1  Bytes: 1.037.828  Cardinality: 23,587                      
                                  27 INDEX UNIQUE SCAN UNIQUE OPS$NUCLEO.NUC_CODFLEX_PK Cardinality: 23,587                 Thanks in advance!
    Edited by: user491853 on 21-ago-2012 15:29

    A few comments looking at your sql query:
    How much time the query is taking?
    How many rows are there in the tables?
    Make sure the stats are up-to-date.
    Please kindly follow the instructions provided by others as well.
    >
    The version of the database is 8.1.7.4.0
    >
    Suggestion: Upgrade your version. Oracle Cost Based Optimizer is more smarter now.Upgrading will make your life much more easier as there are so many enhancements.
    AND TO_DATE (TO_CHAR (ap.fecha_creacion, 'dd/mm/yyyy'), 'dd/mm/yyyy')
    BETWEEN TO_DATE (NVL (:b8,TO_CHAR (ap.fecha_creacion, 'dd/mm/yyyy')),'dd/mm/yyyy')
    AND TO_DATE (NVL (:b9,TO_CHAR (ap.fecha_creacion, 'dd/mm/yyyy')),'dd/mm/yyyy')Why are you using TO_DATE/TO_CHAR on a date column?
    AND ap.centro_resultado = NVL (:b7, ap.centro_resultado)the same can be rewritten as below:
    AND (ap.centro_resultado =:b7 and :b7 is not null) or :b7 is null This applies to other predicates you are using as well.
    The table used in the plan is not found in your sql query eg NUC_CODIGOS_FLEXIBLES.
    Regards
    Biju

Maybe you are looking for

  • Ios 6 facetime and imessages not working on ipad 3generation

    iMessages Activation ( The user name or password for for example [email protected] was icorrect.Try again.) Facetime Activation ( The user name or password for for example [email protected] was icorrect.Try again.) since upgrading to the new ios 6 fo

  • Input XML to workflow fails

    Hi all.. I m trying to send an XML to trigger a workflow and when the XML is sent from an application intended for a particular workflow...i get the following error on the console... java.lang.NumberFormatException: at java.lang.Long.parseLong(Long.j

  • AS 2 Error: The class or interface 'Event' could not be loaded.

    Hey, I'm new to the forums and I have problems with Flash that i just cant fix. I have this error that keeps telling me how "The class or interface 'Event' could not be loaded. The error is on the 5th line of the code: 1  stop(); 2  3  addEventListen

  • Can't write to desktop

    hello, somehow my sister can't write files to her desktop. what should i check to make this feature available again? thanks max

  • How to find 'Changes or LOGS on INFOCUBE'

    Dear Friends, How to find the changes on any INFOCUBE or ODS or MULTIPROVIDERS, like data loading, and any key figures, Chanractaeristics removed or added. Can we have any logs for the same. Pls help me. Thanks in Adavnace, DORA