1. 26 Mar, 2021 3 commits
  2. 25 Mar, 2021 1 commit
  3. 15 Mar, 2021 2 commits
  4. 11 Mar, 2021 2 commits
  5. 01 Mar, 2021 1 commit
  6. 26 Feb, 2021 3 commits
    • Artyom Kartasov's avatar
      c71d4cff
    • Artyom Kartasov's avatar
      Merge branch '223-basic-clone-observability' into 'master' · 1b2e8d87
      Artyom Kartasov authored
      feat: basic clone observability (#223)
      
      To detect dangerous DDL and slow queries and describe reasons for it, DBLab should provide more data about DB migrations and EXPLAIN plans
      
      * [x] Add an additional mount point to store observation artifacts
      * [x] Define artifacts structure and provide artifact management
      * [x] Collect data during observation sessions and store observation results as files
        * dangerous locks detected (consider as an artifact)
        * duration in Lab
        * pg_stat_statements - as an “amount of work” - buffers read/hit/dirtied/written
        * pg_stat_\*\*\* standard views:
          * pg_stat_bgwriter (checkpointer, bgwriter, backend buffer stats)
        * DB and its objects sizes and changes (similarly to L001 in postgres-checkup)
        * dead tuples and bloat
        * summary
      * [x] Support a sequence of observing sessions
      * [x] Serve results via DLE API
        * [x] GET `/observation/results/{clone_id}/{session_id}` - returns a session summary
        * [x] GET `/observation/download?clone_id=c0r6id8hmvj2h60hff0g&session_id=1&artifact_type=pg_stat_statements` - download session artifacts
      * [x] Clean up artifacts when destroying a clone
      
      Closes #223
      
      See merge request !269
      1b2e8d87
    • Artyom Kartasov's avatar
      feat: basic clone observability (#223) · f32508e3
      Artyom Kartasov authored
      f32508e3
  7. 23 Feb, 2021 2 commits
  8. 20 Feb, 2021 2 commits
  9. 18 Feb, 2021 2 commits
    • Artyom Kartasov's avatar
      Merge branch '236-promote-instance' into 'master' · 30bbc0bf
      Artyom Kartasov authored
      fix: manage recovery options to speed up instance promotion progress (#236)
      
      # Description
      - set default recovery options if `restore_command` is specified
        ```
         "recovery_target":        "immediate",
         "recovery_target_action": "promote",
        ```
      - extract of dataStateAt during the promotion step regardless of the PGDATA state in order to have the actual value of dataStateAt
      - do not the override recovery options in the `postgresql.dblab.postgresql.conf` configuration file from the previous step because the `restore_command` option might have been lost and we cannot reach out to the consistent condition.
      - skip the config adjustment if recovery configuration is empty because it might lead to the failed promotion stage and non-working clones
      
      Closes #236
      
      See merge request !266
      30bbc0bf
    • Artyom Kartasov's avatar
      fix: do not override recovery options, check if restore_command is specified... · d9a078db
      Artyom Kartasov authored
      fix: do not override recovery options, check if restore_command is specified before the config adjustment
      d9a078db
  10. 15 Feb, 2021 2 commits
  11. 13 Feb, 2021 1 commit
  12. 12 Feb, 2021 1 commit
  13. 11 Feb, 2021 4 commits
  14. 10 Feb, 2021 2 commits
  15. 09 Feb, 2021 2 commits
  16. 08 Feb, 2021 5 commits
  17. 06 Feb, 2021 1 commit
  18. 05 Feb, 2021 4 commits