How to analysis long time running statement

Hi expert,
please check following statement, it ran for a long time recent days, will you please instruct how to do analysis to find out the root cause for its long running. in it, function hiroc_get_delta_amount and large table rmv_policy_premium have caused this long runing time, but I still want to get more fault information from system side.
select
pp.policy_premium_pk,
pp.policy_fk,
pp.policy_term_fk,
pp.risk_fk,
pp.coverage_fk,
pp.transaction_log_fk,
pp.coverage_component_code,
hiroc_rpt_user.hiroc_get_delta_amount(pp.policy_fk, pp.policy_term_fk, pp.risk_fk, pp.coverage_fk, pp.transaction_log_fk, pp.coverage_component_code),
pp.rate_period_from_date
from proddw_mart.rmv_policy_premium pp
where pp.rate_period_type_code = 'TERM_COVG'
and pp.coverage_component_code <> 'NETPREM'
-- and pp.premium_amount <> 0
-- *** Following line is included for faster performance
and hiroc_rpt_user.hiroc_get_delta_amount(pp.policy_fk, pp.policy_term_fk, pp.risk_fk, pp.coverage_fk, pp.transaction_log_fk, pp.coverage_component_code) != 0
group by pp.policy_premium_pk,
pp.policy_premium_pk,
pp.policy_fk,
pp.policy_term_fk,
pp.risk_fk,
pp.coverage_fk,
pp.transaction_log_fk,
pp.coverage_component_code,
pp.rate_period_from_date
Many Thanks,

843178 wrote:
-- *** Following line is included for faster performance
and hiroc_rpt_user.hiroc_get_delta_amount(pp.policy_fk, pp.policy_term_fk, pp.risk_fk, pp.coverage_fk, pp.transaction_log_fk, pp.coverage_component_code) != 0 That's an intersting piece of code.
Apparently, by adding a user defined function into a query, that's going to improve performance according to the comment.
In truth, it's going to add context switching and slow the query down.
As well as posting the information required (as detailed by the FAQ posts), you will also need to ensure you provide detials of what that function does. If the functionality can be done in SQL rather than a PL/SQL function, then that will certainly improve things.

Similar Messages

  • DELETE Statement takes long time running

    Hi,
    DELETE statements take a very long time to complete.
    Can you advice me how can I diagnostic the slow performance
    Thanks

    Deleting rows can be an expensive operation.
    Oracle stores entire row as the 'before image' of deleted information (table and index data) in
    rollback segments, generates redo (keeps archiver busy), updates free lists for blocks that are
    falling below PCTUSED setting etc..
    Select count(*) runs longer because oracle scans all blocks (upto the High Water Mark) whether
    there are or are not any rows in the blocks.
    These operations will take more and more time, if the tables are loaded with APPEND hint or
    SQL*Loader using direct mode.
    A long time ago, I ran into a similar situation. Data was "deleted" selectively, SQL*Loader was
    used (in DIRECT mode) to add new rows to the table. I had a few tables using more number of blocks
    than the number of rows in the table!
    Needless to say, the process was changed to truncate tables after exporting/extracting required
    data first, and then loading the data back. Worked much better.

  • How to analyse the time taken for a query

    Hey gurus ,
                          How to find the time taken for a query to execute .
    Regards,
    Venkatesh

    Hi,
    Time taken to execute a query = FRONT END TIME + OLAP TIME + DB TIME.
    front end time is time taken to do format in BEX.
    olap time is time taken to aggegate data in OLAP buffer.
    db time is tme taken to collect data at data target.
    to fine all these information
    goto RSRT -> give query name -> execute+debug -> it will display all the fields > check fields what ever u want.
    Regards,
    Haritha.

  • MFC database compact - how long to run ?

    Our MFC server ran out of space yesterday so we've had to do a compact on the database. I followed the instructions on the knowedlge base, answer ID 691, backed it up to another server (mapped a drive and redirected output to that drive) and now trying to restore the database.
    The restore has been running for about 12 hrs now but has not completed yet by the look of it (the cursor on the DOS screen has not returned to a prompt yet).
    Does anyone know
    a) Roughly how long it would take to restore a 7Gb MFC database. I realise we are restoring from a file on another network drive and this may slow it down and it also depends on the speed on of the disk subsystem being written to but a rough idea of time would be good.
    b) Are there any log files I can check to see if the restore is still happening or something has gone wrong.
    I set the initial database size in the my.cnf file to 10Gb and on restarting the MYSQL service the database size went to 10Gb without any data.
    On reflection I suppose if I'd set the initial database size to 1Gb I would have been able to see if the database was growing then the restore would be working, but as I set it to 10Gb and there is only 7Gb's worth of data I'm not going to see the file size increase.
    The date/time attributes on the file are constantly changing so is this an indication the file is being written to ?
    The knowledge base says it will take a long time to run, but I'm not sure how much a long time is ? I'm a bit reluctant to stop it just in case it's nearly complete.

    Can you login to the mysql prompt and run 'show processlist;' to see what commands are being executed?

  • A cautionary tale - being a long time VZW customer in good standing gets you nowhere

    Here is a cautionary tale about how being a long time VZW customer in good standing counts for nothing.
    My wife and I have been VZW customers for many years.  We each have upgraded phones at least two times over our initial models.  Several years ago, we added a third phone to our account: nothing fancy, just a crappy Coupe flip phone.  At the time, this third phone was a $10 add-on in the family plan, and was handed to my mother in law to use.    After my mother in law passed away, my father in law kept the phone, and we kept up the payments for it.  His health failed, and when he passed away, the phone moved to my brother in law, and we again kept up the payments on the phone ourselves. 
    Now in the meantime, back in 2011, my wife wanted to upgrade her phone.  Either because her prior phone wasn't up for an upgrade or due to us just not paying attention, we somehow apparently "transferred" the upgrade that available for our in-laws' definitely-not-smart flip phone to my wife's phone.  Now, since it was the upgrade of the $10 per-month flip phone we used to upgrade the Droid, it was the contract of the $10-per-month flip phone that got renewed into another 2-year cycle - not the Droid.
    Also in the meantime, I upgraded my Samsung Rogue to a Galaxy S3.  At the same time, I modified our plan to the Share Everything plan.  Because of the nature of this plan, the 3rd phone, the crappy Coupe flip phone, that used to be $10 per month increased to $30 per month.  When I signed my own new contract, I specifically asked at the VZW store whether it would be simple to drop the Coupe from the plan, because I was not sure how much longer our brother in law would need it.  They said sure, it would not be a problem.  Drop it whenever you need to, and your bill will go down $30 per month!
    Now we come to the end of 2012 when my brother in law does not need this phone anymore, and in fact returned it to us.  It is sitting here collecting dust.  I called VZW today to remove it from our account.  Can you see where this is going?  Because we triggered the new contract for this phone by upgrading my wife's OTHER phone back in 2011, the Coupe is still under contract.  So our choice is apparently keep paying $30 per month until June for a phone that used to only cost $10 per month and that no one is using, or pay a $150 termination fee. 
    I understand how this works contractually.  But the big picture is that we have been good customers for many years, have been paying for 3 phones on our account for several of those years, and one of those phones is no longer being used (the usage is literally 0).  But can we drop that phone from our contract now that we have been paying on it for multiple years?  Nooooo.  I was misled by VZW agents when I upgraded our plan to one that increased the cost of this phone from $10 per month to $30 per month that removing it would not be a problem.   A cheap flip-phone phone, which is probably physically worth $5 in hardware, if that, and which itself has never been upgraded since it was purchased several years ago, cannot be removed from our account. When it's all said and done we will end up paying vastly more than the phone and its usage is actually worth because VZW "got us" with the contract shenanigans. Congratulations, Verizon Wireless, well played.  
    Ironically, the Droid - which gets lots of usage - is beyond its upgrade date and is no longer under contract.  So I guess we could drop that phone with no problem.  But we don't want to, we want to drop the cheap phone that no one uses.  And we can't.  As I said to the agent on the phone today who was not interested in helping a long time customer solve a problem, this is exactly why people hate cell phone companies.

    I'm not *too* worried about VZW's feelings since they in effect have changed up the original contract when they forced my monthly fee for the phone to go from $10 per month to $30 per month because I upgraded a totally different phone that required a whole new calling plan, as the older plan had conveniently been phased out.  (Interesting how action on one phone has an effect on totally different phones that are on a totally different contract.)  Anyway, this isn't us trying to bilk VZW out of legitimate income.  It's trying to do what makes sense.
    Perhaps I muddied the water with all the history of the third phone.  The distilled version is this: We have 3 phones on our account, two smart phones and one ancient flip phone.  Only two of the three are still under contract, so there is one we are free to drop at any time.  And we would indeed like to drop one phone from the account.  It would be in VZWs best interest to have the phone we drop be the one they make the least amount of money from.  That would be the flip phone.  It is in our best interest to drop the phone that is no longer in use.  That is the flip phone.  Seems like a win-win situation to me!
    But because of the the way contracts are structured,  if we are to drop a phone, it needs to be the Droid, because that's the one now beyond the contract period.  So we would drop the phone that VZW makes more money from, and that we still use.  This is in the best interest of neither of us. 
    Yes, I'm trying to terminate early the contract we have on the flip phone.  But on the other hand, we are willing to continue making monthly payments on a more expensive phone that is NOT under contract anymore.  It seems like there's an easy fix: let us drop the flip phone, and heck, go ahead and put the Droid back onto contract for what would have been the duration of the flip phone contract. The inflexibility and inability to do something like this is what's irritating.
    Contracts are great until there is a reason for both parties to make a change that is beneficial to everyone involved.  I think that's what we have here.  Contracts can be updated.  Ask any professional athlete  

  • So a long time ago I accidentally deleted the mail app from my computer. How do I get it back? My computer is an old MacBook running on Mac OS X 10.5.8.

    So a long time ago I accidentally deleted the mail app from my computer. How do I get it back? My computer is an old MacBook running on Mac OS X 10.5.8.

    This Knowledge Base Article may be of some help to you.

  • How to run ABAP Function Module in Background Wchich Takes Long Time to Run

    How to run ABAP Function Module in Background FOR LONG TIME
    I am not that experienced with ABAP. I am on SAP BI 7.0. I WANT TO RUN A FUNCTION MODULE
    RSDRT_INFOCUBE_DATA_COPY.
    I used SE37 and then executed the module, I supplied  the parameters on the form which opped-up and then  program started running. . Program was however interrupted after 10 minutes by ABAP. How can I run  it in background without interruption?
    THANKS A LOT.

    Hi,
    You can call this FM in a program and run that program in background.
    Regards,
    Raju

  • How to stop the TR which has run a long time

    Hi,
    I released a TR, but the system import it a long time. I think maybe have a problem with it.
    I want to stop the import job of the TR. How can I do for that?
    jk

    hi,
    Q: How to kill a long running job in SAP.
    Answer
    You can 'kill' your own long running jobs by doing the following.
    Open a new SAP session.
    In the new session, from the SAP R/3 screen, follow the menu path: Tools>>Administration
    (new screen) Monitoring >>System monitoring>>User overview
    Fastpath:  /nsm04
    Result: the "Overview of Users" screen appears. This is a list of the jobs currently running.
    Find your username in the list and click on it
    Click on the Sessions button .
    Result: the Overview of Sessions screen appears.
    Click on the End session button .
    hi, ask your BASIS people for killing the job..
    regards
    vijay

  • Netflix, HBO Go, ABC Tv app on my apple tv take a long time to download my videos and they are choppy, how can I resolve this issue? My apple TV is running off of WiFi in my apartment.

    Netflix, HBO Go, ABC TV along with other apple TV apps, take a very long time to download the video and they are choppy when running. My apple TV runs off of WiFi in my apartment. When trying to download updates, it take a long time and then a video screen with "This Update was not Successful. Apple TV couldn't be downloaded at this time. Try again later." What can I do to resolve this issue? I purchased this apple TV in May 2013 new.

    That will be an issue with the network
    What is your current connection via speedtest.net?
    Make sure DNS is set to auto (settings - general -network)
    Since you are in an apartment the local wifi network is more prone to interference, try ethernet

  • Where would you check performance of webi? query is taking long time to run

    Hello All,
    In the bex query world running on portal you were able to go to sm50 and check what the query is doing and where it is taking a long time or atleast you were able to see the processes runing.
    Where would you check the running processes when you are running a webi query, we are trying to write a webi report which is on universe which is created on bex query. The report is very simple just two fields and an mandatory variable which is coming from bex query (have defined the variable in bex query). When we exeute the query it is taking a long time just spinning and I am not getting any data back, on the same query before even hitting the run query button, I am trying to put a object in query filters and set the filter as In list from Value(s) from list and it is taking forever to set that filter.
    Can we go to CMC or BW backend and check anywhere we are using sap authentication, I see the number of sessions in CMC but that is it.
    Thanks for help in advance.

    Thank you both for the replies.
    How would I get the MDX that is generated by the query, I remember there is a note for starting the MDX logging. Can you please let em know how would I get the MDX statement. Thanks.
    Gowtham - What is the optimal array fetch size that needs to set for the universes, can you explain bit more about array fetch size?
    All our universes are on BEx queries designed in SAP BW in that case does the array fetch size matter and array bind size matter? I had read this in oneof the universe designer manuals for OLAP universes The Array fetch size, Array bind size, and Login timeout parameters are not used for OLAP connections
    Thanks again for replies.

  • Bank statement import FF_5 sometimes takes a really long time

    Hello!
    In the middle of august we started to have problems with bank statement import FF_5 - sometimes (but not always) it takes a really long time (3 - 4 hours) to import data - usually it would take from few minutes to 1 hour (depending on size of import file). There is no error, the documents that match are posted automatically like always, the amount of documents, that are not posted automatically, is the same as always... We didn't do any new settings in system.
    We tried to find cause with debugger and sql trace, but there was no error - the import program works ok, then suddenly it stops in one line and searches in cluster table RFBLG without filled field GJAHR (year) - that means that it searches among approx 7.400.000 records (the size of our RFBLG is appr. 12 Gat the moment).
    We don't have ideas any more, how to find a cause for strange behaviour. The problem is, that there is no rule - sometimes it's ok, sometimes it works very slow - no matter how big the import file is. The problem occurs with all bank files (we have 3 banks).
    Do you maybe have any suggestions, what to do and how to find and eliminate the cause?
    Thankyou in advance for your tips!
    Meti

    Hi Meti,
    Have you tried analysing differences between files that it goes slow on and files where it goes quickly?  Sounds like there is some difference in file data that causes it to do a lookup.  If the traecs are not finding the differences, it might be wortwhile to put the file data into Excel for a slow and a fast and compare field level data?
    Regards,
    Tony

  • Is index range scan the reason for query running long time

    I would like to know whether index range scan is the reason for the query running long time. Below is the explain plan. If so, how to optimise it? Please help
    Operation     Object     COST     CARDINALITY     BYTES
    SELECT STATEMENT ()          413     1000     265000
    COUNT (STOPKEY)                    
    FILTER ()                    
    TABLE ACCESS (BY INDEX ROWID)     ORDERS     413     58720     15560800
    INDEX (RANGE SCAN)     IDX_SERV_PROV_ID     13     411709     
    TABLE ACCESS (BY INDEX ROWID)     ADDRESSES     2     1     14
    INDEX (UNIQUE SCAN)     SYS_C004605     1     1     
    TABLE ACCESS (BY INDEX ROWID)     ADDRESSES     2     1     14
    INDEX (UNIQUE SCAN)     SYS_C004605     1     1     
    TABLE ACCESS (BY INDEX ROWID)     ADDRESSES     2     1     14
    INDEX (UNIQUE SCAN)     SYS_C004605     1     1

    The index range scan means that the optimiser has determined that it is better to read the index rather than perform a full table scan. So in answer to your question - quite possibly but the alternative might take even longer!
    The best thing to do is to review your query and check that you need every table included in the query and that you are accessing the tables via the best route. For example if you can access a table via primary key index that would be better than using a non-unique index. But the best way of reducing the time the query takes to run is to give it less tables (and indexes) to read.
    John Seaman
    http://www.asktheoracle.net

  • ECC6 upgrade phase XPRAS_UPG running for long time

    Hi,
    I am performing a Downtime minimized upgrade (MODPROF_TRANS) from R34.7ext2 to ECC6.0 / Windows2003/MSSQL2005
    Currently i am in the phase XPRAS_UPG .It is running for really long time.I tried to reset the phase but still went on for more than 10 hrs. I initialized the phase now its running for more than 7 hours. There are no processes when i check in SM50 and no log files updated. There is no log file called XPRAS_UPG.ELG.SM37 no jobs running.
    Though if it takes long time , How do i confirm that my upgrade phase is running ??????????as its not updating anything
    In PARDIST_SHD phase when there was en error , i have manuall deleted the DB trigger acording to the note 956198. And the phase went on.
    Now after reading few messages reg this error , i checked DB02 but no locks on any table . Have cheked note 558197,1292069,1142410,1138351,1062559,597885,551298. But nothings applicable in my case.
    Please suggest ...
    will really appreciate your help.
    Chandra

    Dear Chandra,
    Regarding long runtime for XPRAS phase kindly note the following:
    1. The reason of slow performance of XPRAS phase can vary differently.
    Basically during XPRAS phase, there're a lot of reports to run. These
    reports are inlcuded in the transport requests(both upgrade
    requests and support packages). If there's a performance problem,
    it very likely the database performance problem, such as wrong
    access plan was chosen, or missing index, etc.
    2. To find out the performance problems in the XPRAS, you can always
    logon into the system. During the XPRAS phase, the system has to be up and running.
    In SM50, usually you can find which report is running, and/or which table is being accessed.
    If you find some table accesses take unusually long time, please
    record the table name and find the SQL statement. Sometimes a simple
    index can solve the problem, sometimes you need help from Oracle
    to get the solution.
    3. If you want to shorten the downtime, you can select less support
    packages since all SPs have a lot of reports to run in XPRAS. But
    remember you need to import them soon or later. But if you prefer
    import them later it's fine.
    Currently if you check in SM37 then you can see RDDEXECL job in active status.
    Check for the job log, if there are any errors reported?
    Thereafter check the SM50 and see if its taking unusually long time for some particular table.
    If so then it might be because you might have not updated the statistics for that particular table.
    Also check what was the parameter value of Number of batch processes defined by you
    for upgrade. If you have defined very less number of batch processes for upgrade then also
    it will take more time.
    Check accordingly and let me know for further help.
    Regards,
    Abhishek
    Edited by: Abhishek Srivastava on May 9, 2010 10:57 AM

  • Program Running from Long Time

    Hi Friends,
    There is a program running from long time. Can anybody let me know how can i analyse this program other than SM50, SM51, SM66. Its a CRM Program.....there are no logs.......
    Points will be rewarded....
    Thanks,
    Nagesh.

    Hi,
    I will suggest you to check a few places where you can see the status
    1) SM37 job log. If its active make sure that the job log is getting updated at frequent intervals.
    2) Get the job details (server name PID etc from SM37) and see in SM66 if the job is running or not. See if its accessing/updating some tables or is not doing anything at all.
    If its running and if you are able to see it active in SM66 you can wait for some time to let it finish.
    3) You can also try SM50 / SM51 to see what is happening in the system level like reading/inserting tables etc.
    If you feel its active and running you can verify by checking if the number of records getting updated/ inserted /deleted in table level.
    You can take the help of Basis/DB2 to find out what is actually happening in the background.
    This is the best way to identify of something is happening in the database level.
    Thanks,
    JituK

  • Background Jobs running for long time.

    Dear All,
    I had done the Homogeneous System Copy on my ECC 6 QA System successfully by restoring the offline backup of Production system. My system is up & running but  I have some Performace issues in the system. I also observed that some jobs are running since long time & most commonly i got the below line in the BGD Trace "WP has reached abap/heaplimit = 40000000 bytes".
    I search for the notes but couldn't find anything.
    Please help me to resolve this issue.
    Below is the Trace :-
    trc file: "dev_w7", trc level: 1, release: "700"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      all, MJ
    M sysno      12
    M sid        UBQ
    M systemid   370 (Solaris on SPARCV9 CPU)
    M relno      7000
    M patchlevel 0
    M patchno    52
    M intno      20050900
    M make:      single threaded, Unicode, 64 bit, optimized
    M pid        16335
    M
    M
    M Mon Nov 10 19:01:10 2008
    M  kernel runs with dp version 210000(ext=109000) (@(#) DPLIB-INT-VERSION-210000-UC)
    M  length of sys_adm_ext is 572 bytes
    M  ThInit: running on host UBSQAS
    M  calling db_connect ...
    C  Client NLS settings: AMERICAN_AMERICA.UTF8
    C  Logon as OPS$-user to get SAPSR3's password
    C  Connecting as /@UBQ on connection 0 (nls_hdl 0) ... (dbsl 700 240106)
    C  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    C    0 UTF8                                                      1 0x1067f1be0 0x1067f96a0 0x106809e38
    C  Attaching to DB Server UBQ (con_hdl=0,svchp=0x106809d68,svrhp=0x10680c0b8)
    C  Starting user session (con_hdl=0,svchp=0x106809d68,srvhp=0x10680c0b8,usrhp=0x1067f9eb8)
    C  Now '/@UBQ' is connected (con_hdl 0, nls_hdl 0).
    C  Got SAPSR3's password from OPS$-user
    C  Disconnecting from connection 0 ...
    C  Closing user session (con_hdl=0,svchp=0x106809d68,usrhp=0x1067f9eb8)
    C  Now I'm disconnected from ORACLE
    C  Connecting as SAPSR3/<pwd>@UBQ on connection 0 (nls_hdl 0) ... (dbsl 700 240106)
    C  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    C    0 UTF8                                                      1 0x1067f1be0 0x1067f96a0 0x106809e38
    C  Starting user session (con_hdl=0,svchp=0x106809d68,srvhp=0x10680c0b8,usrhp=0x1067f9eb8)
    C  Now 'SAPSR3/<pwd>@UBQ' is connected (con_hdl 0, nls_hdl 0).
    C  Database NLS settings: AMERICAN_AMERICA.UTF8
    C  Database instance UBQ is running on UBSQAS with ORACLE version 10.2.0.2.0 since 20081109
    B  Connection 0 opened (DBSL handle 0)
    B  Wp  Hdl ConName          ConId     ConState     TX  PRM RCT TIM MAX OPT Date     Time   DBHost
    B  000 000 R/3              000000000 ACTIVE       NO  YES NO  000 255 255 20081110 190110 UBSQAS
    M  db_connect o.k.
    M  ICT: exclude compression: .zip,.cs,.rar,.arj,.z,.gz,.tar,.lzh,.cab,.hqx,.ace,.jar,.ear,.war,.css,.pdf,.js,.gzip
    I  MtxInit: 7 0 0
    M  SHM_PRES_BUF###(addr: 0xffffffff6c400000, size: 4400000)
    M  SHM_ROLL_AREA##(addr: 0xfffffffe56000000, size: 134217728)
    M  SHM_PAGING_AREA##(addr: 0xfffffffe50000000, size: 67108864)
    M  SHM_ROLL_ADM###(addr: 0xffffffff7000a000, size: 2672386)
    M  SHM_PAGING_ADM##(addr: 0xffffffff77a00000, size: 656416)
    M  ThCreateNoBuffer##allocated 572152 bytes for 1000 entries at 0xfffffffe48004000
    M  ThCreateNoBuffer##index size: 3000 elems
    M  ThCreateVBAdm##allocated 12176 bytes (50 server) at 0xffffffff77900000
    X  EmInit: MmSetImplementation( 2 ).
    X  MM diagnostic options set: 0
    X  <ES> client 7 initializing ....
    X  Using implementation std
    X  ES initialized.
    B  db_con_shm_ini:  WP_ID = 7, WP_CNT = 12, CON_ID = -1
    B  dbtbxbuf: Buffer TABL  (addr: 0xfffffffe42000100, size: 30000000, end: 0xfffffffe43c9c480)
    B  dbtbxbuf: Buffer TABLP (addr: 0xffffffff6b800100, size: 10240000, end: 0xffffffff6c1c4100)
    B  dbexpbuf: Buffer EIBUF (addr: 0xffffffff65800108, size: 4194304, end: 0xffffffff65c00108)
    B  dbexpbuf: Buffer ESM   (addr: 0xffffffff65000108, size: 4194304, end: 0xffffffff65400108)
    B  dbexpbuf: Buffer CUA   (addr: 0xfffffffe4b01e108, size: 3072000, end: 0xfffffffe4b30c108)
    B  dbexpbuf: Buffer OTR   (addr: 0xffffffff64800108, size: 4194304, end: 0xffffffff64c00108)
    M  rdisp/reinitialize_code_page -> 0
    M  icm/accept_remote_trace_level -> 0
    M  rdisp/no_hooks_for_sqlbreak -> 0
    M  CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
    S  *** init spool environment
    S  initialize debug system
    T  Stack direction is downwards.
    T  debug control: prepare exclude for printer trace
    T  new memory block 0x106ab5bb0
    S  spool kernel/ddic check: Ok
    S  using table TSP02FX for frontend printing
    S  1 spool work process(es) found
    S  frontend print via spool service enabled
    S  printer list size is 150
    S  printer type list size is 50
    S  queue size (profile)   = 300
    S  hostspool list size = 3000
    S  option list size is 30
    S      found processing queue enabled
    S  found spool memory service RSPO-RCLOCKS at 0xfffffffe4b30e070
    S  doing lock recovery
    S  setting server cache root
    S  found spool memory service RSPO-SERVERCACHE at 0xfffffffe4b30e548
    S    using messages for server info
    S  size of spec char cache entry: 297032 bytes (timeout 100 sec)
    S  size of open spool request entry: 2168 bytes
    S  immediate print option for implicitely closed spool requests is disabled
    A Mon Nov 10 19:01:11 2008
    A
    A     PXA
    A  PXA INITIALIZATION
    A  PXA: Fragment Size too small: 73 MB, reducing # of fragments
    A  System page size: 8kb, total admin_size: 11048kb, dir_size: 10992kb.
    A  Attached to PXA (address 0xfffffffe20000000, size 300000K)
    A  abap/pxa = shared protect gen_remote
    A  PXA INITIALIZATION FINISHED
    A     PXA
    A
    A  ABAP ShmAdm attached (addr=0xfffffffe60590000 leng=20938752 end=0xfffffffe61988000)
    A  >> Shm MMADM area (addr=0xfffffffe6083edd0 leng=140480 end=0xfffffffe60861290)
    A  >> Shm MMDAT area (addr=0xfffffffe60862000 leng=17981440 end=0xfffffffe61988000)
    A  RFC rfc/signon_error_log = -1
    A  RFC rfc/dump_connection_info = 0
    A  RFC rfc/dump_client_info = 0
    A  RFC rfc/cp_convert/ignore_error = 1
    A  RFC rfc/cp_convert/conversion_char = 23
    A  RFC rfc/wan_compress/threshold = 251
    A  RFC rfc/recorder_pcs not set, use defaule value: 2
    A  RFC rfc/delta_trc_level not set, use default value: 0
    A  RFC rfc/no_uuid_check not set, use default value: 0
    A  RFC rfc/bc_ignore_thcmaccp_retcode not set, use default value: 0
    A  RFC Method> initialize RemObjDriver for ABAP Objects
    M  ThrCreateShObjects##allocated 12676 bytes at 0xffffffff77700000
    N  SsfSapSecin: putenv(SECUDIR=/usr/sap/UBQ/DVEBMGS12/sec): ok
    N
    N  =================================================
    N  === SSF INITIALIZATION:
    N  ===...SSF Security Toolkit name SAPSECULIB .
    N  ===...SSF trace level is 0 .
    N  ===...SSF library is /usr/sap/UBQ/DVEBMGS12/exe/libsapsecu.so .
    N  ===...SSF hash algorithm is SHA1 .
    N  ===...SSF symmetric encryption algorithm is DES-CBC .
    N  ===...sucessfully completed.
    N  =================================================
    N  =================================================
    N  MskiInitLogonTicketCacheHandle: Logon Ticket cache pointer retrieved from shared memory.
    N  MskiInitLogonTicketCacheHandle: Workprocess runs with Logon Ticket cache.
    M  JrfcVmcRegisterNativesDriver o.k.
    W  =================================================
    W  === ipl_Init() called
    W    ipl_Init(): wp task type is 4:BTC, skip initialization
    W  === ipl_Init() returns 0, ITSPE_OK: OK
    W  =================================================
    E  Replication is disabled
    E  EnqCcInitialize: local lock table initialization o.k.
    E  EnqId_SuppressIpc: local EnqId initialization o.k.
    E  EnqCcInitialize: local enqueue client init o.k.
    B
    B Mon Nov 10 19:30:28 2008
    B  dbtran INFO (init_connection '<DEFAULT>' [ORACLE:700.08]):
    B   max_blocking_factor =  15,  max_in_blocking_factor      =   5,
    B   min_blocking_factor =  10,  min_in_blocking_factor      =   5,
    B   prefer_union_all    =   0,  prefer_join                 =   0,
    B   prefer_fix_blocking =   0,  prefer_in_itab_opt          =   1,
    B   convert AVG         =   0,  alias table FUPD            =   0,
    B   escape_as_literal   =   1,  opt GE LE to BETWEEN        =   0,
    B   select *            =0x0f,  character encoding          = STD / <none>:-,
    B   use_hints           = abap->1, dbif->0x1, upto->2147483647, rule_in->0,
    B                         rule_fae->0, concat_fae->0, concat_fae_or->0
    M  SecAudit(RsauShmInit): WP attached to existing shared memory.
    M  SecAudit(RsauShmInit): addr of SCSA........... = 0xffffffff78500000
    M  SecAudit(RsauShmInit): addr of RSAUSHM........ = 0xffffffff78500768
    M  SecAudit(RsauShmInit): addr of RSAUSLOTINFO... = 0xffffffff785007a0
    M  SecAudit(RsauShmInit): addr of RSAUSLOTS...... = 0xffffffff785007ac
    A
    A Mon Nov 10 20:04:25 2008
    A  WP has reached abap/heaplimit = 40000000 bytes
    A
    A Tue Nov 11 02:25:41 2008
    A  generated report /1BCWDY/BSAEKROD3IX58HSBOTLJ==CP         with fingerprint 1078C98BF377F2618A7F4843DE257FC8   50556
    Tue Nov 11 02:36:40 2008
    actual OCI-type (1) of OUT-variable 0 differs from cached statement (96) ==> reparsing
    sc_p=0x10673a550,no=176,idc_p=0x106750c68,con=0,act=1,slen=149,smax=768,#vars=5,stmt=0x107ba9dc0,table=TADIR
    prep=1,lit=0,nsql=0,lobret=0,#exec=455,dbcnt=0,upsh_p=(nil),ocistmth_p=0x1073f3ec0
    IN : cols=5,rmax=1,xcnt=0,rpc=0,rowi=0,rtot=0,upto=4294967295,rsize=108,vmax=32,bound=1,iobuf_p=0x1068680e0,vda_p=0x1073f8960
          lobs=0,lmax=0,lpcnt=0,larr=(nil),lcurr_p=(nil),rret=0
    OUT: cols=1,rmax=0,xcnt=0,rpc=0,rowi=0,rtot=0,upto=1,rsize=0,vmax=32,bound=1,iobuf_p=(nil),vda_p=0x1073f90f0
          lobs=0,lmax=0,lpcnt=0,larr=(nil),lcurr_p=(nil),rret=0
    SELECT /*+ FIRST_ROWS  */ "OBJ_NAME" FROM "TADIR" WHERE "PGMID" = :A0 AND ( "OBJECT" = :A1 OR "OBJEC\
    T" = :A2 ) AND "OBJ_NAME" = :A3 AND ROWNUM <= :A4;
    actual OCI-type (96) of OUT-variable 0 differs from cached statement (1) ==> reparsing
    sc_p=0x10673a550,no=176,idc_p=0x106750c68,con=0,act=1,slen=149,smax=768,#vars=5,stmt=0x107ba9dc0,table=TADIR
    prep=1,lit=0,nsql=0,lobret=0,#exec=2,dbcnt=0,upsh_p=(nil),ocistmth_p=0x1073f3ec0
    IN : cols=5,rmax=1,xcnt=0,rpc=0,rowi=0,rtot=0,upto=4294967295,rsize=108,vmax=32,bound=1,iobuf_p=0x1068680e0,vda_p=0x1073f8960
          lobs=0,lmax=0,lpcnt=0,larr=(nil),lcurr_p=(nil),rret=0
    OUT: cols=1,rmax=0,xcnt=0,rpc=0,rowi=0,rtot=0,upto=1,rsize=0,vmax=32,bound=1,iobuf_p=(nil),vda_p=0x1073f90f0
          lobs=0,lmax=0,lpcnt=0,larr=(nil),lcurr_p=(nil),rret=0
    SELECT /*+ FIRST_ROWS  */ "OBJ_NAME" FROM "TADIR" WHERE "PGMID" = :A0 AND ( "OBJECT" = :A1 OR "OBJEC\
    T" = :A2 ) AND "OBJ_NAME" = :A3 AND ROWNUM <= :A4;
    Tue Nov 11 02:36:42 2008
    actual OCI-type (1) of OUT-variable 0 differs from cached statement (96) ==> reparsing
    sc_p=0x10673a550,no=176,idc_p=0x106750c68,con=0,act=1,slen=149,smax=768,#vars=5,stmt=0x107ba9dc0,table=TADIR
    prep=1,lit=0,nsql=0,lobret=0,#exec=3,dbcnt=0,upsh_p=(nil),ocistmth_p=0x1073f3ec0
    IN : cols=5,rmax=1,xcnt=0,rpc=0,rowi=0,rtot=0,upto=4294967295,rsize=108,vmax=32,bound=1,iobuf_p=0x1068680e0,vda_p=0x1073f8960
          lobs=0,lmax=0,lpcnt=0,larr=(nil),lcurr_p=(nil),rret=0
    OUT: cols=1,rmax=0,xcnt=0,rpc=0,rowi=0,rtot=0,upto=1,rsize=0,vmax=32,bound=1,iobuf_p=(nil),vda_p=0x1073f90f0
          lobs=0,lmax=0,lpcnt=0,larr=(nil),lcurr_p=(nil),rret=0
    SELECT /*+ FIRST_ROWS  */ "OBJ_NAME" FROM "TADIR" WHERE "PGMID" = :A0 AND ( "OBJECT" = :A1 OR "OBJEC\
    T" = :A2 ) AND "OBJ_NAME" = :A3 AND ROWNUM <= :A4;
    Thanks,
    Shambo

    Hi Shambo
    have you checked the oracle parameters as per the sap note 830576,and also the backup which you have taken is a logical backup,in that case you have to run the update database statistics either from DB13 or BRTOOLS
    also check ST04 and also ST02 to do a  performance tuning
    I believe its more Database Parameter issue
    regards
    George Varghese

Maybe you are looking for

  • EXCEL output logo issues in  XML Publisher

    Hi, We are using XML Publisher API to generate PDF,EXCEL outputs using Template. While adding image to the template its showing in the pdf output. But not showing in the Excel output. Then i added url:{/Image} in the alt text of the image in template

  • I Tunes not running on Windows 7 64 bit operating system

    I have been unable to get this program to download on a new laptop.  Can anyone offer a recommendation.  When I attempt to Authorize the computer, the software gives an error message that it has to shut down.  Remov and reinstalled software 6 times t

  • Permissions issues on folder/file created by impersonation workflow

    Hi, I have used impersonation to create a new folder, copy a Word template inside it, and rename the file. Content management is on but checkin/out is off. When the doc is printed or saved, it should prompt for a label and barcode. The workflow works

  • I lost my foto after upgrading to IOS 8.1

    Please help!!!!... My Ipod crashed when installing IOS 8.1. After restoring my Ipod using ITunes, I lost all my 6000++ fotos!!! Please help me how to retrieve it...

  • Which HDD capacity Satellite A20 S-103 supports?

    Hello everyone and sorry for bad English ;) I want to upgrade my Laptop's HDD but I am not sure which maximum size notebook supports? It's a Satellite A20 s-103, with Intel Pentium 4 2.8 GHz. Can you help me about it? I am thinking on buying a 160 GB