In the process of establish earthquake catalogue service system,we use two pagination methods in web layer and database layer to implement showing catalogue as far as quickly. We tested the web response speed of the two methods.The result shows that the effi ciency of pagination in database layer is higher when processing large amount of data.%在搭建基于Django框架的地震目录服务系统过程中,为实现地震目录的快速展示,介绍了在We b服务层和数据库服务层进行数据分页的方法,并实测了两者的We b响应速度。结果表明:当数据量较大时,在数据库服务层实现分页的效率更高。
展开▼