Mengkueri informasi binding Outline atau informasi pembatasan kecepatan untuk pernyataan SQL dalam database berdasarkan SQLID-nya.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
oceanbase:DescribeOutlineBinding |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| TenantId |
string |
Yes |
ID penyewa. |
t2mr3oae0**** |
| TableName |
string |
Yes |
Nama penyewa. Panjang nilai harus 2 hingga 20 karakter dan dapat berisi huruf, digit, dan garis bawah. Nilai bersifat case-sensitive dan harus diawali dengan huruf atau garis bawah. Nilai tidak dapat diatur ke sys. |
pay_online |
| DatabaseName |
string |
Yes |
Nama database. |
testdb |
| SQLId |
string |
Yes |
SQLID. |
8D6E84****0B8FB1823D199E2CA1**** |
| IsConcurrentLimit |
boolean |
No |
|
false |
| InstanceId |
string |
No |
ID kluster OceanBase. |
ob317v4uif**** |
| DynamicSql |
boolean |
No |
Apakah merupakan SQL templat. |
|
| FormatSqlId |
string |
No |
ID SQL format. |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Hasil respons. |
||
| OutlineBinding |
object |
Informasi binding. |
|
| BindPlan |
string |
Rencana binding. |
PHY_TABLE_SCAN | bmsql_order_line | 40 ****** |
| OutlineId |
integer |
OutlineID. |
-1 |
| BindIndex |
string |
Indeks binding. |
PRIMARY |
| MaxConcurrent |
integer |
Konkurensi maksimum. |
2 |
| TableName |
string |
Nama tabel. |
cluster_info |
| SqlText |
string |
Teks SQL yang dibatasi kecepatannya. |
|
| SqlTextConcurrentNum |
integer |
Nilai pembatasan kecepatan. |
|
| ByFormatSqlId |
boolean |
Apakah merupakan binding fuzzy. |
|
| RequestId |
string |
ID permintaan. |
EE205C00-30E4-XXXX-XXXX-87E3A8A2AA0C |
Contoh
Respons sukses
JSONformat
{
"OutlineBinding": {
"BindPlan": "PHY_TABLE_SCAN | bmsql_order_line | 40 ******",
"OutlineId": -1,
"BindIndex": "PRIMARY",
"MaxConcurrent": 2,
"TableName": "cluster_info",
"SqlText": "",
"SqlTextConcurrentNum": 0,
"ByFormatSqlId": false
},
"RequestId": "EE205C00-30E4-XXXX-XXXX-87E3A8A2AA0C"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 2014 | InternalError | The request processing has failed due to some unknown error. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.