1. 01 Dec, 2014 1 commit
    • Sergei Petrunia's avatar
      EXPLAIN FORMAT=JSON: support SJ-Materialization · 753718c2
      Sergei Petrunia authored
      - Switch Explain data structure from "flat" representation of
        SJ-Materialization into nested one.
      - Update functions that print tabular output to operate on the
        nested structure.
      - Add function to generate JSON output.
      753718c2
  2. 29 Nov, 2014 2 commits
  3. 28 Nov, 2014 3 commits
  4. 27 Nov, 2014 3 commits
  5. 26 Nov, 2014 2 commits
  6. 25 Nov, 2014 1 commit
  7. 24 Nov, 2014 6 commits
  8. 23 Nov, 2014 1 commit
  9. 22 Nov, 2014 1 commit
  10. 21 Nov, 2014 2 commits
    • Sergei Petrunia's avatar
      Make testsuite to pass · 3c5ce8a0
      Sergei Petrunia authored
      - Drop all tables in explain_json.test
      - Tabular form should print ref='' when type='fulltext' (another peculiarity
        of the traditional EXPLAIN format)
      - String_list::append_str should allocate memory for \0, too
      - Some temporary code for EXPLAIN JSON and join buffering.
      3c5ce8a0
    • Sergei Petrunia's avatar
      Better comments · 305dd8e5
      Sergei Petrunia authored
      305dd8e5
  11. 20 Nov, 2014 4 commits
  12. 19 Nov, 2014 2 commits
  13. 17 Nov, 2014 1 commit
  14. 12 Nov, 2014 1 commit
  15. 11 Nov, 2014 1 commit
  16. 06 Nov, 2014 1 commit
    • Jan Lindström's avatar
      MDEV-6936: Buffer pool list scan optimization · a03dd94b
      Jan Lindström authored
      Merged Facebook commit 617aef9f911d825e9053f3d611d0389e02031225
      authored by Inaam Rana to InnoDB storage engine (not XtraDB)
      from https://github.com/facebook/mysql-5.6
      
      WL#7047 - Optimize buffer pool list scans and related batch processing
      
      Reduce excessive scanning of pages when doing flush list batches. The
      fix is to introduce the concept of "Hazard Pointer", this reduces the
      time complexity of the scan from O(n*n) to O.
      
      The concept of hazard pointer is reversed in this work. Academically
      hazard pointer is a pointer that the thread working on it will declar
      such and as long as that thread is not done no other thread is allowe
      do anything with it.
      
      In this WL we declare the pointer as a hazard pointer and then if any
      thread attempts to work on it, it is allowed to do so but it has to a
      the hazard pointer to the next valid value. We use hazard pointer sol
      reverse traversal of lists within a buffer pool instance.
      
      Add an event to control the background flush thread. The background f
      thread wait has been converted to an os event timed wait so that it c
      signalled by threads that want to kick start a background flush when
      buffer pool is running low on free/dirty pages.
      a03dd94b
  17. 05 Nov, 2014 1 commit
  18. 04 Nov, 2014 3 commits
  19. 03 Nov, 2014 3 commits
  20. 30 Oct, 2014 1 commit