1. 23 Jul, 2021 1 commit
  2. 23 Jun, 2021 4 commits
  3. 22 Jun, 2021 5 commits
  4. 21 Jun, 2021 1 commit
    • Marcin's avatar
      introducing authorization · 86b72fd7
      Marcin authored
      Two roles (groups ) are introduced: hived_group, hive_applications_group
      roles which inherit from hived_group must be used by hived process
      roles which inherit from hive_applications_group must be used by
      application
      86b72fd7
  5. 17 Jun, 2021 3 commits
    • Marcin's avatar
      improvments on db schema · 2a3de1cc
      Marcin authored
      2a3de1cc
    • Marcin's avatar
      change table registration method · 3564f252
      Marcin authored
      Instead of inherits from hive.base it is required to inherit from
      hive.<context_name> to register a table in a given context. Previously
      it was impossible to choose other context than last added, what was
      problematic in multithread evironment, when few applciations create
      contexts in different threads.
      3564f252
    • Marcin's avatar
      hive.context->hive.contexts · 16299dda
      Marcin authored
      16299dda
  6. 16 Jun, 2021 3 commits
    • Marcin's avatar
      rewind optimization: sperate rewind functions for each registered tables · c95f9a8d
      Marcin authored
      Avoiding EXECUTE format siginifically speeds up rewind, now is 3x faster
      than previously, but still 5x slower than fully optimized version.
      c95f9a8d
    • Marcin's avatar
      speeds up rewind by adding indexes · ac9474cd
      Marcin authored
      After adding indexes for 'hive_row_id' of registered tables
      rewind is faster 100x than previously, but still much slower
      than fully optimized algorithm.
      
      Adding indexes slows down edit operations from 20% to 80%(for massive delete).
      But still this are not siginificant absolute values.
      ac9474cd
    • Marcin's avatar
      new rewind algorithm · 2e48fadd
      Marcin authored
      Previous rewind alghorithm required to use only DEFFERABLE constraints
      even for CHECK, PK and UNIQUE contraints. It cannot be accepted since
      'ON CONFLICT DO UPDATE' won't work with DEFFERABLE constraints. Current
      algoritm, revert all operations one by one, is much more slower ( even
      400x slower), but do not requires DEFFERABLE constaints on a single
      tables. FOREIGN KEYs still need to be DEFFERABLE.
      2e48fadd
  7. 14 Jun, 2021 2 commits
  8. 11 Jun, 2021 1 commit
    • Marcin's avatar
      add application examples · fe5b4129
      Marcin authored
      non-forking and forking application in Python 3 added
      it turned out that function to check if context exists is required by
      the applications:  added hive.app_context_exists
      fe5b4129
  9. 10 Jun, 2021 5 commits
  10. 09 Jun, 2021 1 commit
  11. 07 Jun, 2021 1 commit
  12. 02 Jun, 2021 6 commits
  13. 01 Jun, 2021 2 commits
  14. 31 May, 2021 5 commits