Skip to content

Commit

Permalink
docs: update api.md and radon_sql_support.md
Browse files Browse the repository at this point in the history
[summary]
Add some information.
[test case]
N/A
[patch codecov]
N/A
  • Loading branch information
zhyass authored and BohuTANG committed Mar 25, 2020
1 parent d08fd5e commit d61e453
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,7 @@ Request: {
"to-database": "Destination database", [required]
"to-table": "Destination table", [required]
"radonurl": "Radon RESTful api(default: http://peer-address)",
"rebalance": "Rebalance means a rebalance operation, which from table need cleanup after shifted(default false)",
"cleanup": "Cleanup the from table after shifted(defaults false)",
"mysqldump": "mysqldump path",
"threads": "shift threads num(defaults 16)",
Expand Down
16 changes: 16 additions & 0 deletions docs/radon_sql_support.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ Contents
* [RADON ATTACHLIST](#radon-attachlist)
* [RADON DETACH](#radon-detach)
* [RADON RESHARD](#radon-reshard)
* [RADON CLEANUP](#radon-cleanup)
* [Others](#others)
* [Using AUTO_INCREMENT](#using-auto-increment)

Expand Down Expand Up @@ -1260,6 +1261,21 @@ mysql> select * from new_tb;
2 rows in set (1.09 sec)
```

### RADON CLEANUP

`Syntax`
```
RADON CLEANUP
```

`Instructions`
* RADON CLEANUP can clean up the old data after shifted.

```
mysql> radon cleanup;
Query OK, 0 rows affected (0.13 sec)
```

## Others
### Using AUTO INCREMENT

Expand Down

0 comments on commit d61e453

Please sign in to comment.