File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes How much can a database bare? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "How much can a database bare?" Watch "How much can a database bare?" New topic

How much can a database bare?

Ramakrishna Nalla
Ranch Hand

Joined: Apr 21, 2005
Posts: 61
I am working with a web based application and iam using jsp along with mysql, my project includes displaying of information retrived from database...

My doubt is:
Will it effect the performance of server... if i retrive large amount of data from the data base. Or should i consider storing my data in flat there is not much quering need to be done on my data.

Thanks in Advance...
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
I think its fine to use Database. Just tune your database for reading stuff.

- Make indexes where needed.
- Dont pull out all the records in one shot, consider pagination instead.
- Tune your SQL queries.

- For code clarity and reusablity apply MVC Model 2 architecture.
- Database access code must be out of your JSP/Servlet.

I agree. Here's the link:
subject: How much can a database bare?
It's not a secret anymore!