mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-19 00:40:26 +08:00
对服务增加基础的数据统计/部分代码分Package
This commit is contained in:
20
pkg/rpc/protos/models/model_db_table.proto
Normal file
20
pkg/rpc/protos/models/model_db_table.proto
Normal file
@@ -0,0 +1,20 @@
|
||||
syntax = "proto3";
|
||||
option go_package = "./pb";
|
||||
|
||||
package pb;
|
||||
|
||||
// 数据表信息
|
||||
message DBTable {
|
||||
string name = 1;
|
||||
string schema = 2;
|
||||
string type = 3;
|
||||
string engine = 4;
|
||||
int64 rows = 5;
|
||||
int64 dataLength = 6;
|
||||
int64 indexLength = 7;
|
||||
string comment = 8;
|
||||
string collation = 9;
|
||||
bool isBaseTable = 10;
|
||||
bool canClean = 11;
|
||||
bool canDelete = 12;
|
||||
}
|
||||
Reference in New Issue
Block a user