title: 300 log Server need call the same database to figure out the missing Id in the log, what's the best way to do it?
body: <p>the context is: you have 300 log server which records some notification ID, but somehow some IDs are missed, so you have to query the single database to know what's the missing ID.</p>
  <p>Question: How can you do it using an efficient way?</p>