Response time low to display 2700 records

In my program , i have tried to display 2700 records from Database using JSP.
But the response time is very slow. How do i overcome this problem.
My architecture is
JSP - EJB - HelperClass - DB.

Find out where the performance bottleneck is
1) Database -> use PreparedStatements,
reuse an open database connection
2) JSP -> Check your string handling, use StringBuffer() for appending
lots of strings together
3) Network response -> Maybe try defining a static IP address for your
server
regards,
Owen

Similar Messages

  • Response times for apple displays

    Hi,
    am in the market for a 20-22" LCD monitor for our G4 machine. Sometime we'll upgrade the machine to a faster intel-mac. I have been hunting around for good deals on LCD's and while most other vendors seem to list their response times, I did not see them for the Apple displays. Any notes on where to find them?
    Also am looking at Dell and their response times seem quite slow (15-16 ms) for the 2007WFP or just the FP displays. While Samsung and a host of others are typically below 8ms. I do understand there are "tricky" ways of measuring these number, but 15-16ms seems pretty slow to me, and since my teen agers play a lot of games on the machine, seems like I should go for faster #'s.
    That said, any recommendations on other brands? Apple's are very pricey, but nice looking too.
    thx
    'mark

    m_ahienius,
    14 ms.
    See http://www.apple.com/displays/specs.html
    If you can afford a 23-inch display, go for it. I have owned both the 20-inch Apple LCD and the 23-inch. Bigger is better.
    The real question is "why do you care about response time?". It is only meaningful for watching movies and playing games. Not for "ordinary" work.
    ,dave

  • CRM_DNO_MONITOR field: initial response time

    Hi,
    In CRM_DNO_MONITOR we were able to see all the data except 'Initial Response time' of Service desk message.
    Kindly let us know, how to configure so that 'Initial Response time'  should be displayed in CRM_DNO_MONITOR.
    Thank you!

    Hello Jerome,
    understand better... sorry. Well unfortunately this value is not available in report CRM_DNO_SERVICE_MONITOR cause when you take a look to the structure used for the display table no field was created for that.
    If that's something YOU NEED to implemement: here is the procedure
    - do a structure append of CRMT_DNO_SERVICE_MONITOR to add field Initial Response Time - ZINITRESPTIME
    - Then Use Badi CRM_DNO_MONITOR to fill the column Initial Response Time for CRM_DNO_MONITOR Transaction
    In this Badi you can use Class: CL_DSMOP_REP_CRM, method:  get_first_react_time as done by SOLAR_EVAL.
    You should put a breakpoint in CL_DSMOP_REP_CRM->PREPARE_SIMPLE_OUTPUTLIST to see how standard handled that. That will definitely help u or the developer you might need
    Hope that helps,
    Regards,
    Khalil

  • Multiple records displayed on form at one time- 2 lines for each record

    Hello,
    I have a canvas in which I want to display 8 records at at time, so in the data block I specified 8 as the "number of records displayed" value.
    However, the record has too many fields to display on 1 vertical line, so I want to split the fields into two separate lines, so there will still be 8 records but each in two lines.
    How do I do that?
    I'm using Forms 10g. The block is a database block using FROM CLAUSE QUERY , and the canvas is stacked.
    Thanks

    Sandy,
    You will need to set the "Distance Between Records" property for each item in the Multi-Record Block. This will increase the space between rows so you can stack them into two rows. Unfortunately, you can't set this property at the block - so you have to set it for each displayed item.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • 12ms response time... is this rather slow for a high cost display?

    I was waiting to buy the new 27" display but now that it has been arrived at a cost of £899 in the UK I am looking at cheaper alternatives, accepting that cheaper will probably mean lower spec. I am surprised to find that many much lower priced displays from manufacturers such as LG, HP, and Samsung appear to have faster response times, for instance 2ms or 5ms, whereas the Apple display's response time is listed as being 12ms. I think I am correct in thinking that a lower response time means that fast action video looks better on screen, but this doesn't seem to make sense that such an expensive and high quality display as Apple's would be slower, so am I misunderstanding something here?
    What are the most important figures to take account of when looking at the spec of a good display?

    You can look at other manufactures. Their price is usually lower. I have a HP 24" with a IPS LCD screen. Apple doesn't have an exclusive on IPS screens.
    http://www.anandtech.com/show/3946/apple-27inch-led-cinema-display-review
    I see you are in the UK.
    This site is better.
    http://www.tftcentral.co.uk/reviews.htm

  • Display one record at a time

    i am trying to display one record from my database on my jsp page per time using next and previous buttons to navigate. I have tried to implement this by putting the resultset in a vector and then tried to tried to dispaly data with no success.Please somebody help ,i been at this for two days with no success.Could someone give a concreate example to guide me

    Please post all code, i dont know how to put my resultset in a vector or arraylist.
    I need a First Previous next and Last link in asp it is called recordset paging or recordset navigation.
    <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %>
    <%@ include file="Connections/connEvents.jsp" %>
    <%
    int index = 0; //or wherever you wish to start
    if((String s = request.getParameter("index")) != null)
    index = Integer.parseInt(s);
    %>
    <%
    Driver DriverrsEvents = (Driver)Class.forName(connEvents_DRIVER).newInstance();
    Connection ConnrsEvents = DriverManager.getConnection(connEvents_STRING,connEvents_USERNAME,connEvents_PASSWORD);
    //PreparedStatement StatementrsEvents = ConnrsEvents.prepareStatement("SELECT * FROM hog_evenementen", ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE);
    //StatementrsEvents.setFetchSize(10);
    //ResultSet rsEvents = StatementrsEvents.executeQuery();
    PreparedStatement StatementrsEvents = ConnrsEvents.prepareStatement("SELECT * FROM hog_evenementen");
    ResultSet rsEvents = StatementrsEvents.executeQuery();
    %>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <title>HD - Evenementen-beheer</title>
    <style type="text/css">
    <!--
    body {
         background-color: #333333;
    -->
    </style></head>
    <script>
    function post(actValue)
    document.MyForm.action.value = actValue ;
    document.MyForm.submit() ;
    </script>
    <body>
    <table width="60%" border="0" align="center" cellpadding="0" cellspacing="0" class="">
    <tr>
    <td><table width="100%" class="" border="0" cellpadding="6" cellspacing="0">
    <tr>
    <td width="175" align="center" valign="bottom" bgcolor="#FF6600" class="">Evenementen-beheer</td>
    <td bgcolor="#333333" class=""><span class=""><span class="formField">
    </span></span></td>
    </tr>
    </table></td>
    </tr>
    <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="6">
    <tr bgcolor="#61ABD0" class="verdana10zwart">
    <td width="4"> </td>
    <td width="512" height="29"> <span class="">Evenementenoverzicht</span></td>
    </tr>
    <tr bgcolor="#61ABD0" class="">
    <td> </td>
    <td><table width="100%" border="0" align="center" cellpadding="6" cellspacing="0">
    <tr class="">
    <td width="252" class="smallText">record 1 van 1 etc moet hier komen <br></td>
    <td width="231" align="left" class="smallText"><table width="50%" border="0" align="center">
    <tr>
    <td width="23%" align="center"> Firs </td>
    <td width="23%" align="center"> <a href="index.jsp?index=<%= (index-10)%>">Previous</a></td>
    <td width="23%" align="center"><a href="index.jsp?index=<%= (index+10)%>">Next</a></td>
    <td width="23%" align="center">Last</td>
    </tr>
    </table>
    <br>
    </td>
    </tr>
    <tr bgcolor="#CCCCCC">
    <td>Thema</td>
    <td>Datum</td>
    </tr>
                   <%
                   int rowCount = 0;
                   while(rsEvents.next() && rowCount < 10) {
              rowCount++;
                   %>
    <tr>
    <td><a href="event_crud.jsp?ID=<%= rsEvents.getObject(ID")%">"><%= rsEvents.getObject("thema")%></a></td>
    <td width="231"><%= rsEvents.getObject("datum")%></td>
    </tr>
                   <% } %>
    </table></td>
    </tr>
    </table></td>
    </tr>
    <tr>
    <td bgcolor="#CCCCCC"><form action="event_frm_process.jsp" METHOD="POST" name="MyForm" id="MyForm">
    <table width="100%" border="0" cellpadding="6" cellspacing="0" class="verdana10zwart">
    <tr bgcolor="#CCCCCC">
    <td width="9"> </td>
    <td colspan="2"><span class="kop1"><br>
    Evenement toevoegen </span><span class="formField"><br>
    </span><br>
    <span class="formField"> </span></td>
    </tr>
    <tr bgcolor="#CCCCCC">
    <td width="9"> </td>
    <td width="107" class="downBorder">Thema:</td>
    <td width="383" class="downBorder"><input name="thema" type="text" id="thema"></td>
    </tr>
    <tr bgcolor="#CCCCCC">
    <td width="9"> </td>
    <td class="downBorder">Omschrijving:</td>
    <td class="downBorder"><textarea name="omschrijving" cols="40" rows="10" id="omschrijving"></textarea>
                   </td>
    </tr>
    <tr bgcolor="#CCCCCC">
    <td width="9"> </td>
    <td class="downBorder">Datum:</td>
    <td class="downBorder"><input name="datum" type="text" id="datum"></td>
    </tr>
    <tr bgcolor="#CCCCCC">
    <td width="9"> </td>
    <td class="downBorder">Tijd:</td>
    <td class="downBorder"><input name="tijd" type="text" id="tijd"></td>
    </tr>
    <tr bgcolor="#CCCCCC">
    <td width="9"> </td>
    <td class="downBorder">Lokatie:</td>
    <td class="downBorder"><input name="lokatie" type="text" id="lokatie"></td>
    </tr>
    <tr bgcolor="#CCCCCC">
    <td width="9"> </td>
    <td class="downBorder">Plaatje:</td>
    <td class="downBorder"><input name="plaatje" type="text" id="plaatje"></td>
    </tr>
    <tr bgcolor="#CCCCCC">
    <td width="9"> </td>
    <td class="downBorder"> </td>
    <td class="downBorder"><input name="insert" type="button" id="insert" onClick="post('insert');return false;" value="Evenement toevoegen"></td>
    </tr>
    <tr bgcolor="#CCCCCC">
    <td width="9"> </td>
    <td>
                   <input name="action" type="hidden" class="" id="action" value="">
    <% while(rsEvents.next()){ %>
                   <input name="ID" type="hidden" class="" id="ID" value="<%=rsEvents.getString("ID")%>">
                   <%
                   %>
                   </td>
    <td> </td>
    </tr>
    </table>
    </form></td>
    </tr>
    </table>
    </body>
    </html>
    <%
    rsEvents.close();
    StatementrsEvents.close();
    ConnrsEvents.close();
    %></a>

  • MacBook display's video response time?

    Anyone know the MacBook's video response time?

    Apple doesn't publish response time, but generically speaking modern TN displays are right around 8 msec today. That would be my best guess for the MB display.

  • Explain plan - lower cost but higher response time in 11g compared to 10g

    Hello,
    I have a strange scenario where 'm migrating a db from standalone Sun FS running 10g RDBMS to a 2-Node Sun/ASM 11g RAC env. The issue is with response time of queries -
    In 11g Env:
    SQL> select last_analyzed, num_rows from dba_tables where owner='MARKETHEALTH' and table_name='NCP_DETAIL_TAB';
    LAST_ANALYZED NUM_ROWS
    11-08-2012 18:21:12 3413956
    Elapsed: 00:00:00.30
    In 10g Env:
    SQL> select last_analyzed, num_rows from dba_tables where owner='MARKETHEALTH' and table_name='NCP_DETAIL_TAB';
    LAST_ANAL NUM_ROWS
    07-NOV-12 3502160
    Elapsed: 00:00:00.04If you look @ the response times, even a simple query on the dba_tables takes ~8 times. Any ideas what might be causing this? I have compared the XPlans and they are exactly the same, moreover, the cost is less in the 11g env compared to the 10g env, but still the response time is higher.
    BTW - 'm running the queries directly on the server, so no network latency in play here.
    Thanks in advance
    aBBy.

    *11g Env:*
    PLAN_TABLE_OUTPUT
    Plan hash value: 4147636274
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 1104 | 376K| 394 (1)| 00:00:05 |
    | 1 | SORT ORDER BY | | 1104 | 376K| 394 (1)| 00:00:05 |
    | 2 | TABLE ACCESS BY INDEX ROWID| NCP_DETAIL_TAB | 1104 | 376K| 393 (1)| 00:00:05 |
    |* 3 | INDEX RANGE SCAN | IDX_NCP_DET_TAB_US | 1136 | | 15 (0)| 00:00:01 |
    PLAN_TABLE_OUTPUT
    Predicate Information (identified by operation id):
    3 - access("UNIT_ID"='ten03.burien.wa.seattle.comcast.net')
    15 rows selected.
    *10g Env:*
    SQL> select * from table(dbms_xplan.display);
    PLAN_TABLE_OUTPUT
    Plan hash value: 4147636274
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 1137 | 373K| 389 (1)| 00:00:05 |
    | 1 | SORT ORDER BY | | 1137 | 373K| 389 (1)| 00:00:05 |
    | 2 | TABLE ACCESS BY INDEX ROWID| NCP_DETAIL_TAB | 1137 | 373K| 388 (1)| 00:00:05 |
    |* 3 | INDEX RANGE SCAN | IDX_NCP_DET_TAB_US | 1137 | | 15 (0)| 00:00:01 |
    Predicate Information (identified by operation id):
    3 - access("UNIT_ID"='ten03.burien.wa.seattle.comcast.net')
    15 rows selected.
    The query used is:
    explain plan for
    select
    NCP_DETAIL_ID ,
    NCP_ID ,
    STATUS_ID ,
    FIBER_NODE ,
    NODE_DESC ,
    GL ,
    FTA_ID ,
    OLD_BUS_ID ,
    VIRTUAL_NODE_IND ,
    SERVICE_DELIVERY_TYPE ,
    HHP_AUDIT_QTY ,
    COMMUNITY_SERVED ,
    CMTS_CARD_ID ,
    OPTICAL_TRANSMITTER ,
    OPTICAL_RECEIVER ,
    LASER_GROUP_ID ,
    UNIT_ID ,
    DS_SLOT ,
    DOWNSTREAM_PORT_ID ,
    DS_PORT_OR_MOD_RF_CHAN ,
    DOWNSTREAM_FREQ ,
    DOWNSTREAM_MODULATION ,
    UPSTREAM_PORT_ID ,
    UPSTREAM_PORT ,
    UPSTREAM_FREQ ,
    UPSTREAM_MODULATION ,
    UPSTREAM_WIDTH ,
    UPSTREAM_LOGICAL_PORT ,
    UPSTREAM_PHYSICAL_PORT ,
    NCP_DETAIL_COMMENTS ,
    ROW_CHANGE_IND ,
    STATUS_DATE ,
    STATUS_USER ,
    MODEM_COUNT ,
    NODE_ID ,
    NODE_FIELD_ID ,
    CREATE_USER ,
    CREATE_DT ,
    LAST_CHANGE_USER ,
    LAST_CHANGE_DT ,
    UNIT_ID_IP ,
    US_SLOT ,
    MOD_RF_CHAN_ID ,
    DOWNSTREAM_LOGICAL_PORT ,
    STATE
    from markethealth.NCP_DETAIL_TAB
    WHERE UNIT_ID = :B1
    ORDER BY UNIT_ID, DS_SLOT, DS_PORT_OR_MOD_RF_CHAN, FIBER_NODE
    This is the query used for Query 1.
    Stats differences are:
    1. Rownum differes by apprx - 90K more rows in 10g env
    2. RAC env has 4 additional columns (excluded in the select statement for analysis purposes).
    3. Gather Stats was performed with estimate_percent = 20 in 10g and estimate_percent = 50 in 11g.

  • Using counters to record response time

    I am designing a Virtual ATM Simulator for aquired brain injury people. So, I want to record the response time to evaluate his mental condition. 
    Thanks in advance!!!

    So whats your problem?
    Tushar Jambhekar
    [email protected]
    Jambhekar Automation Solutions
    LabVIEW Consultancy, LabVIEW Training
    Rent a LabVIEW Developer, My Blog

  • Displaying one record at a time

    Is any body able to help me? I need to display one record at a time from a Select statement.
    Could I copy the results of the Select query from a table into an array for later display or is there a better alternative.
    Please, any part knowledge with regard to the above would be usefull.
    Regards
    Eddie

    What application do you want to use to display the data?
    You can use "rownum" in your SQL statement to ensure that you only get record N of a query. Asktom has a good article on this sort of windowing
    http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:127412348064
    More commonly, however, you'll write a SQL query that returns all the rows, fetch a small number, display those to the user, and then fetch more records.
    Justin

  • Response time of the new 24-inch iMac Core 2 Duo 3.06GHz display??

    Apple is not famous for documenting the response time of it's diplays, An exception is the new Apple LED Cinema Display (24" flat panel) which they list as 14ms.
    Does anybody know the response time of the new 24-inch iMac Core 2 Duo 3.06GHz display??

    Very nice, I've always wanted a bigger iMac and
    wondered why they didn't make one. I'm on a G5
    20inch now and it works 100% perfectly. BUt the 24
    incher is very compelling!
    Myself, never felt the need for a bigger one, the 20-inch is perfect for what I want it to do. Perhaps in the future...
    It's pretty obvious why a 24-inch was not offered sooner, as the retail price would have been too expensive to create enough demand to justify production.

  • New Display coming out with a higher contrast ratio & response time?

    Is there a New 30" or better Display coming out with a higher contrast ratio & response time?
    I'm very used to using crt monitors and the quality of the current 30inch is nice but blacks are not quite as black and colors are not as rich.
    Apple seems to be right on with what they have. Just hoping for an update to their displays soon.
    Thanks ahead for your reply.
    -Line

    Apple reseller in Sydney today said that new Apple HD displays are 6- 8 weeks away and that Apple is running down stocks of the existing displays.
    No idea of the veracity of this claim, just what I was told.
    2GHz dual G5, ATI X800 XT, 2 X 500Gb HD, LaCie D2 1Tb, 3.5Gb RAM , 23" HD Panel   Mac OS X (10.4.9)  

  • MBP 17" HD Screen - Low Response time

    Hello,
    I found that my mbp with 17" 1920x1200 screen have a very slow response time of its Screen. It is very obviously when viewing photo slide show, from dark color to bright color, even watching any motion video, look like a horizontal line will appear on anywhere of the screen. But it is totally problem when viewing on an external monitor with same resolution. Do any HDmbp owner have such problem ?
    thanks.

    Is there anyone has the same problem with me ? I want to figure out is that problem only happen on my mbp or everyone have. I will try to take it to repair if I am not the lucky one. But you know....repairing servies is nightmare in my country. Thanks.

  • "Windows 8 using 100% of HDD with high average response times and low read/write speed"

    Turns out this is a fairly well known windows 8.1 issue that has been plaguing users since at least 2013 and there is no one simple fix, so it may not be *entirely* hp's fault; but I've had two of these laptops, both the same model, the first one needing to be returned and exchanged for an entirely unrelated issue (hardware failure: ethernet port nonfunctional with lights stuck on). Both are refurbished. Both have been extreemly slow and unresponsive even compared to a lesser Brazos powered laptop I had before, but I've only recently decided to investigate why. 
    So if there is something HP specific going on here, I hope there is one simple fix. My average response time has gone up as far as well over a minute (>60,000ms), so I may be an outlier case here compared to the typical windows 8.1 hardrive responsiveness/bandwidth problem. 
    Edit: there is a case with another HP pavilion laptop (intel powered though, so it may be an intel storage driver issue described in the first link) being much, much worse.
    This question was solved.
    View Solution.

    Guess what just now happened again
     So using DISM did _not_ fix it.

  • High CPU response times, altough low CPU utilization

    Hi Friends,
    We have a performance problem after we migrate our basis system,
    The current system is :
    Database server : Sun SPARC Enterprise T5240 Server - 2 CPU's with 6 core, 8 thread, 1.2 Ghz
                               32 GB RAM
    and we use another identical configured server as an application server.
    Database is Oracle 10.2.0 and operating system is Solaris 10.
    The problem is average CPU response time is 450 ms, and max. CPU load is %5 percent.
    Pre-migration configuration with old servers, we had CPU response : 150 ms and max CPU load: 50%.
    Has anyone of you, have experinced a similar problem with this new CPU's?
    Thanks in advance

    > I am aware that there might be lots of reasons, but what I  guess is, there should be a parameter wrong with the CPU settings. This SPARC server CPU is a new tech. 6 core 8 thread one, which is expected to work much faster than the old simple dual core CPU.
    Is it?
    ABAP is basically a virtual machine and what is most important: ABAP runs single threaded. This means in consequence that the processing time of a program relies on the single processing power of one core. More cores means more parallelism but the speed of the single statement always relies on the power of one core and how fast it can get the data over the bus and back. So the significant number for speed is basically the Mhz (for ABAP, Java is very different).
    Your old machine may have had a DualCore SPARC 1,2 Ghz and the new machine has one 1,4 Ghz 6core CPU (assuming so).
    > However its response time is very high, although it is never utilized more than %5 percent.
    see above.
    > The problem might be at database settings(Oracle 10.2.0) or at Solaris ? ? ?
    Well - no - I don't think so
    Since ABAP is a single threaded application it can't leverage the CPU power due to the fact, that a parallelism in the program itself does not take place and hence the machine scales not linear with the number of cores. So you may have factually a machine with about 1 dot something CPUs and not 6 as you would expect.
    This is not specific to SPARC CPU design but for all multi-core systems. A single threaded application is only as fast as the CPU speed. ABAP programs tend to be huge so you will also see effects of cache displacement and bus congestions. Less cores and more physical CPUs perform much better than any multicore CPU.
    For Java the world is very different because Java works as one process (in the SAP case jlaunch) which has many many threads that can be executed in parallel on different pipelines on the CPU.
    Unfortunately this is a design problem and there's not much you can do about it.
    Markus

Maybe you are looking for

  • Auto release of Invoicing plan item when milestone actual date is entered

    Hi all, I wonder if anyone can help me on this.  I have configured the system to automatically release an invoicing plan in a PO once the milestone attached to that invoicing plan is confirmed in the project by entering the actual date.  For some rea

  • How to configure the maintenance item screen layout

    Hello experts, I need to configure Maintenance Item Screen layout . How do I do that? I checked in SPRO and could not find a place. Need to make some some fields as required. Thanks, Raneetha.

  • Support for Appletalk on the 526 controller (and others to)

    I have noticed that from version 4.2x the controller does not seem to pass appletalk traffic through to the wireless clients. I started to look around for some information but there are quite few resources for the 526. So i started to read the releas

  • StartupRepairOffline

    I am getting constant StartupRepairOffline problem Additional info: OS: 6.1.7600.16385 (win 7&64bit) Problem 04 signature: 21199452 (google shows NO results for this) 05 Signature: AutoFailover 06 signature differs: 8\13\ 07 signature: norootcause No

  • PSE5 To Bridge

    My computer crashed and I did not have a catalog backup. I used Elements 5 organizer and CS3 is my editor. Wish I had known I could transfer all of my catalog to Bridge before the crash. Is there a way I can retrieve my catalog from my old hard drive