oxogenesis
V2EX  ›  数据库

问个看起来简单的问题

  •  
  •   oxogenesis · Aug 11, 2021 · 1024 views
    This topic created in 1806 days ago, the information mentioned may be changed or developed.
    sqlite 数据库
    设置了缓存数量为 1000,表内有一个字段标识该条记录是否为缓存 is_cache,按照 created_at 、view_at 两个字段排序,手动清理较旧的,1000 条开外的缓存记录。

    谢谢!
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3695 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 41ms · UTC 00:44 · PVG 08:44 · LAX 17:44 · JFK 20:44
    ♥ Do have faith in what you're doing.