Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hackathon | Noobaa PGDB integrity and stat check #1493

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

naveenpaul1
Copy link
Contributor

Explain the changes

  1. Integrity check for Noobaa PGDB​
    Verify Integrity of Noobaa md parts, chunks, fragments​
    Check only PGDB integrity, not the actual storage​
  2. Noobaa PGDB stat check​
    Check CPU\time consuming queries and number of query count

Issues: Fixed #xxx / Gap #xxx

  1. DB integrity related issues
  2. Identify bottleneck Queries in PGDB

Testing Instructions:

  1. nb diagnostics int-check --dump-data-map --namespace {namespace}​
    -- Return integrity issues count if any​
    -- dump-data-map flag dump data hierarchy map in JSON format
  2. nb diagnostics db-stat-prepare --namespace {namespace}​
    -- Create extension pg_stat_statements and rest metrics​

doc : https://ibm.ent.box.com/file/1722250034383

  • Doc added/updated
  • Tests added

@nimrod-becker
Copy link
Contributor

Feedback from the session:

  1. add an ability to get a key name (or list of keys) to analyze
  2. show only the problematic keys, if everything is ok, don't print

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants