Mengambil hasil ulasan dari tiket ulasan SQL.
Deskripsi operasi
Untuk informasi lebih lanjut mengenai fitur ini, lihat SQL Review.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:GetSQLReviewCheckResultStatus |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| OrderId |
integer |
Yes |
ID Tiket. Anda dapat memanggil operasi CreateSQLReviewOrder untuk mendapatkan parameter ini. |
123321 |
| Tid |
integer |
No |
ID penyewa. Anda dapat memanggil operasi GetUserActiveTenant atau ListUserTenants untuk mendapatkan parameter ini. |
1 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931 |
| ErrorCode |
string |
Kode kesalahan. |
UnknownError |
| ErrorMessage |
string |
Paket kesalahan. |
UnknownError |
| Success |
boolean |
Apakah permintaan berhasil. |
true |
| CheckResultStatus |
object |
Hasil ulasan SQL. |
|
| TotalSQLCount |
integer |
Jumlah total pernyataan SQL. Unit: statements. |
10 |
| CheckedCount |
integer |
Jumlah pernyataan SQL yang telah diulas. Unit: statements. |
10 |
| CheckStatusResult |
object |
Status pemeriksaan. |
|
| New |
integer |
The number of SQL statements to be reviewed. |
0 |
| Unknown |
integer |
The number of abnormal SQL statements. |
0 |
| CheckNotPass |
integer |
The number of SQL statements that failed to pass the review. |
1 |
| CheckPass |
integer |
The number of SQL statements that passed the review. |
8 |
| ForcePass |
integer |
The number of SQL statements that passed the manual review. |
1 |
| ForceNotPass |
integer |
The number of SQL statements that failed to pass the manual review. |
0 |
| SQLReviewResult |
object |
Saran pengoptimalan ulasan SQL. |
|
| MustImprove |
integer |
The number of SQL statements that must be modified. |
1 |
| PotentialIssue |
integer |
The number of SQL statements that have potential issues. |
0 |
| SuggestImprove |
integer |
The number of SQL statements that can be modified. |
3 |
| UseDmsToolkit |
integer |
The number of SQL statements that can be used for lock-free schema changes. |
0 |
| UseDmsDmlUnlock |
integer |
The number of SQL statements that can be used for lock-free data changes. |
0 |
| TableIndexSuggest |
integer |
The number of SQL statements that can use indexes. |
2 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931",
"ErrorCode": "UnknownError",
"ErrorMessage": "UnknownError",
"Success": true,
"CheckResultStatus": {
"TotalSQLCount": 10,
"CheckedCount": 10,
"CheckStatusResult": {
"New": 0,
"Unknown": 0,
"CheckNotPass": 1,
"CheckPass": 8,
"ForcePass": 1,
"ForceNotPass": 0
},
"SQLReviewResult": {
"MustImprove": 1,
"PotentialIssue": 0,
"SuggestImprove": 3,
"UseDmsToolkit": 0,
"UseDmsDmlUnlock": 0,
"TableIndexSuggest": 2
}
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.