Reputation: 1571
I have a Mysql database with 100 rows of data in a table. I have created a Java application (Swing) which displays the data in JList, but I am wondering if I load thousands of rows of data, The performance of the app will be reduced right?
If so what is the best way to display the data or query the data?
Thanks in advance.
Upvotes: 0
Views: 81
Reputation: 6089
You want to paginate the data, ths is easy to do with MySQL. Just use the LIMIT and OFFSET in the query.
Upvotes: 2