Cache memory management apparatus having a replacement method based on
the total data retrieval time and the data size
    1.
    发明授权
    Cache memory management apparatus having a replacement method based on the total data retrieval time and the data size 失效
    具有基于总数据检索时间和数据大小的替换方法的缓存存储器管理装置

    公开(公告)号:US5787471A

    公开(公告)日:1998-07-28

    申请号:US814600

    申请日:1997-03-10

    IPC分类号: G06F12/12 G06F12/00

    CPC分类号: G06F12/121

    摘要: In a cache memory management device, a time measuring unit measures a time period required to obtain data from a database. The data obtained from the database is linked to the time information and both are stored in a data cache unit. If the data cache does not have sufficient room to store the data obtained from the database, a data replacement determination is made. In one embodiment, the data is replaced by referring to the total data access time. In a second embodiment, if a statistics processing unit judges that the access time and the size of each data are proportional to each other, then cache data is replaced by referring to the size information from a size calculation unit. If, however, the statistics processing unit judges that the access time and the size of each data are not proportional to each other, cache data is replaced by referring to the time information from the time measuring unit.

    摘要翻译: 在高速缓冲存储器管理装置中,时间测量单元测量从数据库获得数据所需的时间段。 从数据库获得的数据链接到时间信息,并且两者都存储在数据高速缓存单元中。 如果数据高速缓存没有足够的空间存储从数据库获得的数据,则进行数据替换确定。 在一个实施例中,通过参考总数据访问时间来替换数据。 在第二实施例中,如果统计处理单元判断每个数据的访问时间和大小彼此成比例,则通过参考来自大小计算单元的大小信息来替换高速缓存数据。 然而,如果统计处理单元判定每个数据的访问时间和大小彼此不成比例,则参考来自时间测量单元的时间信息来代替高速缓存数据。