|
Subject:
|
Performance bottleneck
|
|
Posted By:
|
Neuron
|
Post Date:
|
5/27/2006 6:38:26 AM
|
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...
|
|
Reply By:
|
Neuron
|
Reply Date:
|
5/31/2006 4:37:23 AM
|
Any updates !!! Its definaltely very much related to architecture.
|
|
Reply By:
|
panacea
|
Reply Date:
|
7/12/2006 11:30:21 PM
|
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/
|