How can I tune up WTK 2.5.2 performence except Preferences/Performance?

Hi
Is there a way to tune up WTK 2.5.2 performence? I've already checked the Preferences/Performance. I'm developing J2ME application which uses a lot of icons etc. generaly it works ok. However when it comes to the screens with icons, the emulator is very slow :(. How can i change that. Maybe add more RAM to the emulator or something. My app doesn't need to work on real device so optimalization and other concerns are out of the question.
Anybody knows the answer?
thx

Sorry, didn't see that part.
Anyway, in that case, you should profile your application to find out what part of your code is slow, and try to impove it

Similar Messages

  • How Can We Tune the Joins with "OR" Caluse ?

    Hi
    We've identified one Query in one of Our PL/SQL Stored Procedure which is taking huge time to fetch the records. I have simulated the problem as shown below. The problem Is, How can i tune the Jions with "OR" Clause. i have tried replacing them with Exists Caluse, But the Performance was not much was expected.
    CREATE TABLE TEST
    (ID NUMBER VDATE DATE );
    BEGIN
      FOR i IN 1 .. 100000 LOOP
        INSERT INTO TEST
        VALUES
          (i, TO_DATE(TRUNC(DBMS_RANDOM.VALUE(2452641, 2452641 + 364)), 'J'));
        IF MOD(i, 1000) = 0 THEN
          COMMIT;
        END IF;
      END LOOP;
    END;
    CREATE TABLE RTEST1 ( ID NUMBER, VMONTH NUMBER );
    INSERT INTO RTEST1
    SELECT ID, TO_NUMBER(TO_CHAR(VDATE,'MM'))
    FROM TEST ;
    CREATE TABLE RTEST2 ( ID NUMBER, VMONTH NUMBER );
    INSERT INTO RTEST2
    SELECT ID, TO_NUMBER(TO_CHAR(VDATE,'MM'))
    FROM TEST;
    CREATE INDEX RTEST1_IDX2 ON RTEST1(VMONTH)
    CREATE INDEX RTEST2_IDX1 ON RTEST2(VMONTH)
    ALTER TABLE RTEST1 ADD CONSTRAINT RTEST1_PK  PRIMARY KEY (ID)
    ALTER TABLE RTEST2 ADD CONSTRAINT RTEST2_PK  PRIMARY KEY (ID)
    SELECT A.ID, B.VMONTH
    FROM RTEST1 A , RTEST2 B
    WHERE A.ID = B.ID  
    AND ( (A.ID = B.VMONTH) OR ( B.ID = A.VMONTH ) )  
    BEGIN
    DBMS_STATS.gather_table_stats(ownname => 'PHASE30DEV',tabname => 'RTEST1');  
    DBMS_STATS.gather_table_stats(ownname => 'PHASE30DEV',tabname => 'RTEST2');
    DBMS_STATS.gather_index_stats(ownname => 'PHASE30DEV',indname => 'RTEST1_IDX1');
    DBMS_STATS.gather_index_stats(ownname => 'PHASE30DEV',indname => 'RTEST2_IDX2');
    DBMS_STATS.gather_index_stats(ownname => 'PHASE30DEV',indname => 'RTEST1_IDX2');
    DBMS_STATS.gather_index_stats(ownname => 'PHASE30DEV',indname => 'RTEST2_IDX1');
    END; Pls suggest !!!!!!! How can I tune the Joins with "OR" Clause.
    Regards
    RJ

    I don't like it, but you could use a hint:
    SQL>r
      1  SELECT A.ID, B.VMONTH
      2  FROM RTEST1 A , RTEST2 B
      3  WHERE A.ID = B.ID
      4* AND ( (A.ID = B.VMONTH) OR ( B.ID = A.VMONTH ) )
    Execution Plan
       0      SELECT STATEMENT Optimizer=CHOOSE (Cost=94 Card=2 Bytes=28)
       1    0   TABLE ACCESS (BY INDEX ROWID) OF 'RTEST2' (Cost=94 Card=1 Bytes=7)
       2    1     NESTED LOOPS (Cost=94 Card=2 Bytes=28)
       3    2       TABLE ACCESS (FULL) OF 'RTEST1' (Cost=20 Card=100000 Bytes=700000)
       4    2       BITMAP CONVERSION (TO ROWIDS)
       5    4         BITMAP AND
       6    5           BITMAP CONVERSION (FROM ROWIDS)
       7    6             INDEX (RANGE SCAN) OF 'RTEST2_PK' (UNIQUE)
       8    5           BITMAP OR
       9    8             BITMAP CONVERSION (FROM ROWIDS)
      10    9               INDEX (RANGE SCAN) OF 'RTEST2_IDX1' (NON-UNIQUE)
      11    8             BITMAP CONVERSION (FROM ROWIDS)
      12   11               INDEX (RANGE SCAN) OF 'RTEST2_PK' (UNIQUE)
    Statistics
              0  recursive calls
              0  db block gets
         300332  consistent gets
              0  physical reads
              0  redo size
            252  bytes sent via SQL*Net to client
            235  bytes received via SQL*Net from client
              2  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
              2  rows processed
    SQL>SELECT /*+ ordered use_hash(b) */ A.ID, B.VMONTH
      2    FROM RTEST1 A, RTEST2 B
      3   WHERE A.ID = B.ID  AND(A.ID = B.VMONTH OR B.ID = A.VMONTH)
      4  ;
    Execution Plan
       0      SELECT STATEMENT Optimizer=CHOOSE (Cost=175 Card=2 Bytes=28)
       1    0   HASH JOIN (Cost=175 Card=2 Bytes=28)
       2    1     TABLE ACCESS (FULL) OF 'RTEST1' (Cost=20 Card=100000 Bytes=700000)
       3    1     TABLE ACCESS (FULL) OF 'RTEST2' (Cost=20 Card=100000 Bytes=700000)
    Statistics
              9  recursive calls
              0  db block gets
            256  consistent gets
            156  physical reads
              0  redo size
            252  bytes sent via SQL*Net to client
            235  bytes received via SQL*Net from client
              2  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
              2  rows processed

  • We got 2 new iphones one for me and one for my mom i synced mine and it backed up, when i did my moms first sync everything got wiped out and it turned into my phone how can i undo this there is no back up except mine ios 5.0.1 iphone 4s

    we got 2 new iphones one for me and one for my mom i synced mine and it backed up, when i did my moms first sync everything got wiped out and it turned into my phone how can i undo this there is no back up except mine ios 5.0.1 iphone

    I have 3 iPhones and 3 iPod syncing without problems on one computer.
    Go to Settings > General > Reset > Reset All Settings.
    On your mum's iPhone go to Settings > General > About > Name - put in your mum's name so that iTunes can tell them apart.

  • How can I get my iPhone to be recognized in network preferences as it has recently disappeared? Running snow leopard on MBP with 5.1.1 on iPhone?

    I've been tether in my iphone to MBP via USB for a while.  Tried yesterday but my iphone no longer appears in network preferences.  How can I get the iphone to appear as a selection in network preferences?

    tmaag wrote:
    iOS looks for the strongest, fastest, most consistent connection.
    If that's not yours expect the other to come up first.
    Note even a 4G or LTE could be faster then a WiFi.
      if so it will default to that.
    Yes, thanks. Seems logical.
    But you know the annoying thing is... The really annoying thing, is that my network runs on a £250.00 Apple Time Capsule, but my neighbours runs on the free router he got with his broadband package...

  • How can i use Bi-Technical Content is used for measuring the performance of

    Hi
    recenetly i implemented the BI7.0 for one client. I want to know how to use 'BI Administraction Cockpit,.
    Actual what technical content does ???
    And how can i use technical content or statistics for measuring the performance of my queries. Please let me know
    kumar

    Hi Ravi,
    BI Admin Cockpit is enhancement of BW Statistics.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/44/08a75d19e32d2fe10000000a11466f/frameset.htm
    Check this thread also:
    BI Statistics comparision with the old
    Regarding the performance check the link below.
    Re: Query - Performance
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/15c54048035a39e10000000a422035/frameset.htm
    Regards,
    Anil

  • How can we change some value in OSB at runtime as Preferences in BPEL

    Hi all,
    What is the approach we have to use in OSB to implement Preferences ( where i can change value at run time without deploying again ) like in BPEL.
    Thanks
    Phani

    Thanks for the replay . I know they used for different purpose.i want to know how can we change anything in OSB at run time without redeploying the process again.
    simple scenario :
    Lets say i have a option in BPEL to change the Username/password if i set as Partner link parameters from BPEL Console . no need to redeploy the BPEL process .
    if i invoke the same service from OSB how can change the username/password without redeploying the OSB project.
    Thanks
    Phani

  • OT: How can we tune the search performance from the HTMLDB side?

    This might be not an issue that can be solved by HTMLDB itself. However, I'd like to give a shot because our HTMLDB apps are 'killing' the server, according to our DBA. One app I made is querying a 50 million records table, so everytime the query is fairly slow. Is there any way to tune the performance? Our DBA suggests using other tools like Discoverer or Orable Form to do the work of HTMLDB.
    Thanks for the inputs.
    Luc

    not OT.
    as noted, you need to determine which SQL statements are the culprit (various ways, your DBA should be very happy to help)
    but if you are using wizards that include a search field, you may be falling victim to some very inefficient SQL generated by HTML-DB/Apex, for instance (created by the application wizard for an application based on a table, creating a page with a report and a form):
    select
    "ID",
    "OBJECT_OWNER",
    "OBJECT_TYPE",
    "OBJECT_NAME",
    "TAB_COMMENTS",
    "OBJECT_CREATED",
    "OBJECT_MODIFIED",
    "USAGE_NOTES",
    "OBSOLETE_FLAG"
    from "DEV_TAB_COMMENTS"
    where
    instr(upper("OBJECT_OWNER"),upper(nvl(:P1_REPORT_SEARCH,"OBJECT_OWNER"))) > 0 or
    instr(upper("OBJECT_TYPE"),upper(nvl(:P1_REPORT_SEARCH,"OBJECT_TYPE"))) > 0 or
    instr(upper("OBJECT_NAME"),upper(nvl(:P1_REPORT_SEARCH,"OBJECT_NAME"))) > 0 or
    instr(upper("TAB_COMMENTS"),upper(nvl(:P1_REPORT_SEARCH,"TAB_COMMENTS"))) > 0 or
    instr(upper("USAGE_NOTES"),upper(nvl(:P1_REPORT_SEARCH,"USAGE_NOTES"))) > 0 or
    instr(upper("OBSOLETE_FLAG"),upper(nvl(:P1_REPORT_SEARCH,"OBSOLETE_FLAG"))) > 0
    which will do a full table scan no matter what search criteria you enter, and cannot be fixed on the database side -- sometimes SQL can be fixed with the creation of function-based-indexes( FBI), that won't work here.
    if your pages have such SQL, it needs to be rewritten to take advantage of indexes (FBI or otherwise)

  • My import takes days to complete..... How can I tune the import????

    I have several Peoplesoft CIS tables that I need to refresh to my dev/tst/wrk environments. Some of tables have millions of records. I can't take a subset of the data because the Peoplesoft CIS applications doesn't quite use relations properly.
    I export the tables.....
    Mark the indexes unusable in the env to be refreshed
    Truncate the tables in the env to be refreshed
    Then start my import.....
    This is where the problem starts... The export takes an hour and 45 min, where the import took 3 days and still didn't complete. The total size of the dump is 17,638,070 KB.
    Please help, or is there a better way....
    Cheryl Sewell
    Sr. Oracle DBA

    I export the tables......Mark the indexes unusable in the env to be refreshed
    Truncate the tables in the env to be refreshed
    Then start my import.....1)Import with rows=n indexes=n constraints=n
    2)Import with ignore=y indexes=n constraints=y or create the indexfile for indexes and create the indexes with parallel nologging.
    3)use Large buffer and commit=n
    [http://www.dba-oracle.com/oracle_tips_load_speed.htm]

  • How can I tune into a specific frequency on FM radio?

    I am using the 4S iphone and need to tune to various FM frequencies a the gym

    The iPhone has no FM receiver.
    Stedman

  • How can i tune this query?

    Removed the post because of a major logical flaw. Thanks to Boneist for his great idea.
    Edited by: user10633418 on Nov 20, 2008 3:21 AM

    I think I would try rewriting the query to turn the exists clauses into full joins, like:
    SELECT mph.MANIF_NBR AS A1,
           mph.SHPR_ID AS A5,
           mph.MANIF_TYPE AS A4,
           mph.LOAD_NBR AS A21,
           mph.STAT_CODE AS A7,
           mph.CLOSE_DATE AS A10,
           mph.SHIP_DATE_TIME AS A24,
           mph.UPS_PIKUP_NBR AS A9,
           mph.WHSE AS A2,
           mph.PIKUP_REC_NBR AS A8,
           manh_carr_type_for_manif_nbr(mph.WHSE,mpc.MANIF_NBR) AS A26,
           mph.UPS_PLD_UPLOAD_INDIC AS A28,
           'PARCELMANIF_CD' AS A29
    FROM   MANIF_PARCL_HDR mph,
           MANIF_PARCL_CARTON mpc,
           PARCL_SHPMT ps
    WHERE  mph.MANIF_NBR = mpc.MANIF_NBR
    AND    mph.MANIF_NBR = ps.MANIF_NBR
    AND    mph.WHSE = 'HAN'  
    AND    ps.CD_MASTER_ID IN (1001)
    ORDER BY MANIF_PARCL_HDR.MANIF_NBR ASC,
             MANIF_PARCL_HDR.MANIF_TYPE ASCand then compare how fast that runs and what the explain plan is, etc.

  • How can I tun my Macbook Pro into a wi-fi router? I have no airport/ethernet devices; I've airport utility though.

    I'm currently running Mac OS X 10.7.5 and I have no ethernet cable or airport devices. I have airport utility though. Is it possible to turn my Macbook into a wi-fi router under the current settings available?

    I think I've figured out a way to do so without any ethernet cable and it's working pretty well for me since then. Although every time I initiate wi-fi sharing from my Mac, it says doing so could actually disrupt my connection (see screen shots); but I'm yet to experiance any kind of breakdown/disruption of my internet connection.
    Anyway thanks for your answer and suggestions.

  • How can i get the name of the method or exception handle

    i just start to programm.
    i want to handle exceptions.
    there is a try catch procedure.
    i want that the catch procedures tells me which method has occured the exception.
    so i thought i could handle it like this
    public void getAllConstraints(Connection _conn){
    try{
    catch (SQLException e){
    handleException("SQLException", e);
    public void handleException(String exceptionName,
    Exception e){
    System.out.println(exceptionName + " occured in method " +
    GETMETHODENNAME);
    System.out.println("Exception name: ");
    System.err.println(e);
    the exceptionname should say for example SQLException, IOException or somthing like this.

    You can use the getStackTrace() method:
    StackTraceElement stack[] = new Exception().getStackTrace();
    // stack[0] is the current method
    // stack[1] is the calling method
    // etc.

  • How can I get sharing email option other Adobe Email under preferences?

    Using Photoshop lements 11 under Windows 8.1 OS. I can't get the option to use Outlook 2013 to work to send photos directly from Elements. Under Edit/sharing the only option I get is "Adobe Email Service", not Outlook nor any other email program for that matter.

    See this: <br />
    http://kb.mozillazine.org/Problems_printing_web_pages#Prints_to_a_small_portion_of_the_page

  • How can I restore my Windows Live Hotmail to its previous good performance?

    SAT P200-1FC
    All of a sudden I cannot reply to incoming emails or send attachments on my Windows Live Hotmail account. It works perfectly on my PC but not on this laptop. Have I pressed something in error? It will receive incoming emails, and I can send new emails but cannot continue a thread?

    Hi
    In my opinion its not a Toshiba notebook issue
    In your case I would recommend checking the configuration of your Hotmail account
    Maybe you have to change something I recommend checking the Hotmail user support page.

  • How can I fine tune the performance of my IMS5.1 mailserver?

    I installed the IMS5.1 on Solaris 8 with default parameters, without IDA. It is used as a mail relay. It seems to have/keep about 700 msgs in the tcp_local channel but none in the process channel. It uses the cpu very much, in my opinion too much (100% is no exception. It uses the swap file for only 30%. How can I tune the performance of my system. Don't laugh: the "server" is only a SUN Ultra 5 workstation.

    I've been working with this MTA since '95. Unfortunately there is no easy answer. The number of msgs in queue is not an indication of performance, it can be, but it can also be that the hosts your system is trying to reach are not available. You can use tools like imsimta qtop to see top subjects or top domains. Poke around and see just why you have 700 msgs in your queues.
    Channels like process or say conversion channel are internal while channnels like tcp_local deal with external systems. If you had mail backing up in the conversion channel then you'd have a good sign of local performance problems. Mail backing up in tcp_local is not necessarily a sign of performance problems on your end.
    I don't see a problem with the software using all available CPU. What is wrong with that?
    If you've made any changes to the configuration it could be that you have introduced something that is causing say a mapping process to loop and thus eat more CPU that would otherwise be normal.
    What process is using all of this CPU? Knowing this would help to determine what part of the MTA might be using lots of CPU.

Maybe you are looking for

  • Installing Photoshop Elements 3.0

    I cannot install Photoshop Elements 3.0 on my Windows Vista Home Premium laptop? Can anyone give me any ideas on how to accomplish this task?

  • RAID Controller for V890

    Hi, I was wondering if anyone can tell me whether there is a RAID controller available for V890 for its internal FC-AL hard disks. I've never seen a RAID controller for FC hard disks and my vendor claims that there is no RAID controller available for

  • Master Templates in FCP all gone Black

    The Master Templates (under Effects) in my FCP have all gone Black. But everything else under Effects are ok. What happened and how to I revive the Master Templates?

  • Unstable ip address

    I've had a B110 printer for 3 yrs and have had regular problems with it going off line, but usually easy to bring back on line again but a few months ago I changed to BT Infinity wireless router and I'm hardly ever able to print anything at all now.

  • Plantwise separate number range for Production order

    Hello SAP Expert,   I my project our client require plantwise number range for Production order,order Confirmation for indentifiction purpose .    Please give way to do this. Thanks in advance. Regards, Yogesh.