kb-cloud-client-typescript 2.3.0-alpha.176 → 2.3.0-alpha.178

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.
Files changed (145) hide show
  1. package/dist/adminapi/apis/diagnostics-api.d.ts +392 -0
  2. package/dist/adminapi/apis/diagnostics-api.d.ts.map +1 -1
  3. package/dist/adminapi/apis/diagnostics-api.js +415 -0
  4. package/dist/adminapi/apis/diagnostics-api.js.map +1 -1
  5. package/dist/adminapi/models/dameng-index-item.d.ts +55 -0
  6. package/dist/adminapi/models/dameng-index-item.d.ts.map +1 -0
  7. package/dist/adminapi/models/dameng-index-item.js +16 -0
  8. package/dist/adminapi/models/dameng-index-item.js.map +1 -0
  9. package/dist/adminapi/models/dameng-large-mem-sqlentry.d.ts +55 -0
  10. package/dist/adminapi/models/dameng-large-mem-sqlentry.d.ts.map +1 -0
  11. package/dist/adminapi/models/dameng-large-mem-sqlentry.js +16 -0
  12. package/dist/adminapi/models/dameng-large-mem-sqlentry.js.map +1 -0
  13. package/dist/adminapi/models/dameng-lock-analysis.d.ts +39 -0
  14. package/dist/adminapi/models/dameng-lock-analysis.d.ts.map +1 -0
  15. package/dist/adminapi/models/dameng-lock-analysis.js +16 -0
  16. package/dist/adminapi/models/dameng-lock-analysis.js.map +1 -0
  17. package/dist/adminapi/models/dameng-lock-row.d.ts +61 -0
  18. package/dist/adminapi/models/dameng-lock-row.d.ts.map +1 -0
  19. package/dist/adminapi/models/dameng-lock-row.js +16 -0
  20. package/dist/adminapi/models/dameng-lock-row.js.map +1 -0
  21. package/dist/adminapi/models/dameng-long-exec-sqlentry.d.ts +55 -0
  22. package/dist/adminapi/models/dameng-long-exec-sqlentry.d.ts.map +1 -0
  23. package/dist/adminapi/models/dameng-long-exec-sqlentry.js +16 -0
  24. package/dist/adminapi/models/dameng-long-exec-sqlentry.js.map +1 -0
  25. package/dist/adminapi/models/dameng-schema-item.d.ts +31 -0
  26. package/dist/adminapi/models/dameng-schema-item.d.ts.map +1 -0
  27. package/dist/adminapi/models/dameng-schema-item.js +16 -0
  28. package/dist/adminapi/models/dameng-schema-item.js.map +1 -0
  29. package/dist/adminapi/models/dameng-session-detail.d.ts +103 -0
  30. package/dist/adminapi/models/dameng-session-detail.d.ts.map +1 -0
  31. package/dist/adminapi/models/dameng-session-detail.js +16 -0
  32. package/dist/adminapi/models/dameng-session-detail.js.map +1 -0
  33. package/dist/adminapi/models/dameng-session-list-item.d.ts +91 -0
  34. package/dist/adminapi/models/dameng-session-list-item.d.ts.map +1 -0
  35. package/dist/adminapi/models/dameng-session-list-item.js +16 -0
  36. package/dist/adminapi/models/dameng-session-list-item.js.map +1 -0
  37. package/dist/adminapi/models/dameng-space-analysis.d.ts +47 -0
  38. package/dist/adminapi/models/dameng-space-analysis.d.ts.map +1 -0
  39. package/dist/adminapi/models/dameng-space-analysis.js +16 -0
  40. package/dist/adminapi/models/dameng-space-analysis.js.map +1 -0
  41. package/dist/adminapi/models/dameng-sqlanalysis.d.ts +33 -0
  42. package/dist/adminapi/models/dameng-sqlanalysis.d.ts.map +1 -0
  43. package/dist/adminapi/models/dameng-sqlanalysis.js +16 -0
  44. package/dist/adminapi/models/dameng-sqlanalysis.js.map +1 -0
  45. package/dist/adminapi/models/dameng-table-size-item.d.ts +43 -0
  46. package/dist/adminapi/models/dameng-table-size-item.d.ts.map +1 -0
  47. package/dist/adminapi/models/dameng-table-size-item.js +16 -0
  48. package/dist/adminapi/models/dameng-table-size-item.js.map +1 -0
  49. package/dist/adminapi/models/dameng-tablespace-item.d.ts +49 -0
  50. package/dist/adminapi/models/dameng-tablespace-item.d.ts.map +1 -0
  51. package/dist/adminapi/models/dameng-tablespace-item.js +16 -0
  52. package/dist/adminapi/models/dameng-tablespace-item.js.map +1 -0
  53. package/dist/adminapi/models/index.d.ts +12 -0
  54. package/dist/adminapi/models/index.d.ts.map +1 -1
  55. package/dist/adminapi/models/index.js +12 -0
  56. package/dist/adminapi/models/index.js.map +1 -1
  57. package/dist/openapi/apis/diagnostics-api.d.ts +392 -0
  58. package/dist/openapi/apis/diagnostics-api.d.ts.map +1 -1
  59. package/dist/openapi/apis/diagnostics-api.js +415 -0
  60. package/dist/openapi/apis/diagnostics-api.js.map +1 -1
  61. package/dist/openapi/models/dameng-index-item.d.ts +55 -0
  62. package/dist/openapi/models/dameng-index-item.d.ts.map +1 -0
  63. package/dist/openapi/models/dameng-index-item.js +16 -0
  64. package/dist/openapi/models/dameng-index-item.js.map +1 -0
  65. package/dist/openapi/models/dameng-large-mem-sqlentry.d.ts +55 -0
  66. package/dist/openapi/models/dameng-large-mem-sqlentry.d.ts.map +1 -0
  67. package/dist/openapi/models/dameng-large-mem-sqlentry.js +16 -0
  68. package/dist/openapi/models/dameng-large-mem-sqlentry.js.map +1 -0
  69. package/dist/openapi/models/dameng-lock-analysis.d.ts +39 -0
  70. package/dist/openapi/models/dameng-lock-analysis.d.ts.map +1 -0
  71. package/dist/openapi/models/dameng-lock-analysis.js +16 -0
  72. package/dist/openapi/models/dameng-lock-analysis.js.map +1 -0
  73. package/dist/openapi/models/dameng-lock-row.d.ts +61 -0
  74. package/dist/openapi/models/dameng-lock-row.d.ts.map +1 -0
  75. package/dist/openapi/models/dameng-lock-row.js +16 -0
  76. package/dist/openapi/models/dameng-lock-row.js.map +1 -0
  77. package/dist/openapi/models/dameng-long-exec-sqlentry.d.ts +55 -0
  78. package/dist/openapi/models/dameng-long-exec-sqlentry.d.ts.map +1 -0
  79. package/dist/openapi/models/dameng-long-exec-sqlentry.js +16 -0
  80. package/dist/openapi/models/dameng-long-exec-sqlentry.js.map +1 -0
  81. package/dist/openapi/models/dameng-schema-item.d.ts +31 -0
  82. package/dist/openapi/models/dameng-schema-item.d.ts.map +1 -0
  83. package/dist/openapi/models/dameng-schema-item.js +16 -0
  84. package/dist/openapi/models/dameng-schema-item.js.map +1 -0
  85. package/dist/openapi/models/dameng-session-detail.d.ts +103 -0
  86. package/dist/openapi/models/dameng-session-detail.d.ts.map +1 -0
  87. package/dist/openapi/models/dameng-session-detail.js +16 -0
  88. package/dist/openapi/models/dameng-session-detail.js.map +1 -0
  89. package/dist/openapi/models/dameng-session-list-item.d.ts +91 -0
  90. package/dist/openapi/models/dameng-session-list-item.d.ts.map +1 -0
  91. package/dist/openapi/models/dameng-session-list-item.js +16 -0
  92. package/dist/openapi/models/dameng-session-list-item.js.map +1 -0
  93. package/dist/openapi/models/dameng-space-analysis.d.ts +47 -0
  94. package/dist/openapi/models/dameng-space-analysis.d.ts.map +1 -0
  95. package/dist/openapi/models/dameng-space-analysis.js +16 -0
  96. package/dist/openapi/models/dameng-space-analysis.js.map +1 -0
  97. package/dist/openapi/models/dameng-sqlanalysis.d.ts +33 -0
  98. package/dist/openapi/models/dameng-sqlanalysis.d.ts.map +1 -0
  99. package/dist/openapi/models/dameng-sqlanalysis.js +16 -0
  100. package/dist/openapi/models/dameng-sqlanalysis.js.map +1 -0
  101. package/dist/openapi/models/dameng-table-size-item.d.ts +43 -0
  102. package/dist/openapi/models/dameng-table-size-item.d.ts.map +1 -0
  103. package/dist/openapi/models/dameng-table-size-item.js +16 -0
  104. package/dist/openapi/models/dameng-table-size-item.js.map +1 -0
  105. package/dist/openapi/models/dameng-tablespace-item.d.ts +49 -0
  106. package/dist/openapi/models/dameng-tablespace-item.d.ts.map +1 -0
  107. package/dist/openapi/models/dameng-tablespace-item.js +16 -0
  108. package/dist/openapi/models/dameng-tablespace-item.js.map +1 -0
  109. package/dist/openapi/models/index.d.ts +12 -0
  110. package/dist/openapi/models/index.d.ts.map +1 -1
  111. package/dist/openapi/models/index.js +12 -0
  112. package/dist/openapi/models/index.js.map +1 -1
  113. package/package.json +1 -1
  114. package/src/adminapi/.openapi-generator/FILES +12 -0
  115. package/src/adminapi/apis/diagnostics-api.ts +685 -0
  116. package/src/adminapi/models/dameng-index-item.ts +60 -0
  117. package/src/adminapi/models/dameng-large-mem-sqlentry.ts +60 -0
  118. package/src/adminapi/models/dameng-lock-analysis.ts +48 -0
  119. package/src/adminapi/models/dameng-lock-row.ts +66 -0
  120. package/src/adminapi/models/dameng-long-exec-sqlentry.ts +60 -0
  121. package/src/adminapi/models/dameng-schema-item.ts +36 -0
  122. package/src/adminapi/models/dameng-session-detail.ts +108 -0
  123. package/src/adminapi/models/dameng-session-list-item.ts +96 -0
  124. package/src/adminapi/models/dameng-space-analysis.ts +60 -0
  125. package/src/adminapi/models/dameng-sqlanalysis.ts +42 -0
  126. package/src/adminapi/models/dameng-table-size-item.ts +48 -0
  127. package/src/adminapi/models/dameng-tablespace-item.ts +54 -0
  128. package/src/adminapi/models/index.ts +12 -0
  129. package/src/adminapi.yaml +575 -0
  130. package/src/openapi/.openapi-generator/FILES +12 -0
  131. package/src/openapi/apis/diagnostics-api.ts +685 -0
  132. package/src/openapi/models/dameng-index-item.ts +60 -0
  133. package/src/openapi/models/dameng-large-mem-sqlentry.ts +60 -0
  134. package/src/openapi/models/dameng-lock-analysis.ts +48 -0
  135. package/src/openapi/models/dameng-lock-row.ts +66 -0
  136. package/src/openapi/models/dameng-long-exec-sqlentry.ts +60 -0
  137. package/src/openapi/models/dameng-schema-item.ts +36 -0
  138. package/src/openapi/models/dameng-session-detail.ts +108 -0
  139. package/src/openapi/models/dameng-session-list-item.ts +96 -0
  140. package/src/openapi/models/dameng-space-analysis.ts +60 -0
  141. package/src/openapi/models/dameng-sqlanalysis.ts +42 -0
  142. package/src/openapi/models/dameng-table-size-item.ts +48 -0
  143. package/src/openapi/models/dameng-tablespace-item.ts +54 -0
  144. package/src/openapi/models/index.ts +12 -0
  145. package/src/openapi.yaml +575 -0
