计算机科学 > 数据库
[提交于 2016年3月4日]
标题:Implementation of the fast table grid user interface element for working with large database tables
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Table grid user interface element with a vertical scrollbar is a standard way of working with database table records. There are two basic operations each grid should support: scrolling records with vertical scrollbar and positioning to a record with a given primary key. This paper addresses the case when the number of records is so large that it is not feasible to load them all into memory, and database functions like "select..offset" work insufficiently fast and put undue load on RDBMS. Our main idea is to use only queries that involve index lookup (a O(Log(N)-fast operation) and to use statistic properties of hypergeometric distribution to "guess" primary keys of records given their ordinal numbers. The proposed method allows us to implement a grid with O(Log(N))-fast scrolling and positioning performance.
提交历史
来自:Ivan Ponomarev[v1] 2016年3月4日 星期五 00:00:00 UTC