To speed up the processing:
1. Analyze the WHERE clause of the SELECT statement and add indexes
2. Ask the DBA to refresh the statististics of the DB
Main Topics
Browse All TopicsI have deleloped a scrolling table (with horizonal and vertical scrollbars) using html, xsql, xsl, javascript, and ajax technology. I need to display very large tables (2,000-10,000 lines of data) some tables have around 20 columns. The problem is my code is too slow and the window seems to response slowly to anything the user tries to do in the window, like click on a button. It takes over 3 minutes for around 2,000 lines of data.
I am using JDeveloper 10.1.2 with Oracle 10g database on windows xp. Are there any build-in features availiable in JavaServer Faces or any thing else in JDeveloper that would help me with getting a scrolling table developed in a web page?
Any examples or documentation on this would be great. Or any other web sites which may have a tool that does this? We cannot use Active-X components.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
To answer OmegaJunior's question: Yes the customer wants all records to display in the scolling table but I guess it could get the records as the user scrolls down the table. They would like it to work like some of these desk top tools work: PowerBuilder, Oracle SQL Developer. Is it possible to do this in a web page?
What I was trying to say, is that even after all records are retrieved in the scrolling table, the web page works very slow. That is if the user wants to enter a value in a text box to do a search it takes awhile for the typed words to appear in the text box. What is going on here? I guess there is something I need to do but don't what it is.
It's the amount of data in the page that is slowing you down.
Any search script having to go through all that data is going to be slower than when the amount of data is small. Any browser rendering is going to slow down. Table rendering will be almost halted.
You need to break up the data into smaller chunks (a.k.a. paging). You can call up pages as needed, beit through clicking links (like Google search results) or though reinventing the scrolling mechanism to work like Excel.
One way would be to load the containing page with all functionality first, and add the data later on using some javascripted methods or simpler, some iframing.
perrycn:
My question above had a purpose. Your page may be slow to load for a couple of reasons
1) The query behind it is slow (and this is what schwertner is saying). If the query runs slow, you can do whatever improvements to the page you can think of and it will still load slow. In this case you need to improve the query response
2) The query is not slow - in this case it's the sheer amount of data that's causing the slowdown. The browsers are gonna struggle with 2000(+) x 20 tables even if it's just pure HTML. Add Ajax and other stuff to that and you're almost assured slow response times.
My suspicion is that you're dealing with #2 but you have to make sure that #1 is not the root cause.
Perrcyn,
In answer to your question about my iframe suggestion, I created an example with a relatively simple pseudo-scrollbar:
http://www.omegajunior.net
Might be too simple for what you wish to achieve, but might be a nice starting point.
Business Accounts
Answer for Membership
by: OmegaJuniorPosted on 2007-09-10 at 16:45:29ID: 19865109
Do you need to display all the records in one go? If not, maybe record paging might be your solution.