• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

ask one question about web timeout

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ?
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm sorry, I forget to thank you !!!
thanks: Jeanne Boyarsky
 
Jeanne Boyarsky
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic