232
232
If the handle is clustered, specify the primary key column values in the query string
233
233
234
234
` ` ` shell
235
- $curl http://{TiDBIP}:10080/mvcc/key/{db}/{table}? ${c1} ={v1}& ${c2} =${v2}
235
+ $curl " http://{TiDBIP}:10080/mvcc/key/{db}/{table}?${c1} ={v1}&${c2} =${v2} "
236
236
` ` `
237
237
238
238
` ` ` shell
239
- $curl http://127.0.0.1:10080/mvcc/key/test/t\? a \ = aaa\& b \ = 2020-01-01
239
+ $curl " http://127.0.0.1:10080/mvcc/key/test/t?a =aaa&b =2020-01-01"
240
240
{
241
241
" key" : " 7480000000000000365F72016161610000000000FA0419A5420000000000" ,
242
242
" region_id" : 52,
387
387
14. Get MVCC Information of a specified index key, argument example: column_name_1=column_value_1& column_name_2=column_value2...
388
388
389
389
` ` ` shell
390
- curl http://{TiDBIP}:10080/mvcc/index/{db}/{table}/{index}/{handle}? ${c1} ={v1}& ${c2} =${v2}
390
+ curl " http://{TiDBIP}:10080/mvcc/index/{db}/{table}/{index}/{handle}?${c1} ={v1}&${c2} =${v2} "
391
391
` ` `
392
392
393
393
* Hint: For the index column which column type is timezone dependent, e.g. ` timestamp` , convert its value to UTC
394
394
timezone.*
395
395
396
396
` ` ` shell
397
- $curl http://127.0.0.1:10080/mvcc/index/test/t1/idx/1\? a \= A
397
+ $curl " http://127.0.0.1:10080/mvcc/index/test/t1/idx/1?a=A "
398
398
{
399
399
" info" : {
400
400
" writes" : [
@@ -411,17 +411,17 @@ timezone.*
411
411
* Hint: On a partitioned table, use the ` table(partition)` pattern as the table name, ` t1(p1)` for example:*
412
412
413
413
` ` ` shell
414
- $curl http://127.0.0.1:10080/mvcc/index/test/t1(p1)/idx/1\? a \= A
414
+ $curl " http://127.0.0.1:10080/mvcc/index/test/t1(p1)/idx/1?a=A "
415
415
` ` `
416
416
417
417
If the handle is clustered, also specify the primary key column values in the query string
418
418
419
419
` ` ` shell
420
- $curl http://{TiDBIP}:10080/mvcc/index/{db}/{table}/{index}? ${c1} ={v1}& ${c2} =${v2}
420
+ $curl " http://{TiDBIP}:10080/mvcc/index/{db}/{table}/{index}?${c1} ={v1}&${c2} =${v2} "
421
421
` ` `
422
422
423
423
` ` ` shell
424
- $curl http://127.0.0.1:10080/mvcc/index/test/t/idx\? a \ = 1.1\& b \ = 111\& c \= 1
424
+ $curl " http://127.0.0.1:10080/mvcc/index/test/t/idx?a =1.1&b =111&c=1 "
425
425
{
426
426
" key" : " 74800000000000003B5F69800000000000000203800000000000000105BFF199999999999A013131310000000000FA" ,
427
427
" region_id" : 59,
@@ -582,7 +582,7 @@ timezone.*
582
582
27. Get count {number} TiDB DDL job history information, start with job {id}
583
583
584
584
```shell
585
- curl http://{TIDBIP}:10080/ddl/history?start_job_id={id}&limit={number}
585
+ curl " http://{TIDBIP}:10080/ddl/history?start_job_id={id}&limit={number}"
586
586
```
587
587
588
588
28. Download TiDB debug info
0 commit comments