Leo*_*nce 0 database design-patterns hibernate derby web
Our Utilty has one single table, and it has 10 million to 50 million rows, There may be a case we need to show 50 million rows in a single page html client page, To show the rows in browser we use jQuery in UI.
To retrieve rows we use Hibernate and use Spring for MVC. I am looking for best practice in retrieving the rows and showing in UI. Should I retrieve a bulk of thousands rows or two thousand rows in Hibernate and buffer to Web Client or a best practice is there ?
最好的做法是不要这样做.它会爆炸浏览器内存和渲染引擎,并且会花费太多时间来加载.
将搜索表单添加到您的webapp,让最终用户搜索他感兴趣的内容,并且只显示N个第一个搜索结果,就像Google一样.
无论如何,没有人能够对5000万行进行任何有意义的事情.
| 归档时间: |
|
| 查看次数: |
2095 次 |
| 最近记录: |