V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
ai277014717
V2EX  ›  程序员

giturl 和 commit 键值对存数据库,怎么设计表查询效率比较好?

  •  
  •   ai277014717 · 2020-05-25 19:09:57 +08:00 · 648 次点击
    这是一个创建于 1430 天前的主题,其中的信息可能已经有所发展或是发生改变。

    id-url------------commit-time
    [email protected]...
    [email protected]...
    -.-....................-...........-...

    感觉这样存
    想要查询是否存在这个 commit 时
    每次都要筛选出来 相同 url 后一个一个 commit 比较。

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5663 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 01:41 · PVG 09:41 · LAX 18:41 · JFK 21:41
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.