• Vladimir Shushlin's avatar
    Add metric for users associating milestones to releases · bf999ff0
    Vladimir Shushlin authored
    Also add index supporting this metric
    
    We need to include id and created_at fields in index to allow
    index only scans.
    Postgres will still filter rows, but at least it won't fetch
    data from heap. In my tests in #database-lab it was speeding up
    the query 1000 times.
    
    Changelog: added
    bf999ff0
usage_data.rb 48.5 KB