-
Notifications
You must be signed in to change notification settings - Fork 678
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
*: Add tidb flags document #1
Merged
Merged
Changes from 1 commit
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
b575b81
*: Add tidb flags document
shenli 5e9ac82
op-guide: Add configuration docs in op-guide
shenli 8f42234
op-guide: Address comment
shenli 75868b9
*: Address comment
shenli 9ee0ec3
*: address comment
shenli 5ed4fe8
*: Address comments
shenli 6584a40
op-guid: Address comment
shenli aef2728
*: Address comment
shenli File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ TiDB/TiKV/PD are configurable through command-line flags and environment variabl | |
The default TiDB ports are 4000 for client requests and 10080 for status report. | ||
|
||
### --store | ||
+ Storage engine type | ||
+ the storage engine type | ||
+ Human-readable name for this member. | ||
+ default: "goleveldb" | ||
+ You can choose from "memory", "goleveldb", "BoltDB" or "TiKV". The first three are all local storage engines. TiKV is a distributed storage engine. | ||
|
@@ -18,34 +18,34 @@ The default TiDB ports are 4000 for client requests and 10080 for status report. | |
+ default: "/tmp/tidb" | ||
|
||
### -L | ||
+ The log level | ||
+ the log level | ||
+ default: "debug" | ||
+ You can choose from debug, info, warn, error, or fatal. | ||
|
||
### -P | ||
+ The listening port for TiDB server. | ||
+ the listening port for TiDB server | ||
+ default: "4000" | ||
+ TiDB server will accept MySQL client request from this port. | ||
|
||
### --status | ||
+ The status report port for TiDB server | ||
+ the status report port for TiDB server | ||
+ default: "10080" | ||
+ This is used to get server status. | ||
|
||
### --lease | ||
+ The schema lease time in seconds. | ||
+ the schema lease time in seconds | ||
+ default: "1" | ||
+ This is the schema lease time that is used in online schema changes. The value will affect the DDL statement running time. You cannot change it unless you understand the internal mechanism. | ||
|
||
### --socket | ||
+ The socket file for connection. | ||
+ the socket file for connection | ||
+ default: "" | ||
+ You can use the "/tmp/tidb.sock" file. | ||
|
||
### --perfschema | ||
+ Enable(1) or disable(0) the performance schema. | ||
+ enable(1) or disable(0) the performance schema | ||
+ default: "0" | ||
+ The value can be (1) or (0). (1) is to enable and (0) is to disable. If the value is set to be (1), the performance will be affected. | ||
+ The value can be (1) or (0). (1) is to enable and (0) is to disable. The Performance Schema provides a way to inspect internal execution of the server at runtime. See [performance schema](http://dev.mysql.com/doc/refman/5.7/en/performance-schema.html) for more information. If enable performance schema, the performance will be affected. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If you enable the performance schema, the performance will be affected. |
||
|
||
### $TIDB_PPROF environment variable | ||
+ An environment variable that is used to enable or disable the runtime profiling data via the HTTP server. The Address is at client URL + "/debug/pprof/". | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should not change it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should avoid using "should" in any technical documents. We can use either “must not” or "cannot".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about
Do not
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Much better!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PTAL @coocood