~stewart/percona-playback/cassert-header

« back to all changes in this revision

Viewing changes to test/ppb/e/help

  • Committer: Oleg Tsarev
  • Date: 2011-05-04 21:38:59 UTC
  • mfrom: (108.1.18 sbt)
  • Revision ID: oleg.tsarev@percona.com-20110504213859-pw1mgjmuj9gz44vb
merge split_by_transaction

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
USAGE: ppb [General Options] [Input Source] [MySQ Options]:
2
2
 
3
3
General options:
4
 
  --help                produce help message
5
 
  --version             version number
6
 
  --config arg          config
7
 
  -v [ --verbose ] arg  setup verbose level:
8
 
                        %ot - Original_Thread : original thread id (value from 
9
 
                        source)
10
 
                        %wt - Work_Thread : work thread id (thread id if 
11
 
                        playback)
12
 
                        %c - Code : query execution error code
13
 
                        %a - Affected_Rows : rows affected (read or wrote)
14
 
                        %om - Original_Time : original execution time 
15
 
                        (microseconds)
16
 
                        %wm - Work_Time : playback execution time 
17
 
                        (microseconds)
18
 
                        %t - Query_Type : query type (read/write/unknow) - may 
19
 
                        be better select/insert/.../etc?
20
 
                        %el - Error_Explain_Length : error explain - length of 
21
 
                        data
22
 
                        %ed - Error_Explain_Data : error explain - data
23
 
                        %ql - Query_Explain_Length : query length
24
 
                        %qd - Query_Explain_Data : query
25
 
                        or use default presets: 
26
 
                        quiet - nothing
27
 
                        status - %wt\t%c\t%a\t%wm\t%t
28
 
                        error - %wt\t%c\t%a\t%wm\t%t
29
 
                        error length=%el data=%ed
30
 
                        full - %wt\t%c\t%a\t%wm\t%t
31
 
                        error length=%el data=%ed
32
 
                        query length=%ql data=%qd
33
 
                        
34
 
  --dry_run             don't run queries on mysql (don't connect)
 
4
  --help                  produce help message
 
5
  --version               version number
 
6
  --config arg            config
 
7
  -v [ --verbose ] arg    setup verbose level:
 
8
                          %ot - Original_Thread : original thread id (value 
 
9
                          from source)
 
10
                          %wt - Work_Thread : work thread id (thread id if 
 
11
                          playback)
 
12
                          %c - Code : query execution error code
 
13
                          %a - Affected_Rows : rows affected (read or wrote)
 
14
                          %om - Original_Time : original execution time 
 
15
                          (microseconds)
 
16
                          %wm - Work_Time : playback execution time 
 
17
                          (microseconds)
 
18
                          %t - Query_Type : query type (read/write/unknow) - 
 
19
                          may be better select/insert/.../etc?
 
20
                          %el - Error_Explain_Length : error explain - length 
 
21
                          of data
 
22
                          %ed - Error_Explain_Data : error explain - data
 
23
                          %ql - Query_Explain_Length : query length
 
24
                          %qd - Query_Explain_Data : query
 
25
                          or use default presets: 
 
26
                          quiet - nothing
 
27
                          status - %wt\t%c\t%a\t%wm\t%t
 
28
                          error - %wt\t%c\t%a\t%wm\t%el\t%ed
 
29
                          full - %wt\t%c\t%a\t%wm\t%t\t%el\t%ed\t%ql\t%qd
 
30
                          
 
31
  --dry_run               don't run queries on mysql (don't connect)
 
32
  --split_by_connection   split queries by connection
 
33
  --split_by_transaction  split queries by transaction
 
34
  --worker_count arg      thread count [split_by_transation]
 
35
  --transaction_count arg transaction in queue count [split_by_transation]
35
36
 
36
37
MySQL client:
37
38
  --host arg            mysql host