Skip to content

PXB-3757 Document --check-tables feature in 8.4.0-6#475

Open
alina-derkach-oaza wants to merge 5 commits into
8.4from
PXB-3757
Open

PXB-3757 Document --check-tables feature in 8.4.0-6#475
alina-derkach-oaza wants to merge 5 commits into
8.4from
PXB-3757

Conversation

@alina-derkach-oaza
Copy link
Copy Markdown
Collaborator

No description provided.

	new file:   docs/innodb-btree-check.md
Comment thread docs/innodb-btree-check.md Outdated
Comment thread docs/innodb-btree-check.md Outdated
Comment thread docs/innodb-btree-check.md Outdated
	modified:   docs/innodb-btree-check.md
	modified:   docs/xtrabackup-option-reference.md
Comment thread docs/innodb-btree-check.md Outdated
Comment thread docs/innodb-btree-check.md Outdated
Comment thread docs/innodb-btree-check.md Outdated
Comment thread docs/innodb-btree-check.md Outdated
Comment thread docs/innodb-btree-check.md Outdated
@satya-bodapati
Copy link
Copy Markdown
Collaborator

We should also add a link to How to section.
How to "verify a backup"

  • we already some references to pt-table-checkusm
    we can add a new subtopic here (may be?):

[Side topic]

Ideally, I would love to see all workflows in howto section. ie duplicating some links.
currently they are in separate binary sections for xbcloud, xbstream etc. Specially the streaming/cloud backups part.

We already covered good number of Howtos.. the list in my mind so far (including what we have right now)

How to
take full backup
take inc backup
How to verify a backup
How to know the size of backup [new feature]
How to take partial backup (partitions should go heere)
how to prepare backups (full/incremental)
How to restore a full backup
how to restore to incremental backups
how to restore a single table
How to stream a backup to cloud
how to download a backup from cloud
How to stream backups to another hosts
how to encrypt
how to compress
how to setup replica from a backup
How to tune xtrabackup (advanced): --parallel, --encyrpt-threads, --compress-threads, --fifo-streams, --parallel in xbcloud,

Comment thread docs/innodb-btree-check.md Outdated
Comment thread docs/innodb-btree-check.md Outdated
Comment thread docs/innodb-btree-check.md Outdated
Comment thread docs/innodb-btree-check.md Outdated
Comment thread docs/innodb-btree-check.md Outdated
Comment thread docs/innodb-btree-check.md Outdated
Comment thread docs/innodb-btree-check.md
Comment thread docs/innodb-btree-check.md Outdated
Comment thread docs/innodb-btree-check.md
Comment thread docs/innodb-btree-check.md
Copy link
Copy Markdown
Collaborator

@satya-bodapati satya-bodapati left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks much much better Alina, thank you.

One minor comment. I will check in detail tomorrow.

Comment thread docs/innodb-btree-check.md Outdated
@satya-bodapati
Copy link
Copy Markdown
Collaborator

@alina-derkach-oaza linkinspector check is failing, please hceck if we have some broken links?

Comment thread docs/innodb-btree-check.md Outdated
Comment thread docs/innodb-btree-check.md Outdated
Copy link
Copy Markdown
Collaborator

@patrickbirch patrickbirch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok - after you fix one comment.

The validation process performs the following structural checks:

| Check | Detected condition |
|------|---------------------|
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is one important point that I missed. CHECK TABLE will also detect mismatches in the record count between the PRIMARY and Secondary indexes.

A non-corrupted secondary index should always have the same number of records as the PRIMARY index has.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't have a sample output, though.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@satya-bodapati

Do you mean CHECK TABLE or --check-tables?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Both - they use the same internal command

Comment thread docs/innodb-btree-check.md Outdated
Comment thread docs/innodb-btree-check.md
Comment thread docs/innodb-btree-check.md Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants