ABAP-HR GET-PERAS , SlOW PERFORMANCE

Hi All,
I am using PNPCE LDB and while fetching records it takes lot of time .As per ST05 , time is taken by standard select statements inside GET PERAS.
Can any one advice , what should we do so that performance increases .
Should I use normal select statement.Will that help

Hi Ravi,
There is no macro which can retrieve the record based on AEDTM. One more thing to say is statement provide ...endprovide statement can be used and there would be no performance issue if i am not wrong. Anyway try this code.
tables: pa0001, pernr.
infotypes : 0001.
data : begin of itab occurs 0,
       pernr like pa0001-pernr,
       aedtm like pa0001-aedtm,
       end of itab.
data : v_aedtm type pa0001-aedtm.
start-of-selection.
v_aedtm = sy-datum - 1.
get pernr.
provide * from p0001 between pn-begda and pn-endda.
if p0001-aedtm = v_aedtm.
move : p0001-pernr to itab-pernr,
       p0001-aedtm to itab-aedtm.
       append itab.
endif.
endprovide.
end-of-selection.
loop at itab.
write :/ itab-pernr, itab-aedtm.
endloop.
Regards,
Kranthi

Similar Messages

  • Get response & slow performance

    Internal authenticate method when the RSA 2K RSA key is used returns 256 bytes. The applet does not support the extended length. Because of it, the internal authenticate method returns 255 in the first launch. After the get response is called and the rest (1 byte) is returned. Get response function lasts unexpectedly slow. More than 300 ms. This code handle get response:
    if (apdu.getCurrentState() != APDU.STATE_OUTGOING) {
                        apdu.setOutgoing();
                   apdu.setOutgoingLength(length);
                   apdu.sendBytesLong(tmpBuffer.data, remainingDataOffset, length);I am aware that in order to return the rest of the message, the array has to be iterated on the appropriate position (255). Is there any way how this can be optimized under the prerequisite that the extended length is not used?

    This is just the extract of my code. There is a part of code in which I am checking if the command is GET RESPONSE.
    Can you see in this code what makes the get response acts slow. In the second launch, only one bate is resturned. This
    byte is at the offset 255 of the tmpBuffer.data variable
    Extract from the process method:
    The instance variables:
    private static final byte INS_GET_RESPONSE = (byte) 0xC0;
    private byte[] remainingDataLength;
         private byte[] remainingDataOffset;
         The constructor:
    remainingDataLength = JCSystem.makeTransientByteArray((short) 2,
                        JCSystem.CLEAR_ON_DESELECT);
              remainingDataOffset = JCSystem.makeTransientByteArray((short) 2,
                        JCSystem.CLEAR_ON_DESELECT);
    byte[] buffer = apdu.getBuffer();
              byte ins = buffer[OFFSET_INS];
              if (ins == INS_GET_RESPONSE) {
                   if (Util.getShort(remainingDataLength, (short) 0) <= 0) {
                        ISOException.throwIt(SW_CONDITIONS_NOT_SATISFIED);
                   sendData(apdu, Util.getShort(remainingDataLength, (short) 0));
                   return;
              else {
                   Util.setShort(remainingDataOffset, (short) 0, (short) 0);
                   Util.setShort(remainingDataLength, (short) 0, (short) 0);
              }The called sendData method:
    private void sendData(APDU apdu, short length) {
              short remainingDataOffsetTmp = Util.getShort(remainingDataOffset, (short) 0);
              short remainingDataLengthTemp = Util.getShort(remainingDataLength, (short) 0);
              if (length > RESPONSE_LENGTH) {
                   if (apdu.getCurrentState() != APDU.STATE_OUTGOING) {
                        apdu.setOutgoing();
                   apdu.setOutgoingLength(RESPONSE_LENGTH);
                   apdu.sendBytesLong(tmpBuffer.data, remainingDataOffsetTmp, RESPONSE_LENGTH);
                   remainingDataOffsetTmp += RESPONSE_LENGTH;
                   remainingDataLengthTemp = (short) (length - RESPONSE_LENGTH);
                   Util.setShort(remainingDataOffset, (short) 0, remainingDataOffsetTmp);
                   Util.setShort(remainingDataLength, (short) 0, remainingDataLengthTemp);
                   ISOException
                             .throwIt((short) (ISO7816Ext.SW_MORE_DATA + ((remainingDataLengthTemp > RESPONSE_LENGTH) ? RESPONSE_LENGTH
                                       : remainingDataLengthTemp)));
              else if (length > 0 && length <= RESPONSE_LENGTH) {
                   if (apdu.getCurrentState() != APDU.STATE_OUTGOING) {
                        apdu.setOutgoing();
                   apdu.setOutgoingLength(length);
                   apdu.sendBytesLong(tmpBuffer.data, remainingDataOffsetTmp, length);
                   Util.setShort(remainingDataOffset, (short) 0, (short) 0);
                   Util.setShort(remainingDataLength, (short) 0, (short) 0);
         }

  • I am getting very slow performance from my i7, 27" iMac and it is very hot to the touch. Is this a sign of an imminent failure coming?

    I get the colour wheel constantly after most clicks of the mouse and the unit is very hot causing the fan to start running for simple operations like checking email. Just wondering if anybody had any suggestions.
    Thanks...

    If you have more than ten or so files or folders on your Desktop, move them, temporarily at least, somewhere else in your home folder.
    Disconnect all wired peripherals except keyboard, mouse, and monitor, if applicable. Launch the usual set of applications you use when you notice the slowdown.
    Step 1
    Launch the Activity Monitor application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ If you’re running Mac OS X 10.7 or later, open LaunchPad. Click Utilities, then Activity Monitor in the page that opens.
    Select the CPU tab.
    Select All Processes from the menu in the toolbar, if not already selected.
    Click the heading of the % CPU column in the process table to sort the entries by CPU usage. You may have to click it twice to get the highest value at the top. What is it, and what is the process? Also post the values for % User, % System, and % Idle at the bottom of the window.
    Select the System Memory tab. What values are shown in the bottom part of the window for Page outs and Swap used?
    Step 2
    Launch the Console application in the same way as above, and select “kernel.log” from the file list. Post the dozen or so most recent messages in the log — the text, please, not a screenshot.
    If there are runs of repeated messages, please post only one example of each. Do not post many repetitions of the same message.

  • Sudden extreme slow performance

    I have run Tiger on this machine for about 6 months with no problems. In the last few weeks everything has started slowing down noticably. The hard disk is running ragged, constantly reading/writing, from looking at the cpu monitor it seems like the computer is not actually using it's ram and is just reading and writing. I tried clearing caches and that worked for a few hours but the machine now seems to lock up after a few hours use. I get to the point where i cannot open menus, switch programs, or even force quit or restart. Everything locks up - spinning beachball - and the hard disk is left constantly writing. I have 9 -15Gb free out of 40Gb on the disk - i assume this is enough. Playing music and safari is no problem. But I am using iphoto and photoshop as well as other programs in the background. This was never previously a problem and ran smoothly. I know it's fairly vague but if anyone can help..

    Hi, Ben.
    Thanks. However, it would help to see some of the specific data points from the instructions in those FAQs. Specifically:
    1. You wrote: "(the pageins/outs are about equal) but i'm getting REALLY slow performance across the board. "It still sounds like it is "thrashing."1.1. Did you check the pagesin/pageouts per second as described in my "Problems from insufficient RAM and free hard disk space" FAQ? The per-second values can only be found using top as described therein.
    1.2. Did you check for a runaway process in Activity Monitor per the "Troubleshooting" section in my "Tuning Mac OS X Performance" FAQ?.
    The activity you describe (beach ball, heavy disk writing) has to be coming from somewhere, so checking Activity Monitor as I describe in that FAQ should tell you. Find the process consuming the most %CPU as instructed in the FAQ. Post back the result, i.e. the process name.2. You wrote: "It seems to lock itself up with the hard disk clicking and crunching. Is it possible the hard disk is giving up and so is writing at a very slow speed??? "To check this, see my "Resolving Disk, Permission, and Cache Corruption" FAQ:2.1. Perform at least Steps 1-3 of the Procedure section therein in the order specified.
    2.2. Also, review the section therein on "Bad Sectors" to see if the "clicking and crunching" sounds you are hearing are similar to those that generally indicate bad sectors.3. If the disk checks out OK per point 2 above, and depending on what you find in point 1.2 above, the process may be an errant Startup or Login Item. My "Troubleshooting Startup and Login Items" FAQ can help you pin that down if such an item is causing the problem.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X
    Note: The information provided in the link(s) above is freely available. However, because I own The X Lab™, a commercial Web site to which some of these links point, the Apple Discussions Terms of Use require I include the following disclosure statement with this post:
    I may receive some form of compensation, financial or otherwise, from my recommendation or link.

  • Slow performance from Premiere Elements 10

    Hi guys,
    I recently purchased Premiere Elements and Photoshop Elements 10 to edit some wedding video.  I am experiencing some slow performance with the software (and random lockups for that matter).  My CPU usage shows nearly nil when using the program and with IE with multiple tabs open at the moment and the Premiere Elements open, I am showing that I still have about 5GB of RAM free.  However, I am still getting some slow performance from the software with random lockups.  The video came from a sony HDR-CX700V camera, it is all 1080P video and there is about 3 hours worth of footage added to my current project.  I imported the footage by just dragging and dropping the video folder contents into the "Project" tab within the program.
    An example of the slow performance I get is this.  I added a Title card to start before the video.  When I hit play to see how it looks, the preview screen shows nothing, but you can see the time scrolling, then the video suddenly starts, but the video is really choppy.  I also had a heck of a time just adding that title card, as when I did it the program crashed once and locked up a couple of times.  Any ideas how I can fix this?  What other information would you need to help me further troubleshoot the problem?
    My system is has an i7-720 with 8GB of RAM and an NVIDIA GTX260M with the latest driver from NVIDIA. 
    TIA guys!

    One - your project must match your video... if you have a red line over the timeline immediately after importing the video, your project is wrong
    Read Bill Hunt on a file type as WRAPPER http://forums.adobe.com/thread/440037
    What is a CODEC... a Primer http://forums.adobe.com/thread/546811
    What CODEC is INSIDE that file? http://forums.adobe.com/thread/440037
    Report back with the codec details of your file, use the programs below... a screen shot works well to SHOW people what you are doing
    For PC http://www.headbands.com/gspot/ or http://mediainfo.sourceforge.net/en
    For Mac http://mediainspector.massanti.com/
    http://blogs.adobe.com/premiereprotraining/2011/02/red-yellow-and-green-render-bars.html
    If you have a red line over the timeline after importing a video and before adding any effects... your project is wrong for your video... read above about codecs
    Once you know exactly what it is you are editing, report back with that information... and your project setting, and if there is a red line above the video in the timeline, which indicates a mismatch between video and project
    Two - how many hard drives do you have, and how is your project configured?
    My 3 hard drives to edit AVCHD are configured as...
    1 - 320Gig Boot for Win7 64bit Pro and all program installs
    2 - 320Gig data for Win7 paging swap file and video project files
    When I create a project on #2 drive, the various work files follow,
    so my boot drive is not used for the media cache folder and files
    3 - 1Terabyte data for all video files... input & output files (*)
    (*) for 4 drives, drive 3 all source files & drive 4 all output files
    Search Microsoft to find out how to redirect your Windows paging swap file
    http://search.microsoft.com/search.aspx?mkt=en-US&setlang=en-US

  • Slow performance on 11g

    Hi ,
    Recently we have migrated our database from 10g to 11.2.0.2 enterprise edition .
    Comparing with 10g , we are getting very slow performance on 11g .
    can anyone suggest me how to to tune this migrated database.
    Also Please suggest me the version of TOMCAT server compatible with 11g
    Thanx in advance....

    Start looking at your top N SQL.
    Even if there are a number of statements whose performance has degraded thanks to the upgrade, you might as well start with the worst performing SQL.
    If you have some performance reports from the period before upgrade then these could be used as comparison.
    If you preserved any execution plans from before the upgrade, these might come in useful as quick fixes to any specific statement issues.
    If you still have plans in AWR from before the upgrade, then
    "Read by other session" is a typical symptom of inefficient execution plan issues where multiple query executions are requesting the same data and it is not in the cache.
    "db file parallel read" is often a symptom of index prefetching - from your top SQL check statements doing an index full scan, particularly if they didn't use to.
    See threads following threads for SQL tuning:
    [url https://forums.oracle.com/forums/thread.jspa?threadID=863295]How to post a sql tuning request
    [url https://forums.oracle.com/forums/thread.jspa?messageID=1812597]When your query takes too long
    So, in summary, check out your top N SQL, check which queries are doing most "read by other sessions", double check plans with "db file parallel read".
    You might find a common cause affecting a number of statments or you might just find a couple of queries who are stressing you out and whose execution plan needs some post-upgrade TLC (which is normal).

  • Slow Performance On Mac Pro 12-Core

    Hello Everyone,
    I just recently purchased a 2012 Mac pro 12-Core and i have been getting unbelievabley slow performance with it. I am using Premiere Pro CS6 and it seems that the footage can sometimes get a bit laggy at times and not play back smoothly, sometimes rendering can take a bit of time as well. However here are the specs of my system:
    Mac Pro 12-Core 2.4GHz (2.67GHz Turbo Boost)
    40GB of Ram
    ATI 5770 Graphics Card
    1TB scratch disk (with a user on the drive that i can boot into)
    OCZ 120GB Vertex 3 SSD OS/APPS drive
    First question i would like to get answered once and for all.. Did i make a bad decision by purchasing a computer with such a slow clock speed (2.4GHz)?? I figured since The new editing software is switching to 64bit it shouldn't depend on clock speed anymore? (i just want to be sure that i purchased a more than capable machine) However i will be buying a Samsung 840 Pro Series 256GB SSD Drive for Scratch within the month. (I dont have the budget to buy a Raid controller yet to utilize 6GB/s transfer speeds, so 1 Fast SSD drive will have to do for now)
    I should mention the current SSD drive im on right now only has 13GB remaining, would that affect performance? Also, my 1Tb media drive is filled up with CRAP from my previous computer (Migration transferred EVERYTHING to that drive, only 120GB remains) would that drive with the media im working with affect performance too? Also just as a test, i took some footage from my GoPro Hero 3 camera and put it on my SSD to see if that would eliminate the lag, but still lag was present in Premiere.. (the footage was in a crappy .M4P format, so that may have affected it, but I dont know)
    Any suggestions are greatly appreciated!
    -Thanks in Advance!

    The new editing software is switching to 64bit it shouldn't depend on clock speed anymore?
    Wrong, clock speed is everything.
    I should mention the current SSD drive im on right now only has 13GB remaining, would that affect performance?
    No, not really.
    Also, my 1Tb media drive is filled up with CRAP from my previous computer (Migration transferred EVERYTHING to that drive, only 120GB remains) would that drive with the media im working with affect performance too?
    When fill rates go up, performance goes down. With almost 90% fill rate, the disk performs only at around 50% of a new disk.
    Two disks is absolute bare minimum, and your cores will constantly be waiting for the disks to read or write data, sitting idle most of the time.
    Also just as a test, i took some footage from my GoPro Hero 3 camera and put it on my SSD to see if that would eliminate the lag, but still lag was present in Premiere..
    GoPro material requires a very fast computer, which yours is not with the low clock speed, outdated E5620 CPU's, only two disks, and a non-CUDA capable video card.
    Take a look at the PPBM5 Benchmark and look at the system at rank # 854, which is a MacPro, very similar to your system, dual E5620, AMD video card, less memory but uses three disks.
    So, your system would be around the same rank as the one above, among the slowest 25% of all systems and something like 10 - 15 times slower than a fast system. You tax your system to the extreme with the GoPro Hero3 material, and the consequence is the slow performance you see.
    Sorry, not much you can do, other than get a new system. If you sell it now, it may get you a price, good enough to get a much faster Windows system and maybe even keep the change.  Simply said, you bought a MacPro for € 3.5 K, sell it for € 3 K, buy a PC for € 2.5 K that is around 5-6 times faster and your loss is recovered.
    However i will be buying a Samsung 840 Pro Series 256GB SSD Drive for Scratch within the month
    What a pity the MacPro does not have SATA 6G ports, only SATA 3G, because then that SSD will run at almost half speed.

  • Massively Slow Performance

    When using the QueueBrowser I am getting massively slow performance. This is happening in two ways - with a selector and without.
    When no selector is used to get a list of all messages currently on the Queue (depth = 3000) it can take over a minute to go through the enumeration. When using a selector with the message id as the criteria the performance barely improves over the time taken to enumerate over the entire queue
    Does anyone know how I can improve his performance or what causes it to be so slow?
    Thanks in advance,
    Ian

    Try repair your permissions, and while you are at it, do a disk verify.
    Also you may want to upgrade to 1 or 2 GB of RAM, it helps big time.
    I have had my Macbook for 2 years and its still as fast as day one.

  • Getting slow performance with -webkit-box-shadow [2.5.1]

    Hello, I just updated to the lastest Air version and I'm getting slow performance on my app when using this new css3 property just added, anyone else has the same problem?

    Thanks for your reply. I have actually found a way to fix the problem and it had nothing to do with the subvi's in my application (well almost nothing . The first thing I tried doing was taking out the display local variables which displayed lockin data on 3 screens of my application into 1 separate while loop and replacing the Lockin driver code with global variables which had only the data I wanted to display. This helped a little bit but here's what fixed my problem completely.
    When I created 2 lockin SubVIs I forgot to go into File->VI Properties->Execution and there select Time critical priority and in the other option drop down list: data acquisition.
    As soon as I did that in the 2 subvi's the lockins actually began performing in real time and now it takes milliseconds to detect the signal and to update the displays.
    I hope this helps. I'm surprised the NI Tech rep I spoke with, hasn't recommended this even though I asked if there are perhaps some sort of compiling or priority options in LabView.
    Well I'm happy since my problem is now fixed, I just need to get a little more RAM now.

  • Slow Performance on QueueReciever.recieve() + MQ

    Hi,
    I have been wrecking my brains around this pickle for the last week or so and would appreciate any assistance I could get here.
    Problem Description: Incredibly slow performance when invoking a QueueReciever.recieve() connecting to MQ server version 6
    Benchmarks: 100-900ms per invocation
    Configuration:
    JVM: WS 6's own
    MQ: 6.0
    Application Server: WAS 6
    Managed resources: Queue Connection Factory (queues are dynamically created)
    Runtime artifacts: QueueConnectionFactory, QueueConnection, QueueConnection, QueueSession, QueueSender,
    QueueReciever, TextMessage, in Queue out Queue
    Scenario:
    QueueSender created
    QueueReciever created using a MessageSelector filtering on JMSCorrelationID
    Message is sent to the in queue using QueueSender, embedded with a JMSCorrelationIDImmediately after, a QueueReciever.receive() is invoked listening on the out queue
    Result: VERY slow return from the synchronous block on the receive().
    Given: reply message is put on the out-queue after about 40ms by 3rd party application.
    Again any assistance would be appreciated.
    Message was edited by:
    sg9aeee

    Hi Wietse
    Your RFC communication may be slow because limitations on the Gateway connection parameters.
    Please check the Gateway profile parameters, like max_conn, blocksize etc
    Thanks
    Yatin Bhatt

  • Please help! I should be getting much better performance! What am I doing wrong?

    Hi, there!
    I've recently started using After Effects CC and I am getting extremely poor performance, especially given my machine specs (or so I believe).
    Everything is very slow, including the actual software interface. Even with the Live Update switched off:
    - Moving components on the actual composition view is practically impossible: click, drag, wait about 15seconds, release click and it has moved somewhat in the general direction required, but not even to the place the mouse stopped.
    - Scrubbing doesn't work at all, even after the render bar on the timeview is already fully green.
    - Standard preview (spacebar) can never play at realtime. The only way to play footage at realtime is to use RAM preview (numpad 0), but even then it takes ages to render small parts (10seconds of footage, takes anywhere between 5 and 10 minutes).
    It's enfuriating! I am so convinced that my machine should perform SO much better than this!
    I have tried everything that I can think of and everything that I have found on this forum and others through out the internet. Spent the last week googling this issue and have not made much improvement!
    I have even checked the raytracker_supported_cards.txt file actually included the GeForce GTX 590. It does.
    Any help anyone can provide would be much appreciated, cos I am stumped. Many thanks!
    The following are the specs of my pc and the settings of my After Effects (relevant settings and settings I have changed from default):
    PC
    Components
    Comments
    Case
    Cooler Master HAF X
    PSU
    Silverstion ST1500 (1500W)
    Motherboard
    Asus Rampage IV Formula
    CPU
    Intel Core i7-3960X (6 physical /12 virtual cores) @ 3.3GHz
    CPU Cooler
    Noctua NH-D14 SE2011
    RAM
    4x4GB G.Skill Ripjaws
    GPUs
    2x Zotac Gefore GTX 590 3GB (4 physical GPUs with 1.5GB RAM each)
    Latest drivers installed
    SSD
    Crucial Technology M4 256GB
    Used for OS, Applications and AE cache
    HD1
    Seagate Barracuda 2TB SATAIII 7200RPM
    HD2
    Western Digital VelociRaptor HDD 10,000RPM
    Monitor
    Samsung SyncMaster 305T (2560x1600)
    OS
    Windows 7 Ultimate
    All up to date
    After Effects
    CC
    Updated to latest version 12.2.1
    After Effects
    Preferences Heading
    Setting
    Set to/
    Showing
    Comments
    General
    Allow Scripts to Write Files and Acces Network
    Ticked
    Don't think this has anything to do with it, but it is something I changed from the default values.
    Previews
    Adaptive Resolution
    1/8
    Show Internal Wireframes
    Unticked
    Zoom Quality
    Faster
    Color Management Quality
    Faster
    Previews/GPU Information
    Fast Draft
    Available
    Texture Memory
    1115MB
    Maximum allowed
    Ray-tracing
    GPU
    OpenGL version
    2.1.2
    Even though my GPUs (GTX590) are capable of OpenGL 4.4
    OpenGL Share Model
    3.0
    CUDA Driver Version
    6.3
    CUDA Devices
    4
    followed by "(GeForce GTX590, GeForce GTX590, GeForce GTX590, GeForce GTX590)"
    CUDA Current Usable Memory
    1150MB
    CUDA Maximum Usable Memory
    1500MB
    Display
    Harware Accelerate Comosition, Layer and Footage Panels
    Ticked
    Media and Disk Cache
    Enable Disk Cache
    Ticked
    Maximum Disk Cache Size
    60GB
    Cache Folder
    C:\AEcache
    Conformed Media Database Folder
    C:\AEcache
    Conformed Media Cache Folder
    C:\AEcache
    Write XMP IDs to Files Import
    Ticked
    Create Layer Markers from Footage XMP Metadata
    Ticked
    Video Preview
    Output Device
    None
    Auto-save
    Automatically Save Projects
    Unticked
    Memory & Multiprocessing
    Installed RAM
    16GB
    RAM reserved for other applications
    6GB
    RAM shared by AE
    10GB
    Reduce cahce size when system is low on memory
    Unticked
    Render Multiple Frames Simulatenously
    Ticked
    Only for Render Queue, not for RAM Preview
    Unticked
    Installed CPUs (processor cores)
    12
    CPUs Reserved for other applications
    6
    RAM allocation per background CPU
    1.5 GB
    Acutal CPUs that will be used
    6
    Other Options
    Pixel Correction
    OFF
    Fast Preview
    Adaptive Resolution
    Have played with it in Fast Draft too, but rendering was quicked on Adaptive Resolution.
    This is because for A.R. it uses multiprocessing, but for Fast Draft M.P. is disable (incompatible mode, it says).
    Renderer
    Classic 3D
    Thanks again!

    Hi, Mylenium,
    Thanks for your prompt reply, I'm afraid it hasn't helped. I don't see anything wrong in my device manager.
    I have also gone and updated every driver, especially the motherboard chipset and the Sata Intel Rapid Storage Technology driver.
    Unfortunately, this hasn't made any difference.
    Any other suggestions?
    Many thanks in advance!
    Hugo

  • BC_MSG slow performance

    I experience slow performance in a SAP PI 7.1EHP1 SP05 installation. The BC_MSG table contains about 550.000 messages. I archive and delete message that are 10 days old. The environment is Redhat Linux 5.5 64bit with 16GB RAM and oracle 10.2.0.4.<br>
    <br>
    The problem is when I want to query all message containg error in the last 7 days or more. It needs about 5 minutes to respond and sometimes more that ends with request timeout from ICM. I shrink the tables, rebuild the indexes, restart the system many times, apply latest service pack (SP06) but the performance remains unchanged.<br>
    <br>
    The query that is executed is the following:<br>
    <br>
    <pre>
    SELECT "MSG_ID","DIRECTION","REF_TO_MSG_ID","CORRELATION_ID","SEQUENCE_ID",
      "SEQUENCE_NBR","CONN_NAME","MSG_TYPE","STATUS","TO_PARTY_NAME",
      "TO_PARTY_TYPE","FROM_PARTY_NAME","FROM_PARTY_TYPE","TO_SERVICE_NAME",
      "TO_SERVICE_TYPE","FROM_SERVICE_NAME","FROM_SERVICE_TYPE","ACTION_NAME",
      "ACTION_TYPE","DELIVERY_SEMANTICS","SENT_RECV_TIME","TRAN_DELV_TIME",
      "SCHEDULE_TIME","PERSIST_UNTIL","TIMES_FAILED","RETRIES","RETRY_INTERVAL",
      "MSG_PROTOCOL","TRANSPORT","ADDRESS","CREDENTIAL","TRAN_HEADER",
      "VALID_UNTIL","NODE","ERROR_CODE","ERROR_CATEGORY","PP_USER","PP_HASH",
      "VERS_NBR","VERS_WAS_EDITED","PRIORITY_TYPE","PRIORITY"
    FROM
    "BC_MSG" WHERE "BC_MSG"."MSG_ID" IS NOT NULL AND ("STATUS" = :1 OR "STATUS" =
       :2) AND "SENT_RECV_TIME" >= :3 AND "SENT_RECV_TIME" <= :4 ORDER BY 21 DESC
    </pre>
    <br>
    Parameters:<br>
    :1 = 'FAIL'<br>
    :2 = 'NDLV'<br>
    :3 = 2011-03-01 08:06:02.34 (example)<br>
    :4 = 2011-03-02 08:06:02.34 (example)<br>
    <br>
    <br>
    This statement is executed for each day for the time interval I specify (e.g. 7 days of the week if the interval is 'Last 7 Days'). I don't know why they don't use one SQL for the specified interval.<br>
    <br>
    When I enable trace in the Open SQL monitor the execution time I see is very disappointing, about 22 - 46 seconds for each query. I also enable SQL trace in Oracle database and the results I get are the following:<br>
    <br>
    <pre>
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        0      0.00       0.00          0          0          0           0
    Execute      2      0.00       0.00          0          0          0           0
    Fetch        2     10.74      79.70      50473      62752          0           6
    total        4     10.74      79.70      50473      62752          0           6
    Misses in library cache during parse: 0
    Optimizer mode: ALL_ROWS
    Parsing user id: 32
    Elapsed times include waiting on following events:
       Event waited on                             Times   Max. Wait  Total Waited
       Waited  -
      db file sequential read                     50473        0.15         72.90
      SQL*Net message to client                       2        0.00          0.00
      SQL*Net more data to client                     1        0.00          0.00
      SQL*Net message from client                     2        0.00          0.00
    </pre>
    <br>
    The 'db file sequential read' is what worries me but I don't know what to do.<br>
    <br>
    Also I tried the same query using Db Visualizer and the jdbc jar file. The response was much better and the execution plan was different as you can see in sql trace results:<br>
    <br>
    <pre>
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.01       0.01          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        1      0.00       0.00          0          7          0           0
    total        3      0.01       0.01          0          7          0           0
    Misses in library cache during parse: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 32
    Rows     Row Source Operation
          0  SORT ORDER BY (cr=7 pr=0 pw=0 time=636 us)
          0   INLIST ITERATOR  (cr=7 pr=0 pw=0 time=487 us)
          0    TABLE ACCESS BY INDEX ROWID BC_MSG (cr=7 pr=0 pw=0 time=459 us)
          0     INDEX RANGE SCAN I_BC_MSG_STATUS_SENT (cr=7 pr=0 pw=0 time=347 us)(object id 96079)
    Elapsed times include waiting on following events:
       Event waited on                             Times   Max. Wait  Total Waited
       Waited  -
      SQL*Net message to client                       2        0.00          0.00
      SQL*Net message from client                     2        0.18          0.19
    </pre>
    <br>
    The I_BC_MSG_STATUS_SENT index that scans is the index using the columns STATUS, SENT_RECV_TIME I created to see if performance is better.<br>
    <br>
    Generally the system works fine. I handles 50.000 messages per day with no delays. But the monitoring performance is annoying. I need your expertise on that.<br>

    You, also, have waaaay too many user startup/Login items.
    You need to pare these down to the apps you really need to have launched at startup and running in the background.
    Add or remove automatic items
    Choose Apple menu > System Preferences, then click Users & Groups.
    Select your user account, then click Login Items.
    Do one of the following:
    Click Add below the list on the right, select an app, document, folder, or disk, then click Add.If you don’t want an item’s windows to be visible after login, select Hide. (Hide does not apply to servers, which always appear in the Finder after login.)
    Select the name of the item you want to prevent from opening automatically, then click Delete below the list on the right.
    You need to make sure to update all of your third party software if there are OS X Mavericks updates that can be applied.
    You may need to go the third party developers' websites if there are no updates through the Mac App Store.
    Make sure all of your Web browser Internet plugins, extensions and add-ons are updated to recent versions, also.

  • Very slow performance. Numbers is pokey, that's for sure.

    I'm mainly interested in using this thread to see how many others feel the same way; that Numbers is slow in general. At least on my machine it is. I get much better performance from the ancient MS Excel 2000 running in Windows XP via Parallels on the same machine. And XP is running in less than 400 megs of RAM!
    I know it's a 1.0 release, but scrolling, opening .csv files, formatting multiple columns, all are slower than my old MS Excel. Given that Parallels is not multi-core aware, is virtualized, is running an 8 year old version of Excel, and is running in less than half the available RAM, I really expected Numbers running natively to make a better showing for itself.

    Forget the unfair comparisons to excel, numbers can't even keep up with AppleWorks!
    I have a spreadsheet in Apple Works that I use to track revenue and profit for my business. I enter two numbers per day: Total Sales and Total Profit. There are 6 calculation columns that display 7 and 28 day running averages for sales, profit and margin each day. The spread sheet is about 1400 rows (one row per day). No special formatting, no formulas more complicated than if(), sum() and average().
    In Appleworks:
    Data entry: instant - as fast as I can type.
    Create a line chart on 6 columns and 1400 rows: 5 seconds
    Memory usage: 11 MB
    In Numbers:
    Data entry time: Spinning beachball for ~10 minutes after each keypress (yes, REALLY)
    Create chart: Unknown, maybe not possible. (Still waiting after 1 hour of spinning beach ball and 100% processor usage)
    Memory usage: 1009MB (yes, ONE GIG), plus 2GB VM file (!!!).
    I mean, how sad - ONE HUNDRED times more memory usage and over ONE HUNDRED tomes SLOWER. Absolutely terrible. If I were the engineer on this project I would be absolutely ashamed of the performance.

  • CS5 or Pc  Slow performance?

    Hi there,I have a problem with my pc at work and because I am not quite sure in which one is exactly the problem I decide to ask you.The pc is intel pentium 4 with 3 Gb Ram  XP professional service pack 3 Photoshop CS 5.
    The pc is connected to server(data base).When I open a bunch of photos (20-30) approximately 8 - 12 MB each one and sometimes I experience a slow performance(for example I am trying to retouch/clone something and it takes a lot of time for the pc to redraw/respond) the interesting part is that it doesn't happen always(sometimes can be even 3 photos and it will take ages to do something) also I notice that after appr. 20 minutes it's suddenly start to work as it should normally(it's like there was an update and when is updated/complete everything is fine).When that start to happen today I restart CS5 and load the same photos and it work fine, so it is really bizarre for me.I put a 89% ram usage to the CS5(I pretty much use only all the time Photoshop and bridge )   also made the history steps to 7 and the cache to 6 for big and flat files.I was checking the Efficiency and it's all the time 100 % so it's like it's not the photoshop but like I said today i just restard the ps and upload the same photos and got fix...I tried to copy the photos on my hard drive(so it should not be affect of the performance of the server but still the same as when I take them straight from the server.Because the hard drive is only 80 gb ( I don't store anything there )   i did clean up and disk defragment still  the same situation.Do you know what can be the problem and is it the Photoshop or the Pc?I'll appreciate it.
    Thank you  

    Could be that your PC is sometimes looking to check things on the server, and maybe the server or network is busy/bogged down and you PC gets caught in that cycle mess.....so,
    suggest next time you use Ps, set win performance monitor perfmon.exe or perfmon.msc ; setup to view graph of disk use and network activity and cpu usage.....then you may see/track a problem area.
    on win7, task manager does most of the same stuff

  • Publication slow performance issue in BO 4.0 SP04 WebI

    Hi,
    Publication of a report is taking around 4 hours in BO 4.0 sp04 WEBI and failing some times.
    same publication is taking around 1 hour in BO 3.1.
    More  details about existing publication setup:
    publication with many dynamic recipients and the destination is shared file system,format excel sheets.
    Normal report refresh is taking around 5 to 10 minutes.
    Known issue:
    We were trying to upgrade to newer versions to BO 4.0 SP08 but there was a problem during upgradation
    Several errors such as could not open file: <install
    dir>\InstallData\InstallCache\<package name> were found in the setup
    logs.
    After trying to find this file, we discovered that the InstallCache
    directory only contained 1 subfolder and this issue throwing an errors while upgrading to later versions.
    Is there any way to fix publication issue in BO 4.0 Sp04 publication slow perforce with out up-gradation to SP08?
    For up-gradation BO 4.0 SP04 to SP08  how to handle above mentioned installation cache issue?

    To get a good performance, you need proper server sizing and configuration in CMC. Follow the guidelines available in sap documentation to ensure the sizing is appropriate.
    You can have a dedicated APS for publication and allocate enough memory to it and then test the same. For details: http://wiki.scn.sap.com/wiki/display/BOBJ/Business+Intelligence+4.x+APS+%28Adaptive+Processing+Server%29+Service+Distribution

Maybe you are looking for

  • Is there an app or service that will allow me to monitor / find / lock / wipe multiple Ipads each with a different Apple ID?

    We have started to provide IPads to some of our employees.  They will use their own Apple accounts for purchases, but we would like to be able to have Icloud type access in case of an emergency.  For example, we use Prey for our android phones.

  • Account hacked, now can't get a new account set up

    a week ago, my Skype account was hacked and used for international calls.  I contacted Skype, chatted with a cust services rep and was advised to completely close down that account and create a new one.  He suggested I have the account removed from S

  • How to parse xml file

    Hi, I am having an XML file which is having set of repeated tags like <gender> <male> <name>sk</name> <age>19</age> </male> <male> <name>raj</name> <age>20</age> </male> <male> <name>kris</name> <age>18</age> </male> </gender> Like this i am having t

  • Size of image from the CL_IGS_CHART_ENGINE

    Hello experts, I created a graph with the CL_GUI_CHART_ENGINE, and that worked fine. Now I need to save this graph as a picture. So I created a new object with the class CL_IGS_CHART_ENGINE, and I passed the same data and customizing into this object

  • Partial Syncing Issues

    I am having a problem with my iPhone 4s.  I can sync my music and my apps, but for some reason, it is not syncing my podcasts and movies anymore (it has worked in the past).  I have all the settings for syncing correct.  Can anyone help?