It's my belief that many people run into this problem: from a frontend JSP page, a user set up some criteria based on which a SQL is constructed and used to retrieve results from one or more database table(s). The issue is, this table grows by 1 mill per day and becomes gigantic.
I know there is not a definite answer to this question: how can we do to expedite this procedure? Indexing might be one (which I heard a lot but know little about), and another thing on my mind is to use some customized caching solution such as Gigaspace. Will Hibernate help in this case?
Anyone else wanna add their 2 cents?
Thanks a lot! John