• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ask one question about web timeout

 
su jialin
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm a beginner to study JSP/Servlet, today I have a problem, I don't know the answer.

if I send a request to select data, the resultset is very big, about 20,000,000 rows, then do it return, or timeout ?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35279
384
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Su,
Welcome to JavaRanch!

The query is likely to timeout with the defaults, but it depends on your database CPU, memory and network speed. If you really need that much data, you can increase the transaction timeout to make it high enough to perform the query.

What are you doing with 20 million rows? Surely you aren't displaying them all to the user.
 
su jialin
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
now in our company, the information system is use powerbuilder 5.0 build,it's too old, therefore, we are ready to build a B/S system, but we're worry the data is very big, because now in our C/S system ,every query will return 20 to 20,000,000 rows, every time is 2 seconds to 30 minutes.
 
su jialin
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm sorry, I forget to thank you !!!
thanks: Jeanne Boyarsky
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35279
384
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Su,
You're welcome. Now I have a question

What do B/S and C/S stand for?
 
su jialin
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
dear Jeanne Boyarsky:
I come from China. In China, B/S means Browser/Server, C/S means Client/Server. I sure you are not a Chinese, but you are a good man.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic