@alicloud/das20200116 2.1.0 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/client.d.ts CHANGED
@@ -3126,6 +3126,204 @@ export declare class DescribeInstanceDasProResponse extends $tea.Model {
3126
3126
  [key: string]: any;
3127
3127
  });
3128
3128
  }
3129
+ export declare class DescribeSlowLogHistogramAsyncRequest extends $tea.Model {
3130
+ /**
3131
+ * @example
3132
+ * 1662518540764
3133
+ */
3134
+ endTime?: number;
3135
+ filters?: DescribeSlowLogHistogramAsyncRequestFilters[];
3136
+ /**
3137
+ * @example
3138
+ * rm-2ze8g2am97624****
3139
+ */
3140
+ instanceId?: string;
3141
+ /**
3142
+ * @example
3143
+ * r-****-db-0
3144
+ */
3145
+ nodeId?: string;
3146
+ /**
3147
+ * @example
3148
+ * 1596177993000
3149
+ */
3150
+ startTime?: number;
3151
+ static names(): {
3152
+ [key: string]: string;
3153
+ };
3154
+ static types(): {
3155
+ [key: string]: any;
3156
+ };
3157
+ constructor(map?: {
3158
+ [key: string]: any;
3159
+ });
3160
+ }
3161
+ export declare class DescribeSlowLogHistogramAsyncResponseBody extends $tea.Model {
3162
+ /**
3163
+ * @example
3164
+ * 200
3165
+ */
3166
+ code?: string;
3167
+ /**
3168
+ * @remarks
3169
+ * AsyncResult<Histogram>。
3170
+ */
3171
+ data?: DescribeSlowLogHistogramAsyncResponseBodyData;
3172
+ /**
3173
+ * @example
3174
+ * Successful
3175
+ */
3176
+ message?: string;
3177
+ /**
3178
+ * @example
3179
+ * B6D17591-B48B-4D31-9CD6-9B9796B2****
3180
+ */
3181
+ requestId?: string;
3182
+ /**
3183
+ * @example
3184
+ * true
3185
+ */
3186
+ success?: string;
3187
+ static names(): {
3188
+ [key: string]: string;
3189
+ };
3190
+ static types(): {
3191
+ [key: string]: any;
3192
+ };
3193
+ constructor(map?: {
3194
+ [key: string]: any;
3195
+ });
3196
+ }
3197
+ export declare class DescribeSlowLogHistogramAsyncResponse extends $tea.Model {
3198
+ headers?: {
3199
+ [key: string]: string;
3200
+ };
3201
+ statusCode?: number;
3202
+ body?: DescribeSlowLogHistogramAsyncResponseBody;
3203
+ static names(): {
3204
+ [key: string]: string;
3205
+ };
3206
+ static types(): {
3207
+ [key: string]: any;
3208
+ };
3209
+ constructor(map?: {
3210
+ [key: string]: any;
3211
+ });
3212
+ }
3213
+ export declare class DescribeSlowLogStatisticRequest extends $tea.Model {
3214
+ /**
3215
+ * @example
3216
+ * true
3217
+ */
3218
+ asc?: boolean;
3219
+ /**
3220
+ * @example
3221
+ * 1608888296000
3222
+ */
3223
+ endTime?: number;
3224
+ filters?: DescribeSlowLogStatisticRequestFilters[];
3225
+ /**
3226
+ * @example
3227
+ * rm-2ze1jdv45i7l6****
3228
+ */
3229
+ instanceId?: string;
3230
+ /**
3231
+ * @example
3232
+ * r-x****-db-0
3233
+ */
3234
+ nodeId?: string;
3235
+ /**
3236
+ * @example
3237
+ * count
3238
+ */
3239
+ orderBy?: string;
3240
+ /**
3241
+ * @example
3242
+ * 1
3243
+ */
3244
+ pageNumber?: number;
3245
+ /**
3246
+ * @example
3247
+ * 20
3248
+ */
3249
+ pageSize?: number;
3250
+ /**
3251
+ * @example
3252
+ * 1568269711000
3253
+ */
3254
+ startTime?: number;
3255
+ /**
3256
+ * @example
3257
+ * 04ea3310df40c3fa8a6b4854db49f79a
3258
+ */
3259
+ templateId?: string;
3260
+ /**
3261
+ * @example
3262
+ * SQL
3263
+ */
3264
+ type?: string;
3265
+ static names(): {
3266
+ [key: string]: string;
3267
+ };
3268
+ static types(): {
3269
+ [key: string]: any;
3270
+ };
3271
+ constructor(map?: {
3272
+ [key: string]: any;
3273
+ });
3274
+ }
3275
+ export declare class DescribeSlowLogStatisticResponseBody extends $tea.Model {
3276
+ /**
3277
+ * @example
3278
+ * 200
3279
+ */
3280
+ code?: string;
3281
+ /**
3282
+ * @remarks
3283
+ * AsyncResult<DBLogRecords<SlowLogStat>>
3284
+ */
3285
+ data?: DescribeSlowLogStatisticResponseBodyData;
3286
+ /**
3287
+ * @example
3288
+ * Successful
3289
+ */
3290
+ message?: string;
3291
+ /**
3292
+ * @example
3293
+ * 52D540CF-C517-1F57-BB42-9035F96******
3294
+ */
3295
+ requestId?: string;
3296
+ /**
3297
+ * @example
3298
+ * true
3299
+ */
3300
+ success?: string;
3301
+ static names(): {
3302
+ [key: string]: string;
3303
+ };
3304
+ static types(): {
3305
+ [key: string]: any;
3306
+ };
3307
+ constructor(map?: {
3308
+ [key: string]: any;
3309
+ });
3310
+ }
3311
+ export declare class DescribeSlowLogStatisticResponse extends $tea.Model {
3312
+ headers?: {
3313
+ [key: string]: string;
3314
+ };
3315
+ statusCode?: number;
3316
+ body?: DescribeSlowLogStatisticResponseBody;
3317
+ static names(): {
3318
+ [key: string]: string;
3319
+ };
3320
+ static types(): {
3321
+ [key: string]: any;
3322
+ };
3323
+ constructor(map?: {
3324
+ [key: string]: any;
3325
+ });
3326
+ }
3129
3327
  export declare class DescribeSqlLogConfigRequest extends $tea.Model {
3130
3328
  /**
3131
3329
  * @remarks
@@ -16069,64 +16267,835 @@ export declare class DescribeHotKeysResponseBodyData extends $tea.Model {
16069
16267
  [key: string]: any;
16070
16268
  });
16071
16269
  }
16072
- export declare class DescribeSqlLogConfigResponseBodyData extends $tea.Model {
16270
+ export declare class DescribeSlowLogHistogramAsyncRequestFilters extends $tea.Model {
16073
16271
  /**
16074
- * @remarks
16075
- * Indicates whether the cold data storage is enabled. Valid values:
16076
- *
16077
- * * **true**
16078
- * * **false**
16079
- *
16080
16272
  * @example
16081
- * true
16273
+ * None
16082
16274
  */
16083
- coldEnable?: boolean;
16275
+ key?: string;
16084
16276
  /**
16085
- * @remarks
16086
- * The number of days for which the SQL Explorer and Audit data is stored in cold storage.
16087
- *
16088
16277
  * @example
16089
- * 23
16278
+ * None
16090
16279
  */
16091
- coldRetention?: number;
16280
+ value?: string;
16281
+ static names(): {
16282
+ [key: string]: string;
16283
+ };
16284
+ static types(): {
16285
+ [key: string]: any;
16286
+ };
16287
+ constructor(map?: {
16288
+ [key: string]: any;
16289
+ });
16290
+ }
16291
+ export declare class DescribeSlowLogHistogramAsyncResponseBodyDataDataItemInsItems extends $tea.Model {
16292
+ count?: number[];
16092
16293
  /**
16093
- * @remarks
16094
- * The time when the cold data storage was enabled. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
16095
- *
16096
16294
  * @example
16097
- * 1683712800000
16295
+ * 2492
16098
16296
  */
16099
- coldStartTime?: number;
16297
+ insId?: string;
16100
16298
  /**
16101
- * @remarks
16102
- * The collector version. Valid values:
16103
- *
16104
- * * **MYSQL_V0**
16105
- * * **MYSQL_V1**
16106
- * * **MYSQL_V2**
16107
- * * **MYSQL_V3**
16108
- * * **PG_V1**
16109
- * * **rdspg_v1**
16110
- * * **polarpg_v1**
16111
- *
16112
16299
  * @example
16113
- * MYSQL_V3
16300
+ * userAdmin
16114
16301
  */
16115
- collectorVersion?: string;
16302
+ insRole?: string;
16303
+ static names(): {
16304
+ [key: string]: string;
16305
+ };
16306
+ static types(): {
16307
+ [key: string]: any;
16308
+ };
16309
+ constructor(map?: {
16310
+ [key: string]: any;
16311
+ });
16312
+ }
16313
+ export declare class DescribeSlowLogHistogramAsyncResponseBodyDataDataItem extends $tea.Model {
16314
+ count?: number[];
16315
+ insItems?: DescribeSlowLogHistogramAsyncResponseBodyDataDataItemInsItems[];
16116
16316
  /**
16117
- * @remarks
16118
- * Indicates whether the hot data storage is enabled. Valid values:
16119
- *
16120
- * * **true**
16121
- * * **false**
16122
- *
16123
16317
  * @example
16124
- * true
16318
+ * r-bp1hi0wg57s3n0i3n8-db-0
16125
16319
  */
16126
- hotEnable?: boolean;
16320
+ nodeId?: string;
16321
+ static names(): {
16322
+ [key: string]: string;
16323
+ };
16324
+ static types(): {
16325
+ [key: string]: any;
16326
+ };
16327
+ constructor(map?: {
16328
+ [key: string]: any;
16329
+ });
16330
+ }
16331
+ export declare class DescribeSlowLogHistogramAsyncResponseBodyDataData extends $tea.Model {
16332
+ avgCPUTime?: number[];
16333
+ avgDocExamined?: number[];
16334
+ avgIOWrites?: number[];
16335
+ avgKeysExamined?: number[];
16336
+ avgLastRowsCountAffected?: number[];
16337
+ avgLockTime?: number[];
16338
+ avgLogicalIOReads?: number[];
16339
+ avgPhysicalIOReads?: number[];
16340
+ avgReturnNum?: number[];
16341
+ avgRowsCountAffected?: number[];
16342
+ avgRowsExamined?: number[];
16343
+ avgRowsSent?: number[];
16344
+ avgRt?: number[];
16345
+ CPUTime?: number[];
16346
+ count?: number[];
16347
+ docExamined?: number[];
16348
+ IOWrites?: number[];
16349
+ item?: DescribeSlowLogHistogramAsyncResponseBodyDataDataItem[];
16350
+ keysExamined?: number[];
16351
+ lastRowsCountAffected?: number[];
16352
+ lockTime?: number[];
16353
+ logicalIOReads?: number[];
16354
+ maxCPUTime?: number[];
16355
+ maxDocExamined?: number[];
16356
+ maxIOWrites?: number[];
16357
+ maxKeysExamined?: number[];
16358
+ maxLastRowsCountAffected?: number[];
16359
+ maxLockTime?: number[];
16360
+ maxLogicalIOReads?: number[];
16361
+ maxPhysicalIOReads?: number[];
16362
+ maxReturnNum?: number[];
16363
+ maxRowsCountAffected?: number[];
16364
+ maxRowsExamined?: number[];
16365
+ maxRowsSent?: number[];
16366
+ maxRt?: number[];
16367
+ physicalIOReads?: number[];
16368
+ returnNum?: number[];
16369
+ rowsCountAffected?: number[];
16370
+ rowsExamined?: number[];
16371
+ rowsSent?: number[];
16372
+ rt?: number[];
16127
16373
  /**
16128
- * @remarks
16129
- * The number of days for which the SQL Explorer and Audit data is stored in hot storage.
16374
+ * @example
16375
+ * 1
16376
+ */
16377
+ total?: number;
16378
+ ts?: number[];
16379
+ tsEnd?: number[];
16380
+ static names(): {
16381
+ [key: string]: string;
16382
+ };
16383
+ static types(): {
16384
+ [key: string]: any;
16385
+ };
16386
+ constructor(map?: {
16387
+ [key: string]: any;
16388
+ });
16389
+ }
16390
+ export declare class DescribeSlowLogHistogramAsyncResponseBodyData extends $tea.Model {
16391
+ data?: DescribeSlowLogHistogramAsyncResponseBodyDataData;
16392
+ /**
16393
+ * @example
16394
+ * 10910
16395
+ */
16396
+ errorCode?: number;
16397
+ /**
16398
+ * @example
16399
+ * true
16400
+ */
16401
+ isFinish?: boolean;
16402
+ /**
16403
+ * @example
16404
+ * Successful
16405
+ */
16406
+ message?: string;
16407
+ requestKey?: string;
16408
+ /**
16409
+ * @example
16410
+ * async__20ee808e72257f16a4fe024057ca****
16411
+ */
16412
+ resultId?: string;
16413
+ /**
16414
+ * @example
16415
+ * SUCCESS
16416
+ */
16417
+ state?: string;
16418
+ /**
16419
+ * @example
16420
+ * 1645668213000
16421
+ */
16422
+ timestamp?: number;
16423
+ static names(): {
16424
+ [key: string]: string;
16425
+ };
16426
+ static types(): {
16427
+ [key: string]: any;
16428
+ };
16429
+ constructor(map?: {
16430
+ [key: string]: any;
16431
+ });
16432
+ }
16433
+ export declare class DescribeSlowLogStatisticRequestFilters extends $tea.Model {
16434
+ /**
16435
+ * @example
16436
+ * KeyWords
16437
+ */
16438
+ key?: string;
16439
+ /**
16440
+ * @example
16441
+ * select
16442
+ */
16443
+ value?: string;
16444
+ static names(): {
16445
+ [key: string]: string;
16446
+ };
16447
+ static types(): {
16448
+ [key: string]: any;
16449
+ };
16450
+ constructor(map?: {
16451
+ [key: string]: any;
16452
+ });
16453
+ }
16454
+ export declare class DescribeSlowLogStatisticResponseBodyDataDataLogsHistogramItem extends $tea.Model {
16455
+ count?: number[];
16456
+ /**
16457
+ * @example
16458
+ * r-bp1s1m8hwzrm77kfvz-db-0
16459
+ */
16460
+ nodeId?: string;
16461
+ static names(): {
16462
+ [key: string]: string;
16463
+ };
16464
+ static types(): {
16465
+ [key: string]: any;
16466
+ };
16467
+ constructor(map?: {
16468
+ [key: string]: any;
16469
+ });
16470
+ }
16471
+ export declare class DescribeSlowLogStatisticResponseBodyDataDataLogsHistogram extends $tea.Model {
16472
+ avgLockTime?: number[];
16473
+ avgRowsExamined?: number[];
16474
+ avgRowsSent?: number[];
16475
+ avgRt?: number[];
16476
+ count?: number[];
16477
+ item?: DescribeSlowLogStatisticResponseBodyDataDataLogsHistogramItem[];
16478
+ lockTime?: number[];
16479
+ maxLockTime?: number[];
16480
+ maxRowsExamined?: number[];
16481
+ maxRowsSent?: number[];
16482
+ maxRt?: number[];
16483
+ rowsExamined?: number[];
16484
+ rowsSent?: number[];
16485
+ rt?: number[];
16486
+ /**
16487
+ * @example
16488
+ * 7
16489
+ */
16490
+ total?: number;
16491
+ ts?: number[];
16492
+ tsEnd?: number[];
16493
+ static names(): {
16494
+ [key: string]: string;
16495
+ };
16496
+ static types(): {
16497
+ [key: string]: any;
16498
+ };
16499
+ constructor(map?: {
16500
+ [key: string]: any;
16501
+ });
16502
+ }
16503
+ export declare class DescribeSlowLogStatisticResponseBodyDataDataLogsSqlTag extends $tea.Model {
16504
+ comments?: string;
16505
+ /**
16506
+ * @remarks
16507
+ * SQL ID。
16508
+ *
16509
+ * @example
16510
+ * a3931d8c3a9315dd5ed016d71cf*****
16511
+ */
16512
+ sqlId?: string;
16513
+ /**
16514
+ * @example
16515
+ * DAS_IN_PLAN
16516
+ */
16517
+ tags?: string;
16518
+ static names(): {
16519
+ [key: string]: string;
16520
+ };
16521
+ static types(): {
16522
+ [key: string]: any;
16523
+ };
16524
+ constructor(map?: {
16525
+ [key: string]: any;
16526
+ });
16527
+ }
16528
+ export declare class DescribeSlowLogStatisticResponseBodyDataDataLogsTrend extends $tea.Model {
16529
+ /**
16530
+ * @example
16531
+ * 1723775362
16532
+ */
16533
+ timestamp?: number;
16534
+ /**
16535
+ * @example
16536
+ * tf-testacc-oos-parameter
16537
+ */
16538
+ value?: any;
16539
+ static names(): {
16540
+ [key: string]: string;
16541
+ };
16542
+ static types(): {
16543
+ [key: string]: any;
16544
+ };
16545
+ constructor(map?: {
16546
+ [key: string]: any;
16547
+ });
16548
+ }
16549
+ export declare class DescribeSlowLogStatisticResponseBodyDataDataLogs extends $tea.Model {
16550
+ /**
16551
+ * @example
16552
+ * edu_admin
16553
+ */
16554
+ accountName?: string;
16555
+ /**
16556
+ * @example
16557
+ * -
16558
+ */
16559
+ avgCPUTime?: number;
16560
+ /**
16561
+ * @example
16562
+ * 10000
16563
+ */
16564
+ avgDocExamined?: number;
16565
+ /**
16566
+ * @example
16567
+ * 1000
16568
+ */
16569
+ avgIOWrites?: number;
16570
+ /**
16571
+ * @example
16572
+ * 20000
16573
+ */
16574
+ avgKeysExamined?: number;
16575
+ /**
16576
+ * @example
16577
+ * 1000
16578
+ */
16579
+ avgLastRowsCountAffected?: number;
16580
+ /**
16581
+ * @example
16582
+ * -
16583
+ */
16584
+ avgLockTime?: number;
16585
+ /**
16586
+ * @example
16587
+ * 0.0
16588
+ */
16589
+ avgLockTimeSeconds?: number;
16590
+ /**
16591
+ * @example
16592
+ * 1000
16593
+ */
16594
+ avgLogicalIOReads?: number;
16595
+ /**
16596
+ * @example
16597
+ * 1000
16598
+ */
16599
+ avgPhysicalIOReads?: number;
16600
+ /**
16601
+ * @example
16602
+ * -
16603
+ */
16604
+ avgQueryTime?: number;
16605
+ /**
16606
+ * @example
16607
+ * 6.211
16608
+ */
16609
+ avgQueryTimeSeconds?: number;
16610
+ /**
16611
+ * @example
16612
+ * 1
16613
+ */
16614
+ avgReturnNum?: number;
16615
+ /**
16616
+ * @example
16617
+ * 1000
16618
+ */
16619
+ avgRowsCountAffected?: number;
16620
+ /**
16621
+ * @example
16622
+ * 53421.0
16623
+ */
16624
+ avgRowsExamined?: number;
16625
+ /**
16626
+ * @example
16627
+ * 2.0
16628
+ */
16629
+ avgRowsSent?: number;
16630
+ /**
16631
+ * @example
16632
+ * -
16633
+ */
16634
+ CPUTime?: number;
16635
+ /**
16636
+ * @example
16637
+ * SELECT b?.id,b?.t?,b?.id,b?.t? FROM testtb? b? JOIN testtb? b? ON b?.id=b?.id WHERE b?.t? LIKE ? ORDER BY b?.t? DESC
16638
+ */
16639
+ command?: string;
16640
+ /**
16641
+ * @example
16642
+ * 12
16643
+ */
16644
+ count?: number;
16645
+ /**
16646
+ * @example
16647
+ * 0.2034
16648
+ */
16649
+ countRate?: number;
16650
+ /**
16651
+ * @example
16652
+ * member_score
16653
+ */
16654
+ DBName?: string;
16655
+ /**
16656
+ * @example
16657
+ * work-wechat-api
16658
+ */
16659
+ database?: string;
16660
+ /**
16661
+ * @example
16662
+ * 0
16663
+ */
16664
+ dbInstanceName?: string;
16665
+ /**
16666
+ * @example
16667
+ * 2000000
16668
+ */
16669
+ docExamined?: number;
16670
+ /**
16671
+ * @example
16672
+ * 1
16673
+ */
16674
+ docsExamined?: number;
16675
+ histogram?: DescribeSlowLogStatisticResponseBodyDataDataLogsHistogram;
16676
+ /**
16677
+ * @example
16678
+ * 172.23.142.178
16679
+ */
16680
+ hostAddress?: string;
16681
+ /**
16682
+ * @example
16683
+ * mongo-abc123456
16684
+ */
16685
+ hostInsId?: string;
16686
+ /**
16687
+ * @example
16688
+ * 1000
16689
+ */
16690
+ IOWrites?: number;
16691
+ /**
16692
+ * @example
16693
+ * rm-uf6zix1z2jh1y6fe5
16694
+ */
16695
+ insName?: string;
16696
+ /**
16697
+ * @example
16698
+ * __system
16699
+ */
16700
+ insRole?: string;
16701
+ /**
16702
+ * @example
16703
+ * 20000
16704
+ */
16705
+ keysExamined?: number;
16706
+ /**
16707
+ * @example
16708
+ * 1000
16709
+ */
16710
+ lastRowsCountAffected?: number;
16711
+ /**
16712
+ * @example
16713
+ * -
16714
+ */
16715
+ lockTime?: number;
16716
+ /**
16717
+ * @example
16718
+ * 0.0
16719
+ */
16720
+ lockTimeSeconds?: number;
16721
+ /**
16722
+ * @example
16723
+ * 1000
16724
+ */
16725
+ logicalIOReads?: number;
16726
+ /**
16727
+ * @example
16728
+ * -
16729
+ */
16730
+ maxCPUTime?: number;
16731
+ /**
16732
+ * @example
16733
+ * 1000000
16734
+ */
16735
+ maxDocExamined?: number;
16736
+ /**
16737
+ * @example
16738
+ * 1000
16739
+ */
16740
+ maxIOWrites?: number;
16741
+ /**
16742
+ * @example
16743
+ * 2000000
16744
+ */
16745
+ maxKeysExamined?: number;
16746
+ /**
16747
+ * @example
16748
+ * 1000
16749
+ */
16750
+ maxLastRowsCountAffected?: number;
16751
+ /**
16752
+ * @example
16753
+ * -
16754
+ */
16755
+ maxLockTime?: number;
16756
+ /**
16757
+ * @example
16758
+ * 0.0
16759
+ */
16760
+ maxLockTimeSeconds?: number;
16761
+ /**
16762
+ * @example
16763
+ * 1000
16764
+ */
16765
+ maxLogicalIOReads?: number;
16766
+ /**
16767
+ * @example
16768
+ * 1000
16769
+ */
16770
+ maxPhysicalIOReads?: number;
16771
+ /**
16772
+ * @example
16773
+ * -
16774
+ */
16775
+ maxQueryTime?: number;
16776
+ /**
16777
+ * @example
16778
+ * 14.402
16779
+ */
16780
+ maxQueryTimeSeconds?: number;
16781
+ /**
16782
+ * @example
16783
+ * 1
16784
+ */
16785
+ maxReturnNum?: number;
16786
+ /**
16787
+ * @example
16788
+ * 1000
16789
+ */
16790
+ maxRowsCountAffected?: number;
16791
+ /**
16792
+ * @example
16793
+ * 318613
16794
+ */
16795
+ maxRowsExamined?: number;
16796
+ /**
16797
+ * @example
16798
+ * 256
16799
+ */
16800
+ maxRowsSent?: number;
16801
+ /**
16802
+ * @example
16803
+ * database.collection
16804
+ */
16805
+ namespace?: string;
16806
+ /**
16807
+ * @example
16808
+ * DLNode
16809
+ */
16810
+ nodeType?: string;
16811
+ /**
16812
+ * @example
16813
+ * Insert
16814
+ */
16815
+ opType?: string;
16816
+ /**
16817
+ * @example
16818
+ * order-1
16819
+ */
16820
+ originAlias?: string;
16821
+ /**
16822
+ * @example
16823
+ * 1000
16824
+ */
16825
+ physicalIOReads?: number;
16826
+ /**
16827
+ * @example
16828
+ * SELECT b?.id,b?.t?,b?.id,b?.t? FROM testtb? b? JOIN testtb? b? ON b?.id=b?.id WHERE b?.t? LIKE ? ORDER BY b?.id DESC
16829
+ */
16830
+ psql?: string;
16831
+ /**
16832
+ * @example
16833
+ * sq-1pzcdMwRb
16834
+ */
16835
+ queryId?: string;
16836
+ /**
16837
+ * @example
16838
+ * 2024-12-25T03:00:00Z
16839
+ */
16840
+ queryStartTime?: string;
16841
+ /**
16842
+ * @example
16843
+ * 272.444
16844
+ */
16845
+ queryTime?: number;
16846
+ /**
16847
+ * @example
16848
+ * 0.1018
16849
+ */
16850
+ queryTimeRate?: number;
16851
+ /**
16852
+ * @example
16853
+ * 25.472
16854
+ */
16855
+ queryTimeSeconds?: number;
16856
+ returnItemNumbers?: string;
16857
+ /**
16858
+ * @example
16859
+ * 1
16860
+ */
16861
+ returnNum?: number;
16862
+ /**
16863
+ * @example
16864
+ * 1000
16865
+ */
16866
+ rowsCountAffected?: number;
16867
+ /**
16868
+ * @example
16869
+ * 2444081
16870
+ */
16871
+ rowsExamined?: number;
16872
+ /**
16873
+ * @example
16874
+ * 772
16875
+ */
16876
+ rowsSent?: number;
16877
+ /**
16878
+ * @example
16879
+ * SELECT \\"Hello, World!\\" FROM DUAL
16880
+ */
16881
+ SQLText?: string;
16882
+ /**
16883
+ * @example
16884
+ * HTTP
16885
+ */
16886
+ scheme?: string;
16887
+ /**
16888
+ * @remarks
16889
+ * SQL ID。
16890
+ *
16891
+ * @example
16892
+ * 2dca88762ec6b3812504ab8a4b******
16893
+ */
16894
+ sqlId?: string;
16895
+ sqlTag?: DescribeSlowLogStatisticResponseBodyDataDataLogsSqlTag;
16896
+ /**
16897
+ * @example
16898
+ * LOGIN
16899
+ */
16900
+ sqlType?: string;
16901
+ /**
16902
+ * @example
16903
+ * r-8vba51c588ba3a94
16904
+ */
16905
+ subInstanceId?: string;
16906
+ /**
16907
+ * @example
16908
+ * users\\nifconfig\\n
16909
+ */
16910
+ tableName?: string;
16911
+ /**
16912
+ * @example
16913
+ * 1
16914
+ */
16915
+ threadId?: string;
16916
+ /**
16917
+ * @example
16918
+ * 1708568930
16919
+ */
16920
+ timestamp?: number;
16921
+ trend?: DescribeSlowLogStatisticResponseBodyDataDataLogsTrend[];
16922
+ /**
16923
+ * @example
16924
+ * user-1
16925
+ */
16926
+ user?: string;
16927
+ static names(): {
16928
+ [key: string]: string;
16929
+ };
16930
+ static types(): {
16931
+ [key: string]: any;
16932
+ };
16933
+ constructor(map?: {
16934
+ [key: string]: any;
16935
+ });
16936
+ }
16937
+ export declare class DescribeSlowLogStatisticResponseBodyDataData extends $tea.Model {
16938
+ /**
16939
+ * @example
16940
+ * rm-k2ja51w7cnusg5a1x
16941
+ */
16942
+ dbInstanceId?: number;
16943
+ /**
16944
+ * @example
16945
+ * 0
16946
+ */
16947
+ dbInstanceName?: string;
16948
+ /**
16949
+ * @example
16950
+ * 2024-08-08T02:15:00Z
16951
+ */
16952
+ endTime?: string;
16953
+ /**
16954
+ * @example
16955
+ * 10
16956
+ */
16957
+ itemsNumbers?: number;
16958
+ logs?: DescribeSlowLogStatisticResponseBodyDataDataLogs[];
16959
+ /**
16960
+ * @example
16961
+ * 10
16962
+ */
16963
+ maxRecordsPerPage?: number;
16964
+ /**
16965
+ * @example
16966
+ * pi-wz99g5rn7w1x8h0sf
16967
+ */
16968
+ nodeId?: string;
16969
+ /**
16970
+ * @example
16971
+ * 1
16972
+ */
16973
+ pageNumbers?: number;
16974
+ /**
16975
+ * @example
16976
+ * 2024-10-08T02:01:00Z
16977
+ */
16978
+ startTime?: string;
16979
+ /**
16980
+ * @example
16981
+ * 13
16982
+ */
16983
+ totalRecords?: number;
16984
+ static names(): {
16985
+ [key: string]: string;
16986
+ };
16987
+ static types(): {
16988
+ [key: string]: any;
16989
+ };
16990
+ constructor(map?: {
16991
+ [key: string]: any;
16992
+ });
16993
+ }
16994
+ export declare class DescribeSlowLogStatisticResponseBodyData extends $tea.Model {
16995
+ data?: DescribeSlowLogStatisticResponseBodyDataData;
16996
+ /**
16997
+ * @example
16998
+ * 10910
16999
+ */
17000
+ errorCode?: number;
17001
+ /**
17002
+ * @example
17003
+ * true
17004
+ */
17005
+ isFinish?: boolean;
17006
+ /**
17007
+ * @example
17008
+ * Successful
17009
+ */
17010
+ message?: string;
17011
+ /**
17012
+ * @example
17013
+ * 123456789
17014
+ */
17015
+ requestKey?: string;
17016
+ /**
17017
+ * @example
17018
+ * async__665ee69612f1627c7fd9f3c85075****
17019
+ */
17020
+ resultId?: string;
17021
+ /**
17022
+ * @example
17023
+ * SUCCESS
17024
+ */
17025
+ state?: string;
17026
+ /**
17027
+ * @example
17028
+ * 1735104224250
17029
+ */
17030
+ timestamp?: number;
17031
+ static names(): {
17032
+ [key: string]: string;
17033
+ };
17034
+ static types(): {
17035
+ [key: string]: any;
17036
+ };
17037
+ constructor(map?: {
17038
+ [key: string]: any;
17039
+ });
17040
+ }
17041
+ export declare class DescribeSqlLogConfigResponseBodyData extends $tea.Model {
17042
+ /**
17043
+ * @remarks
17044
+ * Indicates whether the cold data storage is enabled. Valid values:
17045
+ *
17046
+ * * **true**
17047
+ * * **false**
17048
+ *
17049
+ * @example
17050
+ * true
17051
+ */
17052
+ coldEnable?: boolean;
17053
+ /**
17054
+ * @remarks
17055
+ * The number of days for which the SQL Explorer and Audit data is stored in cold storage.
17056
+ *
17057
+ * @example
17058
+ * 23
17059
+ */
17060
+ coldRetention?: number;
17061
+ /**
17062
+ * @remarks
17063
+ * The time when the cold data storage was enabled. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
17064
+ *
17065
+ * @example
17066
+ * 1683712800000
17067
+ */
17068
+ coldStartTime?: number;
17069
+ /**
17070
+ * @remarks
17071
+ * The collector version. Valid values:
17072
+ *
17073
+ * * **MYSQL_V0**
17074
+ * * **MYSQL_V1**
17075
+ * * **MYSQL_V2**
17076
+ * * **MYSQL_V3**
17077
+ * * **PG_V1**
17078
+ * * **rdspg_v1**
17079
+ * * **polarpg_v1**
17080
+ *
17081
+ * @example
17082
+ * MYSQL_V3
17083
+ */
17084
+ collectorVersion?: string;
17085
+ /**
17086
+ * @remarks
17087
+ * Indicates whether the hot data storage is enabled. Valid values:
17088
+ *
17089
+ * * **true**
17090
+ * * **false**
17091
+ *
17092
+ * @example
17093
+ * true
17094
+ */
17095
+ hotEnable?: boolean;
17096
+ /**
17097
+ * @remarks
17098
+ * The number of days for which the SQL Explorer and Audit data is stored in hot storage.
16130
17099
  *
16131
17100
  * @example
16132
17101
  * 7
@@ -27522,6 +28491,36 @@ export default class Client extends OpenApi {
27522
28491
  * @returns DescribeInstanceDasProResponse
27523
28492
  */
27524
28493
  describeInstanceDasPro(request: DescribeInstanceDasProRequest): Promise<DescribeInstanceDasProResponse>;
28494
+ /**
28495
+ * DescribeSlowLogHistogramAsync
28496
+ *
28497
+ * @param request - DescribeSlowLogHistogramAsyncRequest
28498
+ * @param runtime - runtime options for this request RuntimeOptions
28499
+ * @returns DescribeSlowLogHistogramAsyncResponse
28500
+ */
28501
+ describeSlowLogHistogramAsyncWithOptions(request: DescribeSlowLogHistogramAsyncRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSlowLogHistogramAsyncResponse>;
28502
+ /**
28503
+ * DescribeSlowLogHistogramAsync
28504
+ *
28505
+ * @param request - DescribeSlowLogHistogramAsyncRequest
28506
+ * @returns DescribeSlowLogHistogramAsyncResponse
28507
+ */
28508
+ describeSlowLogHistogramAsync(request: DescribeSlowLogHistogramAsyncRequest): Promise<DescribeSlowLogHistogramAsyncResponse>;
28509
+ /**
28510
+ * 慢日志统计信息
28511
+ *
28512
+ * @param request - DescribeSlowLogStatisticRequest
28513
+ * @param runtime - runtime options for this request RuntimeOptions
28514
+ * @returns DescribeSlowLogStatisticResponse
28515
+ */
28516
+ describeSlowLogStatisticWithOptions(request: DescribeSlowLogStatisticRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSlowLogStatisticResponse>;
28517
+ /**
28518
+ * 慢日志统计信息
28519
+ *
28520
+ * @param request - DescribeSlowLogStatisticRequest
28521
+ * @returns DescribeSlowLogStatisticResponse
28522
+ */
28523
+ describeSlowLogStatistic(request: DescribeSlowLogStatisticRequest): Promise<DescribeSlowLogStatisticResponse>;
27525
28524
  /**
27526
28525
  * Queries the configurations of Database Autonomy Service (DAS) Enterprise Edition that is enabled for a database instance.
27527
28526
  *