1. 29 3月, 2023 1 次提交
    • 羽飞's avatar
      thread-safe buffer pool and btree supported (#145) · 31fa2558
      羽飞 提交于
      Fix problem:
      1. the buffer pool and b tree is not thread safe;
      2. github/workflow/build does not work
      
      ### What is changed and how it works?
      1. thread-safe buffer pool
      - I use a mutex in buffer pool and take a lock in buffer pool operations
      such as allocate frame, dispose frame;
      - The frame is locked while updating/reading the content of frame;
      - Frame manager take a lock when allocate/free pages.
      
      2. thread-safe b+tree
      - Crabing protocol is used to support concurrent
      
      3. github/workflow/build
      - update the submodules;
      - create a build script and run build.sh in build.yaml
      31fa2558
  2. 28 1月, 2023 4 次提交
  3. 09 1月, 2023 1 次提交
    • 羽飞's avatar
      execute plan (#126) · 62af5129
      羽飞 提交于
      logical plan & physical plan;
      explain;
      yacc rewrite;
      join operator(nested loop join);
      simple rewrite rules;
      fix some issues of mysql protocol;
      62af5129
  4. 05 12月, 2022 1 次提交
    • 羽飞's avatar
      mysql communicator (#124) · e279dc7a
      羽飞 提交于
      tested by mariadb ( Ver 15.1 Distrib 5.5.65-MariaDB, for Linux (x86_64) using readline 5.1)
      but failed with obclient
      e279dc7a
  5. 17 10月, 2022 1 次提交
  6. 07 10月, 2022 1 次提交
  7. 20 9月, 2022 1 次提交
  8. 06 9月, 2022 1 次提交
  9. 01 9月, 2022 1 次提交
  10. 12 8月, 2022 1 次提交
  11. 11 7月, 2022 1 次提交
  12. 09 7月, 2022 1 次提交
  13. 08 7月, 2022 1 次提交
  14. 05 7月, 2022 1 次提交
  15. 03 7月, 2022 1 次提交
  16. 01 7月, 2022 1 次提交
  17. 28 6月, 2022 1 次提交
  18. 24 6月, 2022 1 次提交
  19. 21 6月, 2022 1 次提交
  20. 30 4月, 2022 2 次提交
  21. 15 4月, 2022 1 次提交
  22. 06 4月, 2022 1 次提交
    • 羽飞's avatar
      重构buffer pool (#33) · 10c78caf
      羽飞 提交于
      重构disk buffer pool:
      新增BufferPoolManager,管理所有的DiskBufferPool;
      原有DiskBufferPool只处理一个文件,取消其中file_id的概念;
      删除BPPageHandle,直接使用Frame;
      BPManager更名BPFrameManager;
      BPFileSubHeader改为BPFileHeader并直接放在DiskBufferPool中
      10c78caf
  23. 02 4月, 2022 4 次提交
  24. 30 3月, 2022 1 次提交
  25. 08 3月, 2022 2 次提交
  26. 17 2月, 2022 1 次提交
  27. 16 2月, 2022 1 次提交
  28. 13 2月, 2022 1 次提交
  29. 07 2月, 2022 1 次提交
    • L
      fixed 22, reimplement b+ tree · be6c2b45
      Longda 提交于
      Other improvement
      1. add code format file
      2. add gitignore
      3. add memory pool utility
      4. remove useless file mpool.h, index_manager.cpp/h
      5. rename the interface of disk_buffer_pool basing on the new mem_pool
      6. add some logs in db/table/disk_buffer_pool
      7. add unit test mem_pool_test/log_test/bplus_tree_test
      8. code format all modified files
      9. redefine the interface of table_meta
      10. change log's  full path as file name
      11. add utility function, print_callstack, remove warning of path
      be6c2b45
  30. 15 10月, 2021 1 次提交