@@ -0,0 +1,54 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Admin API
5
+ * The Admin API is used to manage the ApeCloud platform.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface DamengTablespaceItem
21
+ */
22
+ export interface DamengTablespaceItem {
23
+ /**
24
+ * Tablespace name.
25
+ * @type {string}
26
+ * @memberof DamengTablespaceItem
27
+ */
28
+ 'name': string;
29
+ /**
30
+ * Total size in megabytes.
31
+ * @type {number}
32
+ * @memberof DamengTablespaceItem
33
+ */
34
+ 'totalMb': number;
35
+ /**
36
+ * Free size in megabytes.
37
+ * @type {number}
38
+ * @memberof DamengTablespaceItem
39
+ */
40
+ 'freeMb': number;
41
+ /**
42
+ * Used size in megabytes.
43
+ * @type {number}
44
+ * @memberof DamengTablespaceItem
45
+ */
46
+ 'usedMb': number;
47
+ /**
48
+ * Usage ratio as percentage (0-100).
49
+ * @type {number}
50
+ * @memberof DamengTablespaceItem
51
+ */
52
+ 'usageRatio': number;
53
+ }
54
+
@@ -227,6 +227,18 @@ export * from './dmsconsole-enable-opt';
227
227
  export * from './dmsconsole-net-mode';
