oxogenesis
V2EX  ›  数据库

问个看起来简单的问题

  •  
  •   oxogenesis · Aug 11, 2021 · 1046 views
    This topic created in 1833 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   ·   5831 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 03:31 · PVG 11:31 · LAX 20:31 · JFK 23:31
    ♥ Do have faith in what you're doing.