V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
doudou1523102
V2EX  ›  问与答

数据库插入大量数据,有好的处理方式嘛?

  •  
  •   doudou1523102 · Nov 16, 2019 · 1834 views
    This topic created in 2355 days ago, the information mentioned may be changed or developed.

    面试的时候,问的较多的问题,如果数据库同时插入大量数据,怎么处理?

    1 replies    2019-11-16 16:43:38 +08:00
    FaceBug
        1
    FaceBug  
       Nov 16, 2019
    要看是什么数据啊,如果可以延时写入也没什么影响的,用消息队列。

    比如操作日志、爬虫采集的数据等等。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5910 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 02:28 · PVG 10:28 · LAX 19:28 · JFK 22:28
    ♥ Do have faith in what you're doing.