• Yorick Peterse's avatar
    Add missing index for getting recent push events · 590ed2ae
    Yorick Peterse authored
    This index is required to allow fast retrieval of recent push events
    without merge requests. Without this index in place the query would
    lead to PostgreSQL scanning over 150 000 index entries all the time,
    easily taking up between 200 and 500 milliseconds. This index
    reduces the time spent in this process to around 40 milliseconds on
    GitLab.com.
    590ed2ae
schema.rb 79.5 KB