Skip to content
Snippets Groups Projects
  1. Sep 06, 2024
    • Denis Smirnov's avatar
      feat: move to rust API for local SQL · 2c5217ff
      Denis Smirnov authored
      2c5217ff
    • Denis Smirnov's avatar
      feat: improve tarantool caching for motions · 3af5734b
      Denis Smirnov authored
      Previously we cached only the leaf sub-trees of the IR plan under
      the first level of motions. The problem was in temporary tables as
      we used random names for them and dropped after usage (and invalidated
      corresponding prepared statements as well). Now we use idempotent
      names for temporary tables and truncate them after usage. It allows
      us to keep prepared statements in the cache. One more thing: as we
      use the same temporary table for multiple queries, we need to use
      latch locks for the prepared statement cache. One day we'll switch
      to more granular locks (mostly for vinyl spaces), but let's use
      current approach for the start.
      
      We also removed can_be_cached flag from the code. Only DQL uses VDBE
      and needs caching, and all these queries can be cached. The only
      exception are the queries with Local and LocalSegment motion policies
      but only DML can have them. So, no need for this flag and let's make the
      code cleaner.
      3af5734b
  2. Sep 01, 2024
  3. Aug 30, 2024
  4. Aug 26, 2024
  5. Aug 22, 2024
  6. Aug 20, 2024
  7. Aug 12, 2024
  8. Aug 09, 2024
  9. Aug 08, 2024
  10. Aug 07, 2024
  11. Aug 06, 2024
  12. Aug 05, 2024
  13. Aug 02, 2024
  14. Jul 30, 2024
  15. Jul 14, 2024
  16. Jul 12, 2024
  17. Jul 10, 2024
  18. Jul 09, 2024
  19. Jul 08, 2024
  20. Jun 28, 2024
  21. Jun 20, 2024
  22. Jun 19, 2024
  23. Jun 17, 2024
  24. Jun 13, 2024
  25. Jun 10, 2024
  26. Jun 07, 2024
  27. Jun 05, 2024
  28. Jun 04, 2024
Loading