1. 18 10月, 2016 8 次提交
  2. 17 10月, 2016 4 次提交
  3. 14 10月, 2016 7 次提交
  4. 11 10月, 2016 7 次提交
  5. 10 10月, 2016 1 次提交
  6. 08 10月, 2016 2 次提交
  7. 07 10月, 2016 1 次提交
    • S
      Improve issue load time performance by avoiding ORDER BY in find_by call · aada0103
      Stan Hu 提交于
      The Sortable concern has a default scope that adds ORDER BY to all
      queries. EXPLAIN ANALYZE shows that this additional ORDER BY statement
      causes the SQL optimizer to use the wrong index, which leads to a load
      time of 2.9 s vs 0.073 ms just for the SELECT call. The minimal
      change here is to re-implement find_by using where and reorder to
      remove the ORDER BY clause in IssuesController#index.
      
      Closes #23075
      aada0103
  8. 06 10月, 2016 10 次提交