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

Create system-database.md #201

Merged
merged 5 commits into from
Sep 27, 2017
Merged

Create system-database.md #201

merged 5 commits into from
Sep 27, 2017

Conversation

lilin90
Copy link
Member

@lilin90 lilin90 commented Sep 25, 2017

PTAL

@lilin90 lilin90 requested a review from QueenyJin September 25, 2017 03:54
category: user guide
---

The TiDB System Database is similar to MySQL, which contains tables that store information required by the server as it runs.
Copy link
Contributor

Choose a reason for hiding this comment

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

as -> when. MySQL uses "as" but it is not a good usage because "as" has other meanings.


### Grant System Tables

These system tables contain grant information about user accounts and the privileges held by them:
Copy link
Contributor

@QueenyJin QueenyJin Sep 26, 2017

Choose a reason for hiding this comment

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

the privileges held by them -> their privileges


### Statistics System Tables

- `stats_buckets`: the buckets of statistics information
Copy link
Contributor

Choose a reason for hiding this comment

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

statistics information -> statistics

### Statistics System Tables

- `stats_buckets`: the buckets of statistics information
- `stats_histograms`: the histograms of statistics information
Copy link
Contributor

Choose a reason for hiding this comment

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

ditto


- `stats_buckets`: the buckets of statistics information
- `stats_histograms`: the histograms of statistics information
- `stats_meta`: the meta information of tables, such as the total number of rows and modifications
Copy link
Contributor

Choose a reason for hiding this comment

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

modifications -> updated rows.


### Miscellaneous System Tables

- `GLOBAL_VARIABLES`: global system variable tables
Copy link
Contributor

Choose a reason for hiding this comment

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

tables -> table


- `stats_buckets`: the buckets of statistics
- `stats_histograms`: the histograms of statistics
- `stats_meta`: the meta information of tables, such as the total number of rows and updated rows

### GC Worker System Tables
## GC Worker System Tables

- `gc_delete_range`
Copy link
Contributor

Choose a reason for hiding this comment

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

From:maokangli: 记录了一些待删除的数据

@QueenyJin
Copy link
Contributor

Please add the doc to the readme file

@QueenyJin QueenyJin merged commit 74ce128 into master Sep 27, 2017
@lilin90 lilin90 deleted the system-database branch September 29, 2017 02:10
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.

2 participants