228
228
  export * from './dmsconsole-svc-type';
229
229
  export * from './daily-sla';
230
+ export * from './dameng-index-item';
231
+ export * from './dameng-large-mem-sqlentry';
232
+ export * from './dameng-lock-analysis';
233
+ export * from './dameng-lock-row';
234
+ export * from './dameng-long-exec-sqlentry';
235
+ export * from './dameng-sqlanalysis';
236
+ export * from './dameng-schema-item';
237
+ export * from './dameng-session-detail';
238
+ export * from './dameng-session-list-item';
239
+ export * from './dameng-space-analysis';
240
+ export * from './dameng-table-size-item';
241
+ export * from './dameng-tablespace-item';
230
242
  export * from './dashboard-option';
231
243
  export * from './dashboard-option-instance-panels-inner';
232
244
  export * from './dashboard-option-instance-panels-inner-panels-inner';
package/src/adminapi.yaml CHANGED
@@ -21273,6 +21273,258 @@ paths:
21273
21273
  $ref: '#/components/responses/404'
21274
21274
  '500':
21275
21275
  $ref: '#/components/responses/500'
21276
+ /admin/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/dameng/spaceAnalysis:
21277
+ get:
21278
+ tags:
21279
+ - diagnostics
21280
+ summary: Get Dameng space analysis
21281
+ description: Get a read-only Dameng space snapshot including tablespace usage, schema sizes, top tables, and top indexes. Queries dba_free_space, dba_data_files, DBA_SEGMENTS, DBA_TABLES, DBA_INDEXES, and DBA_IND_COLUMNS.
21282
+ operationId: getDiagnosticsDamengSpaceAnalysis
21283
+ parameters:
21284
+ - name: orgName
21285
+ in: path
21286
+ description: Organization name
21287
+ required: true
21288
+ schema:
21289
+ type: string
21290
+ - name: clusterName
21291
+ in: path
21292
+ description: Cluster name
21293
+ required: true
21294
+ schema:
21295
+ type: string
21296
+ - name: tableLimit
21297
+ in: query
21298
+ description: Maximum number of top tables to return (0 or omitted = not collected)
21299
+ required: false
21300
+ schema:
21301
+ type: integer
21302
+ format: int64
21303
+ minimum: 0
21304
+ default: 0
21305
+ - name: indexLimit
21306
+ in: query
21307
+ description: Maximum number of top indexes to return (0 or omitted = not collected)
21308
+ required: false
21309
+ schema:
21310
+ type: integer
21311
+ format: int64
21312
+ minimum: 0
21313
+ default: 0
21314
+ - name: schema
21315
+ in: query
21316
+ description: Filter tables and indexes by schema (owner). Omit or empty = all schemas.
21317
+ required: false
21318
+ schema:
21319
+ type: string
21320
+ - name: skipBasic
21321
+ in: query
21322
+ description: Set to true to skip tablespace and schema queries, returning only tables and indexes.
21323
+ required: false
21324
+ schema:
21325
+ type: boolean
21326
+ default: false
21327
+ responses:
21328
+ '200':
21329
+ description: OK
21330
+ content:
21331
+ application/json:
21332
+ schema:
21333
+ $ref: '#/components/schemas/damengSpaceAnalysis'
21334
+ '400':
21335
+ $ref: '#/components/responses/400'
21336
+ '401':
21337
+ $ref: '#/components/responses/401'
21338
+ '403':
21339
+ $ref: '#/components/responses/403'
21340
+ '404':
21341
+ $ref: '#/components/responses/404'
21342
+ '500':
21343
+ $ref: '#/components/responses/500'
21344
+ /admin/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/dameng/sqlAnalysis:
21345
+ get:
21346
+ tags:
21347
+ - diagnostics
21348
+ summary: Get Dameng SQL analysis
21349
+ description: Get a read-only Dameng SQL analysis snapshot from V$SYSTEM_LONG_EXEC_SQLS (long-running SQL) and V$SYSTEM_LARGE_MEM_SQLS (high-memory SQL). The response does not expose execution plans or remediation actions.
21350
+ operationId: getDiagnosticsDamengSQLAnalysis
21351
+ parameters:
21352
+ - name: orgName
21353
+ in: path
21354
+ description: Organization name
21355
+ required: true
21356
+ schema:
21357
+ type: string
21358
+ - name: clusterName
21359
+ in: path
21360
+ description: Cluster name
21361
+ required: true
21362
+ schema:
21363
+ type: string
21364
+ - name: limit
21365
+ in: query
21366
+ description: Maximum number of SQL entries per category. Defaults to 20.
21367
+ required: false
21368
+ schema:
21369
+ type: integer
21370
+ format: int64
21371
+ responses:
21372
+ '200':
21373
+ description: OK
21374
+ content:
21375
+ application/json:
21376
+ schema:
21377
+ $ref: '#/components/schemas/damengSQLAnalysis'
21378
+ '400':
21379
+ $ref: '#/components/responses/400'
21380
+ '401':
21381
+ $ref: '#/components/responses/401'
21382
+ '403':
21383
+ $ref: '#/components/responses/403'
21384
+ '404':
21385
+ $ref: '#/components/responses/404'
21386
+ '500':
21387
+ $ref: '#/components/responses/500'
21388
+ /admin/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/dameng/sessions/{sessionId}/lockAnalysis:
21389
+ get:
21390
+ tags:
21391
+ - diagnostics
21392
+ summary: Get Dameng session lock analysis
21393
+ description: Get lock and blocking analysis for a Dameng session. Queries V$LOCK and V$SESSIONS to identify blocking/blocked relationships and lock details.
21394
+ operationId: getDiagnosticsDamengSessionLockAnalysis
21395
+ parameters:
21396
+ - name: orgName
21397
+ in: path
21398
+ description: Organization name
21399
+ required: true
21400
+ schema:
21401
+ type: string
21402
+ - name: clusterName
21403
+ in: path
21404
+ description: Cluster name
21405
+ required: true
21406
+ schema:
21407
+ type: string
21408
+ - name: sessionId
21409
+ in: path
21410
+ description: Dameng session ID (SESS_ID)
21411
+ required: true
21412
+ schema:
21413
+ type: integer
21414
+ format: int64
21415
+ responses:
21416
+ '200':
21417
+ description: OK
21418
+ content:
21419
+ application/json:
21420
+ schema:
21421
+ $ref: '#/components/schemas/damengLockAnalysis'
21422
+ '400':
21423
+ $ref: '#/components/responses/400'
21424
+ '401':
21425
+ $ref: '#/components/responses/401'
21426
+ '403':
21427
+ $ref: '#/components/responses/403'
21428
+ '404':
21429
+ $ref: '#/components/responses/404'
21430
+ '500':
21431
+ $ref: '#/components/responses/500'
21432
+ /admin/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/dameng/sessions/{sessionId}:
21433
+ get:
21434
+ tags:
21435
+ - diagnostics
21436
+ summary: Get Dameng session detail
21437
+ description: Get a single Dameng session detail by session ID from V$SESSIONS, including SQL text, transaction info, and client details.
21438
+ operationId: getDiagnosticsDamengSession
21439
+ parameters:
21440
+ - name: orgName
21441
+ in: path
21442
+ description: Organization name
21443
+ required: true
21444
+ schema:
21445
+ type: string
21446
+ - name: clusterName
21447
+ in: path
21448
+ description: Cluster name
21449
+ required: true
21450
+ schema:
21451
+ type: string
21452
+ - name: sessionId
21453
+ in: path
21454
+ description: Dameng session ID (SESS_ID)
21455
+ required: true
21456
+ schema:
21457
+ type: integer
21458
+ format: int64
21459
+ responses:
21460
+ '200':
21461
+ description: OK
21462
+ content:
21463
+ application/json:
21464
+ schema:
21465
+ $ref: '#/components/schemas/damengSessionDetail'
21466
+ '400':
21467
+ $ref: '#/components/responses/400'
21468
+ '401':
21469
+ $ref: '#/components/responses/401'
21470
+ '403':
21471
+ $ref: '#/components/responses/403'
21472
+ '404':
21473
+ $ref: '#/components/responses/404'
21474
+ '500':
21475
+ $ref: '#/components/responses/500'
21476
+ /admin/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/dameng/sessions:
21477
+ get:
21478
+ tags:
21479
+ - diagnostics
21480
+ summary: List Dameng sessions
21481
+ description: List Dameng sessions from V$SESSIONS with lock status from V$LOCK. Returns session ID, user, state, client IP, transaction ID, lock status, SQL text, schema, duration, and more.
21482
+ operationId: listDiagnosticsDamengSessions
21483
+ parameters:
21484
+ - name: orgName
21485
+ in: path
21486
+ description: Organization name
21487
+ required: true
21488
+ schema:
21489
+ type: string
21490
+ - name: clusterName
21491
+ in: path
21492
+ description: Cluster name
21493
+ required: true
21494
+ schema:
21495
+ type: string
21496
+ - name: limit
21497
+ in: query
21498
+ description: Maximum number of sessions to return. Defaults to 200.
21499
+ required: false
21500
+ schema:
21501
+ type: integer
21502
+ format: int64
21503
+ - name: state
21504
+ in: query
21505
+ description: Filter sessions by state (e.g. ACTIVE, IDLE). Matches against V$SESSIONS.STATE.
21506
+ required: false
21507
+ schema:
21508
+ type: string
21509
+ responses:
21510
+ '200':
21511
+ description: OK
21512
+ content:
21513
+ application/json:
21514
+ schema:
21515
+ type: array
21516
+ items:
21517
+ $ref: '#/components/schemas/damengSessionListItem'
21518
+ '400':
21519
+ $ref: '#/components/responses/400'
21520
+ '401':
21521
+ $ref: '#/components/responses/401'
21522
+ '403':
21523
+ $ref: '#/components/responses/403'
21524
+ '404':
21525
+ $ref: '#/components/responses/404'
21526
+ '500':
21527
+ $ref: '#/components/responses/500'
21276
21528
  /admin/v1/data/mongodb/organizations/{orgName}/clusters/{clusterName}/accounts:
21277
21529
  get:
21278
21530
  description: list accounts in mongodb
@@ -39894,6 +40146,329 @@ components:
39894
40146
  capturedAt:
39895
40147
  type: string
39896
40148
  description: Snapshot capture timestamp in UTC.
40149
+ damengTablespaceItem:
40150
+ type: object
40151
+ required:
40152
+ - name
40153
+ - totalMb
40154
+ - freeMb
40155
+ - usedMb
40156
+ - usageRatio
40157
+ properties:
40158
+ name:
40159
+ type: string
40160
+ description: Tablespace name.
40161
+ totalMb:
40162
+ type: number
40163
+ format: double
40164
+ description: Total size in megabytes.
40165
+ freeMb:
40166
+ type: number
40167
+ format: double
40168
+ description: Free size in megabytes.
40169
+ usedMb:
40170
+ type: number
40171
+ format: double
40172
+ description: Used size in megabytes.
40173
+ usageRatio:
40174
+ type: number
40175
+ format: double
40176
+ description: Usage ratio as percentage (0-100).
40177
+ damengSchemaItem:
40178
+ type: object
40179
+ required:
40180
+ - name
40181
+ - sizeBytes
40182
+ properties:
40183
+ name:
40184
+ type: string
40185
+ description: Schema (owner) name.
40186
+ sizeBytes:
40187
+ type: integer
40188
+ format: int64
40189
+ description: Total segment size in bytes across all objects owned by this schema.
40190
+ damengTableSizeItem:
40191
+ type: object
40192
+ required:
40193
+ - schema
40194
+ - tableName
40195
+ - sizeBytes
40196
+ properties:
40197
+ schema:
40198
+ type: string
40199
+ description: Schema (owner) name.
40200
+ tableName:
40201
+ type: string
40202
+ description: Table name.
40203
+ sizeBytes:
40204
+ type: integer
40205
+ format: int64
40206
+ description: Total segment size in bytes for this table.
40207
+ rowCount:
40208
+ type: integer
40209
+ format: int64
40210
+ description: Estimated number of rows from DBA_TABLES.NUM_ROWS.
40211
+ damengIndexItem:
40212
+ type: object
40213
+ required:
40214
+ - schema
40215
+ - indexName
40216
+ - tableName
40217
+ - sizeBytes
40218
+ - isUnique
40219
+ properties:
40220
+ schema:
40221
+ type: string
40222
+ description: Schema (owner) name.
40223
+ indexName:
40224
+ type: string
40225
+ description: Index name.
40226
+ tableName:
40227
+ type: string
40228
+ description: Parent table name.
40229
+ sizeBytes:
40230
+ type: integer
40231
+ format: int64
40232
+ description: Segment size in bytes from DBA_SEGMENTS.
40233
+ indexType:
40234
+ type: string
40235
+ description: Index type (e.g. NORMAL, BITMAP, CLUSTER).
40236
+ isUnique:
40237
+ type: boolean
40238
+ description: Whether the index enforces uniqueness.
40239
+ damengSpaceAnalysis:
40240
+ type: object
40241
+ required:
40242
+ - tablespaces
40243
+ properties:
40244
+ tablespaces:
40245
+ type: array
40246
+ description: Tablespace size and usage information from dba_free_space and dba_data_files.
40247
+ items:
40248
+ $ref: '#/components/schemas/damengTablespaceItem'
40249
+ schemas:
40250
+ type: array
40251
+ description: Schema-level size aggregation from DBA_SEGMENTS grouped by OWNER.
40252
+ items:
40253
+ $ref: '#/components/schemas/damengSchemaItem'
40254
+ tables:
40255
+ type: array
40256
+ description: Top-N tables ordered by total size from DBA_SEGMENTS (SEGMENT_TYPE='TABLE').
40257
+ items:
40258
+ $ref: '#/components/schemas/damengTableSizeItem'
40259
+ indexes:
40260
+ type: array
40261
+ description: Top-N indexes ordered by size from DBA_INDEXES joined with DBA_SEGMENTS.
40262
+ items:
40263
+ $ref: '#/components/schemas/damengIndexItem'
40264
+ damengLongExecSQLEntry:
40265
+ type: object
40266
+ required:
40267
+ - sqlText
40268
+ - execTimeMs
40269
+ - nRuns
40270
+ properties:
40271
+ sqlText:
40272
+ type: string
40273
+ description: SQL text from V$SYSTEM_LONG_EXEC_SQLS.
40274
+ execTimeMs:
40275
+ type: integer
40276
+ format: int64
40277
+ description: Execution time in milliseconds.
40278
+ sessionId:
40279
+ type: string
40280
+ description: Session ID, when available.
40281
+ sqlId:
40282
+ type: string
40283
+ description: SQL ID, when available.
40284
+ nRuns:
40285
+ type: integer
40286
+ format: int64
40287
+ description: Number of executions.
40288
+ finishTime:
40289
+ type: string
40290
+ description: SQL finish time in UTC, when available.
40291
+ damengLargeMemSQLEntry:
40292
+ type: object
40293
+ required:
40294
+ - sqlText
40295
+ - memUsedKb
40296
+ - nRuns
40297
+ properties:
40298
+ sqlText:
40299
+ type: string
40300
+ description: SQL text from V$SYSTEM_LARGE_MEM_SQLS.
40301
+ memUsedKb:
40302
+ type: integer
40303
+ format: int64
40304
+ description: Memory used in kilobytes.
40305
+ sessionId:
40306
+ type: string
40307
+ description: Session ID, when available.
40308
+ sqlId:
40309
+ type: string
40310
+ description: SQL ID, when available.
40311
+ finishTime:
40312
+ type: string
40313
+ description: SQL finish time in UTC, when available.
40314
+ nRuns:
40315
+ type: integer
40316
+ format: int64
40317
+ description: Number of executions.
40318
+ damengSQLAnalysis:
40319
+ type: object
40320
+ required:
40321
+ - topLongExecSql
40322
+ - topLargeMemSql
40323
+ properties:
40324
+ topLongExecSql:
40325
+ type: array
40326
+ description: Top long-running SQL entries from V$SYSTEM_LONG_EXEC_SQLS ordered by execution time descending.
40327
+ items:
40328
+ $ref: '#/components/schemas/damengLongExecSQLEntry'
40329
+ topLargeMemSql:
40330
+ type: array
40331
+ description: Top high-memory SQL entries from V$SYSTEM_LARGE_MEM_SQLS ordered by memory usage descending.
40332
+ items:
40333
+ $ref: '#/components/schemas/damengLargeMemSQLEntry'
40334
+ damengSessionDetail:
40335
+ type: object
40336
+ required:
40337
+ - sessId
40338
+ properties:
40339
+ sessId:
40340
+ type: integer
40341
+ format: int64
40342
+ description: Dameng session ID from V$SESSIONS.
40343
+ userName:
40344
+ type: string
40345
+ description: Database user name.
40346
+ state:
40347
+ type: string
40348
+ description: Session state (ACTIVE, IDLE, etc.).
40349
+ clientIp:
40350
+ type: string
40351
+ description: Client IP address.
40352
+ clientType:
40353
+ type: string
40354
+ description: Client type.
40355
+ createTime:
40356
+ type: string
40357
+ description: Session creation time.
40358
+ lastSendTime:
40359
+ type: string
40360
+ description: Last SQL send time.
40361
+ sqlText:
40362
+ type: string
40363
+ description: Current or last SQL text from V$SESSIONS.
40364
+ fullSql:
40365
+ type: string
40366
+ description: Full SQL text via SF_GET_SESSION_SQL.
40367
+ trxId:
40368
+ type: string
40369
+ description: Transaction ID.
40370
+ trxDurationSec:
40371
+ type: integer
40372
+ format: int64
40373
+ description: Seconds since last SQL send time.
40374
+ appName:
40375
+ type: string
40376
+ description: Application name.
40377
+ currSchema:
40378
+ type: string
40379
+ description: Current schema.
40380
+ autoCommit:
40381
+ type: string
40382
+ description: Auto-commit status (Y/N).
40383
+ damengLockRow:
40384
+ type: object
40385
+ required:
40386
+ - trxId
40387
+ properties:
40388
+ trxId:
40389
+ type: integer
40390
+ format: int64
40391
+ description: Transaction ID holding the lock.
40392
+ lockType:
40393
+ type: string
40394
+ description: Lock type.
40395
+ lockMode:
40396
+ type: string
40397
+ description: Lock mode.
40398
+ sessId:
40399
+ type: integer
40400
+ format: int64
40401
+ description: Session ID associated with this lock.
40402
+ clientIp:
40403
+ type: string
40404
+ description: Client IP address for the session.
40405
+ sqlText:
40406
+ type: string
40407
+ description: SQL text for the session.
40408
+ userName:
40409
+ type: string
40410
+ description: User name for the session.
40411
+ damengLockAnalysis:
40412
+ type: object
40413
+ required:
40414
+ - selectedSession
40415
+ - locks
40416
+ - capturedAt
40417
+ properties:
40418
+ selectedSession:
40419
+ $ref: '#/components/schemas/damengSessionDetail'
40420
+ locks:
40421
+ type: array
40422
+ description: Lock records for the selected session's transaction.
40423
+ items:
40424
+ $ref: '#/components/schemas/damengLockRow'
40425
+ capturedAt:
40426
+ type: string
40427
+ description: Backend collection timestamp in UTC.
40428
+ damengSessionListItem:
40429
+ type: object
40430
+ required:
40431
+ - sessId
40432
+ - hasLock
40433
+ properties:
40434
+ sessId:
40435
+ type: integer
40436
+ format: int64
40437
+ description: Dameng session ID from V$SESSIONS.
40438
+ userName:
40439
+ type: string
40440
+ description: Database user name.
40441
+ state:
40442
+ type: string
40443
+ description: Session state (ACTIVE, IDLE, etc.).
40444
+ clientIp:
40445
+ type: string
40446
+ description: Client IP address.
40447
+ trxId:
40448
+ type: string
40449
+ description: Transaction ID.
40450
+ hasLock:
40451
+ type: boolean
40452
+ description: Whether this session has locks from V$LOCK.
40453
+ sqlText:
40454
+ type: string
40455
+ description: Current SQL text from V$SESSIONS.
40456
+ currSchema:
40457
+ type: string
40458
+ description: Current schema (database context).
40459
+ appName:
40460
+ type: string
40461
+ description: Application name.
40462
+ durationSec:
40463
+ type: integer
40464
+ format: int64
40465
+ description: Session duration in seconds.
40466
+ clientType:
40467
+ type: string
40468
+ description: Client type.
40469
+ autoCommit:
40470
+ type: string
40471
+ description: Auto-commit status.
39897
40472
  dbTDERequest:
39898
40473
  type: object
39899
40474
  properties:
@@ -298,6 +298,18 @@ models/create-pg-extension-resp.ts
298
298
  models/create-topic-request.ts
299
299
  models/custom-endpoint-create.ts
300
300
  models/custom-endpoint.ts
301
+ models/dameng-index-item.ts
302
+ models/dameng-large-mem-sqlentry.ts
303
+ models/dameng-lock-analysis.ts
304
+ models/dameng-lock-row.ts
305
+ models/dameng-long-exec-sqlentry.ts
306
+ models/dameng-schema-item.ts
307
+ models/dameng-session-detail.ts
308
+ models/dameng-session-list-item.ts
309
+ models/dameng-space-analysis.ts
310
+ models/dameng-sqlanalysis.ts
311
+ models/dameng-table-size-item.ts
312
+ models/dameng-tablespace-item.ts
301
313
  models/dashboard-option-instance-panels-inner-panels-inner.ts
302
314
  models/dashboard-option-instance-panels-inner.ts
303
315
  models/dashboard-option.ts