Regarding Imporving performance

Hi All
I am fetching data into a database table but in that table there is no primary key then how i can impove the performace .
can u please tell me step
Moderator message - Please see Please Read before Posting in the Performance and Tuning Forum before posting - post locked
Edited by: Rob Burbank on Jun 30, 2009 10:26 AM

Be more specific when posting a question.
Tell us the scenario and the tables involved in your program.
Always have a habit of searching the forum before posting a question.
Regards
Karthik D

Similar Messages

  • Regarding Reports performance

    Hi All,
    Now i am working in Production system.
    How can i check the performance for reports.
    How can i find the report performance is low/high?
    Please let me know the details.
    Thanks
    Vasu.

    Hi Vasu,
    Use the search on the word  "performance", you will got lot of answers which are related to queries.
    There are lot of factrors involved regarding query performance :
    1. Install BW stats and analyze the queries
    2. Option of using aggregates is a good idea to consider
    3. you can multi providers to do reporting for better query performance
    4. Query Read Mode - Read when navigating and expanding hierarchies
    5. Check if indices under ORACLE are degenerated. OSS Note 323090
    OLAP Cache OSS Note # 456068
    Also take a look to the OSS Note 567746 'Composite note BW 3.x performance: Query & Web' in which you can find all the info required...
    Assign points if helpful
    Bye
    Dinesh

  • Regarding Vendor Performance....

    hii experts,
    I am working on Vendor Performance report and finding problem in it.pls tell how can i analyse Vendor Performance report . what is the purpose of it? tables used . if possible give sample coding for this .
    Any pointer will be highly appreciable..
    Thanks in advance,
    Ashok

    Hi Ashok,
       I have worked on Vendor performance and i am sending you
       the code as per your requirement.....
       Hope this will help you!!!!!!!!!!!!!!
    REPORT  ZVENDOR_PERFORMANCE.
    TABLES: lfa1, lfm1, j_1inewjcode.
    *STRUCTURES
    DATA: BEGIN OF wa_lfm1,
    lifnr LIKE lfm1-lifnr,
    ekorg LIKE lfm1-ekorg.
    DATA: END OF wa_lfm1.
    DATA: BEGIN OF wa_lfa1,
    lifnr LIKE lfa1-lifnr,
    txjcd LIKE lfa1-txjcd,
    adrnr LIKE lfa1-adrnr .
    DATA: END OF wa_lfa1.
    DATA: BEGIN OF wa_lfb1,
    lifnr LIKE lfa1-lifnr,
    bukrs LIKE t001-bukrs.
    DATA: END OF wa_lfb1.
    DATA: it_lfa1 LIKE wa_lfa1 OCCURS 10 WITH HEADER LINE,
    it_lfm1 LIKE wa_lfm1 OCCURS 10 WITH HEADER LINE.
    DATA jcode LIKE j_1inewjcode-txjcd.
    DATA count TYPE i.
    DATA: new_lfa1 LIKE wa_lfa1 OCCURS 0 WITH HEADER LINE.
    DATA : it_adrc LIKE adrc OCCURS 10 WITH HEADER LINE.
    DATA : bukrs LIKE t001-bukrs, porg LIKE t024e-ekorg.
    DATA: it_lfb1 LIKE wa_lfb1 OCCURS 10 WITH HEADER LINE.
    SELECTION-SCREEN BEGIN OF BLOCK block1 WITH FRAME TITLE text-001.
    PARAMETERS:
    p_bukrs LIKE t001-bukrs OBLIGATORY,
    p_ekorg LIKE t024e-ekorg OBLIGATORY MEMORY ID buk.
    SELECTION-SCREEN END OF BLOCK block1.
    SELECTION-SCREEN BEGIN OF BLOCK block2 WITH FRAME TITLE text-002.
    SELECT-OPTIONS: p_lifnr FOR lfm1-lifnr.
    SELECTION-SCREEN END OF BLOCK block2.
    PARAMETERS: test AS CHECKBOX DEFAULT 'X'.
    AT SELECTION-SCREEN ON p_bukrs.
    SELECT SINGLE j_1ibukrs FROM j_1iindcus
    INTO bukrs
    WHERE j_1ibukrs = p_bukrs.
    IF sy-subrc <> 0.
    MESSAGE e128(8i).
    ENDIF.
    AT SELECTION-SCREEN ON p_ekorg.
    SELECT SINGLE ekorg INTO porg FROM t024e
    WHERE ekorg = p_ekorg
    AND bukrs = bukrs.
    IF sy-subrc NE 0 .
    MESSAGE e015(me) WITH p_ekorg space.
    ENDIF .
    *-------header print.
    TOP-OF-PAGE.
    NEW-LINE NO-SCROLLING.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    WRITE : / ,
    05 'Vendor', "#EC NOTEXT
    22 'New Jud Code'." 38 'Old Jud code'.
    FORMAT COLOR OFF.
    NEW-LINE SCROLLING.
    START-OF-SELECTION.
    Get the dummy Jur Code
    SELECT SINGLE txjcd FROM j_1inewjcode
    INTO jcode
    WHERE aland = 'IN'.
    IF sy-subrc <> 0.
    MESSAGE e000(8i) WITH 'Jur code not defined in Table J_1INEWJCODE'.
    ENDIF.
    CHECK for lfB1 if the customer exists for company code
    SELECT lifnr bukrs FROM lfb1 INTO TABLE it_lfb1
    WHERE
    lifnr IN p_lifnr
    AND bukrs = p_bukrs.
    IF sy-subrc <> 0.
    MESSAGE e000(8i) WITH 'No vendors defined for company code'.
    ENDIF.
    Check if vendor defined for purchasing
    SELECT lifnr ekorg FROM lfm1 INTO TABLE it_lfm1
    FOR ALL ENTRIES IN it_lfb1[]
    WHERE lifnr = it_lfb1-lifnr
    AND ekorg = p_ekorg.
    Get data from General data of vendor master
    IF sy-subrc <> 0.
    MESSAGE e000(8i) WITH 'No Vendors defined for purchasing organization '.
    ENDIF.
    SELECT lifnr txjcd adrnr FROM lfa1 INTO TABLE it_lfa1
    FOR ALL ENTRIES IN it_lfm1[]
    WHERE lifnr = it_lfm1-lifnr.
    SORT it_lfa1 BY txjcd.
    DELETE it_lfa1[] WHERE txjcd = space.
    SELECT * FROM adrc INTO TABLE it_adrc FOR ALL ENTRIES IN it_lfa1
    WHERE addrnumber = it_lfa1-adrnr.
    CLEAR count.
    LOOP AT it_lfa1.
    IF test <> 'X'.
    UPDATE lfa1 SET txjcd = jcode
    WHERE lifnr = it_lfa1-lifnr.
    ENDIF.
    count = count + 1.
    WRITE : / , 5 it_lfa1-lifnr, 25 jcode.
    ENDLOOP.
    LOOP AT it_adrc.
    IF test <> 'X'.
    UPDATE adrc SET taxjurcode = jcode
    WHERE addrnumber = it_adrc-addrnumber.
    ENDIF.
    ENDLOOP.
    IF test <> 'X'.
    WRITE : / 'The No of Vendor Master updated with new Jur Code is:',
    count.
    ENDIF.
    <u><i><b>"Kindly reward points if answer is useful"</b></i></u>
    Regards,
    mandeep.

  • Regarding the performance in report

    Hi Abap Gurus,
                              i am working on the report. my requirement is that after executing the report data gets extracting after 11 hours.the required data is comonf perfectly.  how to improve the performance. any tips to follow the performance in the report.  if possible post the code.
    Moderator Message: Please search the forum for available information.
    Edited by: kishan P on Oct 19, 2010 4:50 PM

    Hi,
    Please check below thread;
    Extract from ALV List
    Regards
    Jana

  • Regarding Application Performance

    Hi,
    I am developing the application using JSF Framework. For AJAx functionality I used a seperate servlet and for some other purpose I want to create one more servlet. Is there any problem in Performance if we keep on creating servlets in the application.
    I need a suggestion regarding the number of servlets we can create in an application, so that the performance of the application can't be get down.

    Try google.
    However for the most part the performance is not related to the application/web server that you use.
    It more depends on
    - the machine you are running it on
    - what code you are running on it.
    With regards to "best", you can debate that forever.
    Tomcat is widely used, mainly because it is free. But it is solid.

  • Regarding Query Performance.

    Please tell me ..
    How can i check the performance of query using index and without using index?

    Hi,
    As deepak said, query with and without index.
    to get the cost and access path of the query get explain for the query. Read the Oracle docs
    [http://download.oracle.com/docs/cd/B19306_01/server.102/b14211/ex_plan.htm]
    It is common to all the version from 9i as far as I know.
    do
    SQL> set autotrace on
    SQL> run your query
    you will get the explain plan and cost information in the sql prompt if the statistis_level is set to typical or all
    Regards,
    Vijayaraghavan K
    Edited by: Vijayaraghavan Krishnan on Jan 18, 2010 4:24 PM

  • Regarding the performance comparision of application/web servers

    i want the details of performance comparision of application/web servers and which is the best, efficient and easy to use.

    Try google.
    However for the most part the performance is not related to the application/web server that you use.
    It more depends on
    - the machine you are running it on
    - what code you are running on it.
    With regards to "best", you can debate that forever.
    Tomcat is widely used, mainly because it is free. But it is solid.

  • Regarding SD_ORDER_CREATE, performance issue.

    Hi All,
    I have a requirment where in I need to simulate the sales order based on customer and material combinations and get the pricing related data to send it across to the customers.
    I am using 'SD_ORDER_CREATE' or 'PRICING' function module to get the simulated prices.
    However in my case program might get run for 17000 customers and each customer needs be simulated against 60 materials. This is causing the preformance issues.
    basically we can not read the database tables for the prices, becasue simulation would be give us the exact pricing infomration. Hence use of function modules is must.
    Can anyone tell me the better solutions to improve the performance.
    Regards,
    Sanjay

    Please provide an updated status if a solution was found. I encountered the same concern while running ORDER_CREATE_WWW. I tried to use the SALEORDER_SIMULATE but it did not have all the fields required for my pricing determination.
    Why would the SIMULATION work better than the ORDERCREATE BAPIs?

  • Regarding calulation perform in alv

    hi,
    i have to perform some calculation in my alv but it is not working well.i am giving here example what i  am trying to do;---
       QTY        MRP      total
    2.000   1,200.00      2400
    2.000   1,200.00-     2400
    1.000   1,199.00-    1199-
    1.000   1,199.00     1199
    PERFORM FILLFIELD USING  'KUNNR' 'SAP CODE' '15'.
    PERFORM FILLFIELD USING  'NAME1' 'PARTY NAME' '18'.
    PERFORM FILLFIELD USING  'ORT01' 'LOCATION' '15'.
    PERFORM FILLFIELD USING  'VBELN' 'REF BILL' '14'.
    PERFORM FILLFIELD USING  'FKDAT' 'DATE' '12'.
    PERFORM FILLFIELD USING  'ZUONR' 'BILL NO' '12'.
    PERFORM FILLFIELD USING  'MATNR' 'MATERIAL' '18'.
    PERFORM FILLFIELD USING  'MAKTX' 'DESCRIPTION' '20'.
    PERFORM FILLFIELD USING  'FKIMG' 'QTY' '6'.
    PERFORM FILLFIELD USING  'KZWI5' 'MRP' '8'.
    PERFORM FILLFIELD USING  'KZWI3' 'DISCOUNT' '12'.
    here in perform fillfield i want to multiply mrp filed with qty
    Thanx/Regards,
    Vaneet Thakur

    Dear Vaneet,
    I think Total here you mention is nothing but the multiplication of MRP and Qty field.
    Is any thing more you required then elaborate in detail.
    Regards,
    VIjay

  • Regarding SQL performance Analyzer

    Hi,
    I am working on oracle 11g new feature Real application testing.I want to test the performance of DB after setting DB_BLOCK_CHECKSUM and DB_BLOCK_CHECKING parameters to TRUE(currently FALSE) by using SQL performance Analyzer. I have collected the SQL Tuning Sets from production and imported in Test server(replica of PROD), and will test the same in Test server only.
    Will it be feasible to check by using SPA ? My concern is that in Test environment concurrent transaction and DML operation will not be done .
    Please help me out on this .
    Rgds,
    At

    Hi,
    Look at http://download.oracle.com/docs/cd/B28359_01/server.111/e12253/dbr_intro.htm
    Regards,

  • Regarding Portal Performance

    HI friends:
       after some time running, Portal memory seems to be overflow, users can't log onto the
    system, error  says iviews couldn't be reached,  when restart server, everything recover,
    could you please tell me how release those memory which seems not to be released automatically
    thank you very much

    Hello ,
    You need to set JVM Parameter to collect the Heap Dump, Core Dump ,
    Add jvm parameters:
    -Xmx30m -XX:+HeapDumpOnOutOfMemoryError (SUN JVM) to limit the maximum to 30MB and
    trigger a heap dump when out of memory error occurred
    -Xdump:system:events=user,request=exclusiveprepwalkcompact for manually triggering of core dump
    Issues could be following,
    Long GC Pause Times for Class unloading times , High Paging in your system.
    Frquent Garbage Collection for Insufficient heap size for the nursery area & tenure area.
    Realu201D OOM, where a new allocation request can not be satisfied by the JVM.
    I will advise you to create an OSS Message for this issue and follow the instruction based on the issue.
    While there will be system hung situation , need to collect heap , core and thread dump from where you can start investigation.
    As result , you may need to upgrade your JVM / Change in JVM Parameter / Increasing Hardware resource.
    Regards
    Sumanta

  • Regarding the performance

    I had an application which consists of many forms and each form will have different form objects.. the values already there in the database for these form objects should be displayed to the user in a popup so that he can select the existing ones. There can be be 10 form objects for which the data should be displayed to the user, and for each form object there can be records in thousands.
    For this i have approached the following way:
    So as soon as the user clicks on the form, Based on the form objects fr which the data has to be displayed.. I am retrieving the first 1000 records ( if the records are more than 1000) for each form object and storing in the session and when user browses through all these records and clicks on the next then the next 1000 records i am fetching from the database and replacing the session with the new records. that is at any point of time there will be only 1000 records for the form object and like that there are 10 form objects.
    I am retrieving these records using the cursors within the cursor and sending to the java client. at the client end i am splitting these curosors into result sets.
    Right now i am success fully doing with above procedure..but my question is the procedure i am following is an ideal one or not. Is there any better way to do the above task. Suggestions are appreciated.
    Thanks for your time
    bye
    s

    This sounds like a similar situation described in Re: Getting the records from database in order which was posted last week. Perhaps if you read th eadvic ethere it might help.
    Incidentally, why do you think you may have a problem? If the thing is working then I suggest you leave it alone, until a user complains about performance (or it fails some predefined acceptance criterion). I know refactoring is a very popular concept but it is not always appropriate.
    Cheers, APC

  • Regarding video performance.

    Hi,
    I bought a MSI P7N SLI Platinum 750i chipset based motherboard Sn. 010B0807485693.  After 8 months the board would not post, i.e. no display on the monitor even though the Harddisk LED and the CPU fans would run.
    Handed over the motherboard to Microport, they sent it to Smartlink Network Systems Limited RMA Center N.R. Road Bangalore, I had to call up about 25 times to Smartlink and they took one month to give a replacement with the MSI P7N SLI Sn. 601-7380-010B0803214616. Got it on 18/9/2009.
    The motherboard which I got from Smartlink is much older, as can be seen from the serial numbers.  The video quality, i.e. clarity, color as well as frame rates are very bad compared to the original motherboard that I had.
    I now know that the original motherboard never had a problem, only the technician at the Microport, Bangalore shop had delibrately not plugged in the power cord for the 9600 gt graphics card and unnecessarily made me RMA my motherboard.
    I want to know if the older boards (of the same model i.e. MSI P7N SLI 750i platinum) used a different technology than the new motherboards have?
    Is there a way to improve the video performance on my computer with this older motherboard.
    Thanks.

    All I can say about it is that, as far as I know, the P7N you got back, shouldnt be slower then the one you send in, they should be identical in setup/build.
    I have the P6N platinum and the only difference between your and my board is that yours is able to run 45nm C2Q and has 2, I believe, PCIe 2.0 slots, where as I have 2 PCIe 1.1 slots.
    But that doesnt make mine a slow board either, with current setup, see my sig, I have 0 issues or performance problems.
    If you can, first try different videodrivers, be sure to delete old ones with drivercleaner or such.
    If that doesnt work, might try a fresh install on seperate disk/partition and see if that helps.
    But if performance still is bad, I would take it back, in my opinion you should not get an older/slower board back if you rma your new one.
     

  • Regarding Database Performance

    Hi All,
    I have installed *10gR2 on RHEL4 (4GB -- RAM, space is enough)*. One application (oracle ucm) is running on that. Its contains apache and content server. After 2-3 weeks, developers were saying taking long time for opening url. So done gather database statistics (after that daily gathering db stats using scheduler). After that, it was working fine. Again after week they are having the prob. They are doing lot of dml on db. Checked in os level using top command. But oracle ( installed entire application as oracle) user is not consuming that much memory. set pga_aggregate_target to about 500M. Sga (sga_max_size --- 950M) is auto tuning. db is of size 8GB. workarea_policy_size is auto.
    Please suggest any solutions for improving database performance.
    Thanks,
    Manikandan.

    daily gathering db stats using scheduler)Done by default on V10+
    Please suggest any solutions for improving database performance.Ready, Fire, Aim!
    Is any OS resource the bottleneck; CPU, RAM, IO, network?
    During slow period what is reported by AWR?
    Please read these:
    When your query takes too long
    When your query takes too long ...
    How to Post a SQL statement tuning request
    HOW TO: Post a SQL statement tuning request - template posting
    Edited by: sb92075 on Jul 27, 2010 10:01 AM

  • Regarding idoc performance

    Hi gurus,
    We use idoc adapter in our project, and most of them are inbound idocs.
    Some of these interfaces need to be processed realtime, while some of them are set sporadically in WE20.
    For realtime interface, we are worried about the performance, as you know each time one idoc only processes one piece of data, and most of standard idocs use 'call transaction' method. Do we have any solution or infrastructure to get a better performance?
    In your system, how many idocs will be generated one day? How many of them are realtime and how many are processed by job?
    In our system, we estimate there will be average 4000 idocs per day and 10000 idocs at peak. Is it ok for R3 4.7 system?
    Any help will be appreciated.

    hi,
    as per my knowledge , we need to use message pakaging/ idoc packaging(sender)  concept .
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30ea2fdf-f047-2a10-d3a2-955a634bde6b?QuickLink=index&overridelayout=true
    or
    please you ll refer bellow blog:
    IDOC performance for inbound materials
    thanks,

