cirton
V2EX  ›  问与答

两张千万级表关联查询实时返回结果,用 postgresql 可以实现吗?

  •  
  •   cirton · Oct 8, 2019 · 2344 views
    This topic created in 2584 days ago, the information mentioned may be changed or developed.

    两张表关联,其中一张一千八百多万,另外一张一千万左右。 两张表做关联查询,返回时间要控制在 3s 以内,这种情况使用哪种数据库比较合适呢? 现在使用的是 oracle 数据库,但是好像达不到要求。

    听说 postgresql 速度很快,可以实现上述要求吗?

    qnlrs
    qnlrs
    Oct 8, 2019
    1
    一次要查多少数据 ,范围查还是 in ? 看看具体的业务场景 不是换个数据库就搞定
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   3011 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 11:38 · PVG 19:38 · LAX 03:38 · JFK 06:38
    ♥ Do have faith in what you're doing.