Skip to content

Hackathon | Noobaa PGDB integrity and stat check#1493

Open
naveenpaul1 wants to merge 4 commits intonoobaa:masterfrom
tangledbytes:noobaa-hackathon-0
Open

Hackathon | Noobaa PGDB integrity and stat check#1493
naveenpaul1 wants to merge 4 commits intonoobaa:masterfrom
tangledbytes:noobaa-hackathon-0

Conversation

@naveenpaul1
Copy link
Copy Markdown
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

naveenpaul1 and others added 4 commits December 10, 2024 15:40
Signed-off-by: Utkarsh Srivastava <srivastavautkarsh8097@gmail.com>
@nimrod-becker
Copy link
Copy Markdown
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