Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Other Java > Java Databases
|
Java Databases Discussion specific to working with Java Databases. For other Java topics, please see related Java forums. For database discussions not specific to Java, please see the Database category.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Java Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 27th, 2006, 06:38 AM
Registered User
 
Join Date: May 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Performance bottleneck

Hi All,

I have 250000 records in the database table.
Problem statement is to display these to user.
What can be the best way this can be tackled and also there is no performance hit.

Thanks...

 
Old May 31st, 2006, 04:37 AM
Registered User
 
Join Date: May 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Any updates !!! Its definaltely very much related to architecture.

 
Old July 12th, 2006, 11:30 PM
Friend of Wrox
 
Join Date: Jan 2006
Posts: 198
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Use pagination to display them. Base the pagination start and end on an index in your database table. For example, if you have one million users, make sure you have a database row that's dedicated to counting from 1 to 1,000,000. Then make sure that row is an index, or even better, a primary key. When you do selects based on a primary key they will be very fast.

Jon Emerson
http://www.jonemerson.net/





Similar Threads
Thread Thread Starter Forum Replies Last Post
Performance prasanta2expert SQL Server 2000 6 December 15th, 2006 10:38 PM
Performance prasanta2expert ASP.NET 1.0 and 1.1 Basics 0 December 4th, 2006 04:24 AM
Table Performance mikericc Access 10 February 17th, 2004 02:39 PM
what is the best to do, better performance alyeng2000 ASP.NET 1.0 and 1.1 Basics 1 December 13th, 2003 07:56 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.