Maybe you are looking for

  • AUR for LibreOffice GIT (can't upload to AUR?)

    I have created a PKGBUILD for LibreOffice that builds from the GIT master branch, but the AUR won't allow me to upload it, so I'm putting it here. Source package: http://8bitboobs.com/stuff/libreoffice- … src.tar.gz PKGBUILD: # Maintainer: Maxwell Pr

  • Microphone doesn't work for Creative Live! Cam Socialize HD AF HD Webcam

    Microphone doesn't work for Creative Live! Cam Socialize HD AF HD Webcam (for Windows 7). I have to use external microphone from Logitech now. I send few emails to Customer Service. They answered once to check my Device Manager and disappeared after

  • Mail alerts

    In Mail (OS 10.3.9) there is, of course, the little red indicator on the dock icon showing there is mail in your mailbox and how many messages are there. Nice to be able to just look down and know there's mail by seeing the little red dot. However, i

  • Is the i7 13" Macbook Air capable of playing some basic games?

    I'm looking into possibly grabbing a 13" Macbook Air with the i7 1.7Ghz processort and was wondering if it's capable of playing some basic games that are out in the Mac App Store such as Angry Birds, N.O.V.A. 2, or even Grand Theft Auto: San Andreas?

  • Uninstall Oracle 10 G on Solaris 10

    Hi, I need to reinstall oracle 10G on my machine with same specifications. Can anybody please tell me how to uninstall oracle 10 G on solaris 10. important point is that i should be able to use the earlier sid. Thanks Vaurn Goyal