@@ -173,6 +173,37 @@ private static RowDataPacket getRow(String stmt, String desc, String charset) {
173
173
//log
174
174
HELPS .put ("log @@[file=? limit=? key=? regex=?]" , "Report logs by given regex" );
175
175
176
+ //dryrun
177
+ HELPS .put ("dryrun" , "Dry run to check config before reload xml" );
178
+
179
+ //pause
180
+ HELPS .put ("pause @@DataNode" , "Block query requests witch specified dataNodes involved " );
181
+ HELPS .put ("RESUME" , "Resume the query requests of the paused dataNodes" );
182
+ HELPS .put ("show @@pause" , "Show which dataNodes have bean pause" );
183
+
184
+ //slow_query_log
185
+ HELPS .put ("show @@slow_query_log" , "Show if the slow query log is enabled" );
186
+ HELPS .put ("enable @@slow_query_log" , "Turn on the slow query log" );
187
+ HELPS .put ("disable @@slow_query_log" , "Turn off the slow query log" );
188
+ HELPS .put ("show @@slow_query.time" , "Show the threshold of slow sql, the unit is millisecond" );
189
+ HELPS .put ("reload @@slow_query.time" , "Reset the threshold of slow sql" );
190
+ HELPS .put ("show @@slow_query.flushperiod" , "Show the min flush period for writing to disk" );
191
+ HELPS .put ("reload @@slow_query.flushperiod" , "Reset the flush period" );
192
+ HELPS .put ("show @@slow_query.flushsize" , "Show the min flush size for writing to disk" );
193
+ HELPS .put ("reload @@slow_query.flushsize" , "Reset the flush size" );
194
+
195
+ //create database
196
+ HELPS .put ("create database @@dataNode ='dn......'" , "create database for datanode setted in schema.xml" );
197
+
198
+ //check @@metadata
199
+ HELPS .put ("check @@metadata" , "show last time of `reload @@metadata`/start dble" );
200
+ HELPS .put ("check full @@metadata" , "show detail information of metadata" );
201
+
202
+ //alert
203
+ HELPS .put ("show @@alert" , "Show if the alert is enabled" );
204
+ HELPS .put ("enable @@alert" , "Turn on the alert" );
205
+ HELPS .put ("disable @@alert" , "Turn off the alert" );
206
+
176
207
// list sort
177
208
KEYS .addAll (HELPS .keySet ());
178
209
}
0 commit comments