tencentcloud-sdk-python-dbbrain 3.0.1475__tar.gz → 3.0.1478__tar.gz
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.
- {tencentcloud-sdk-python-dbbrain-3.0.1475 → tencentcloud-sdk-python-dbbrain-3.0.1478}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-dbbrain-3.0.1475 → tencentcloud-sdk-python-dbbrain-3.0.1478}/setup.py +1 -1
- {tencentcloud-sdk-python-dbbrain-3.0.1475 → tencentcloud-sdk-python-dbbrain-3.0.1478}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-dbbrain-3.0.1475 → tencentcloud-sdk-python-dbbrain-3.0.1478}/tencentcloud/dbbrain/v20210527/models.py +45 -24
- {tencentcloud-sdk-python-dbbrain-3.0.1475 → tencentcloud-sdk-python-dbbrain-3.0.1478}/tencentcloud_sdk_python_dbbrain.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-dbbrain-3.0.1478/tencentcloud_sdk_python_dbbrain.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-dbbrain-3.0.1475/tencentcloud_sdk_python_dbbrain.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-dbbrain-3.0.1475 → tencentcloud-sdk-python-dbbrain-3.0.1478}/README.rst +0 -0
- {tencentcloud-sdk-python-dbbrain-3.0.1475 → tencentcloud-sdk-python-dbbrain-3.0.1478}/setup.cfg +0 -0
- {tencentcloud-sdk-python-dbbrain-3.0.1475 → tencentcloud-sdk-python-dbbrain-3.0.1478}/tencentcloud/dbbrain/__init__.py +0 -0
- {tencentcloud-sdk-python-dbbrain-3.0.1475 → tencentcloud-sdk-python-dbbrain-3.0.1478}/tencentcloud/dbbrain/v20191016/__init__.py +0 -0
- {tencentcloud-sdk-python-dbbrain-3.0.1475 → tencentcloud-sdk-python-dbbrain-3.0.1478}/tencentcloud/dbbrain/v20191016/dbbrain_client.py +0 -0
- {tencentcloud-sdk-python-dbbrain-3.0.1475 → tencentcloud-sdk-python-dbbrain-3.0.1478}/tencentcloud/dbbrain/v20191016/errorcodes.py +0 -0
- {tencentcloud-sdk-python-dbbrain-3.0.1475 → tencentcloud-sdk-python-dbbrain-3.0.1478}/tencentcloud/dbbrain/v20191016/models.py +0 -0
- {tencentcloud-sdk-python-dbbrain-3.0.1475 → tencentcloud-sdk-python-dbbrain-3.0.1478}/tencentcloud/dbbrain/v20210527/__init__.py +0 -0
- {tencentcloud-sdk-python-dbbrain-3.0.1475 → tencentcloud-sdk-python-dbbrain-3.0.1478}/tencentcloud/dbbrain/v20210527/dbbrain_client.py +0 -0
- {tencentcloud-sdk-python-dbbrain-3.0.1475 → tencentcloud-sdk-python-dbbrain-3.0.1478}/tencentcloud/dbbrain/v20210527/errorcodes.py +0 -0
- {tencentcloud-sdk-python-dbbrain-3.0.1475 → tencentcloud-sdk-python-dbbrain-3.0.1478}/tencentcloud_sdk_python_dbbrain.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-dbbrain-3.0.1475 → tencentcloud-sdk-python-dbbrain-3.0.1478}/tencentcloud_sdk_python_dbbrain.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-dbbrain-3.0.1475 → tencentcloud-sdk-python-dbbrain-3.0.1478}/tencentcloud_sdk_python_dbbrain.egg-info/top_level.txt +0 -0
{tencentcloud-sdk-python-dbbrain-3.0.1475 → tencentcloud-sdk-python-dbbrain-3.0.1478}/setup.py
RENAMED
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-dbbrain',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.0.1478,<4.0.0"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Dbbrain SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -8152,9 +8152,9 @@ class DescribeMySqlProcessListRequest(AbstractModel):
|
|
|
8152
8152
|
:type Host: str
|
|
8153
8153
|
:param _DB: 线程的操作数据库,用于筛选线程列表。
|
|
8154
8154
|
:type DB: str
|
|
8155
|
-
:param _State:
|
|
8155
|
+
:param _State: 线程的操作状态。包含以下枚举值:Sending data-线程正在处理查询结果, Sorting result-线程正在对查询结果进行排序,Creating tmp table-线程正在创建临时表,Altering table-线程正在执行表结构变更,Updating-线程执行更新中。
|
|
8156
8156
|
:type State: str
|
|
8157
|
-
:param _Command:
|
|
8157
|
+
:param _Command: 线程的执行类型。包含以下枚举值:Sleep-线程处于空闲状态,Query-线程正在执行一个查询,Connect-从服务器连接到主服务器,Execute-线程正在执行预处理语句。
|
|
8158
8158
|
:type Command: str
|
|
8159
8159
|
:param _Time: 线程的操作时长最小值,单位秒,用于筛选操作时长大于该值的线程列表。
|
|
8160
8160
|
:type Time: int
|
|
@@ -8162,7 +8162,9 @@ class DescribeMySqlProcessListRequest(AbstractModel):
|
|
|
8162
8162
|
:type Info: str
|
|
8163
8163
|
:param _Limit: 返回数量,默认20。
|
|
8164
8164
|
:type Limit: int
|
|
8165
|
-
:param _Product: 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb"
|
|
8165
|
+
:param _Product: 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"mariadb"-mariadb;"cynosdb"-TDSQL-C for MySQL ;"dcdb"-TDSQL MySQL 默认为"mysql"。
|
|
8166
|
+
|
|
8167
|
+
|
|
8166
8168
|
:type Product: str
|
|
8167
8169
|
:param _StatDimensions: 会话统计的维度信息,可以多个维度。
|
|
8168
8170
|
:type StatDimensions: list of StatDimension
|
|
@@ -8237,7 +8239,7 @@ class DescribeMySqlProcessListRequest(AbstractModel):
|
|
|
8237
8239
|
|
|
8238
8240
|
@property
|
|
8239
8241
|
def State(self):
|
|
8240
|
-
r"""
|
|
8242
|
+
r"""线程的操作状态。包含以下枚举值:Sending data-线程正在处理查询结果, Sorting result-线程正在对查询结果进行排序,Creating tmp table-线程正在创建临时表,Altering table-线程正在执行表结构变更,Updating-线程执行更新中。
|
|
8241
8243
|
:rtype: str
|
|
8242
8244
|
"""
|
|
8243
8245
|
return self._State
|
|
@@ -8248,7 +8250,7 @@ class DescribeMySqlProcessListRequest(AbstractModel):
|
|
|
8248
8250
|
|
|
8249
8251
|
@property
|
|
8250
8252
|
def Command(self):
|
|
8251
|
-
r"""
|
|
8253
|
+
r"""线程的执行类型。包含以下枚举值:Sleep-线程处于空闲状态,Query-线程正在执行一个查询,Connect-从服务器连接到主服务器,Execute-线程正在执行预处理语句。
|
|
8252
8254
|
:rtype: str
|
|
8253
8255
|
"""
|
|
8254
8256
|
return self._Command
|
|
@@ -8292,7 +8294,9 @@ class DescribeMySqlProcessListRequest(AbstractModel):
|
|
|
8292
8294
|
|
|
8293
8295
|
@property
|
|
8294
8296
|
def Product(self):
|
|
8295
|
-
r"""服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb"
|
|
8297
|
+
r"""服务产品类型,支持值:"mysql" - 云数据库 MySQL;"mariadb"-mariadb;"cynosdb"-TDSQL-C for MySQL ;"dcdb"-TDSQL MySQL 默认为"mysql"。
|
|
8298
|
+
|
|
8299
|
+
|
|
8296
8300
|
:rtype: str
|
|
8297
8301
|
"""
|
|
8298
8302
|
return self._Product
|
|
@@ -8350,7 +8354,7 @@ class DescribeMySqlProcessListResponse(AbstractModel):
|
|
|
8350
8354
|
r"""
|
|
8351
8355
|
:param _ProcessList: 实时线程列表。
|
|
8352
8356
|
:type ProcessList: list of MySqlProcess
|
|
8353
|
-
:param _Statistics: sql
|
|
8357
|
+
:param _Statistics: sql会话统计信息。如果请求参数中包含StatDimensions,该参数则可能返回,否则不返回。
|
|
8354
8358
|
:type Statistics: list of StatisticInfo
|
|
8355
8359
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8356
8360
|
:type RequestId: str
|
|
@@ -8372,7 +8376,7 @@ class DescribeMySqlProcessListResponse(AbstractModel):
|
|
|
8372
8376
|
|
|
8373
8377
|
@property
|
|
8374
8378
|
def Statistics(self):
|
|
8375
|
-
r"""sql
|
|
8379
|
+
r"""sql会话统计信息。如果请求参数中包含StatDimensions,该参数则可能返回,否则不返回。
|
|
8376
8380
|
:rtype: list of StatisticInfo
|
|
8377
8381
|
"""
|
|
8378
8382
|
return self._Statistics
|
|
@@ -16837,14 +16841,17 @@ class MySqlProcess(AbstractModel):
|
|
|
16837
16841
|
:type Host: str
|
|
16838
16842
|
:param _DB: 线程的操作数据库。
|
|
16839
16843
|
:type DB: str
|
|
16840
|
-
:param _State:
|
|
16844
|
+
:param _State: 线程的操作状态。包含以下枚举值:Sending data-线程正在处理查询结果, Sorting result-线程正在对查询结果进行排序,Creating tmp table-线程正在创建临时表,Altering table-线程正在执行表结构变更,Updating-线程执行更新中。
|
|
16841
16845
|
:type State: str
|
|
16842
|
-
:param _Command:
|
|
16846
|
+
:param _Command: 线程的执行类型。包含以下枚举值:Sleep-线程处于空闲状态,Query-线程正在执行一个查询,Connect-从服务器连接到主服务器,Execute-线程正在执行预处理语句。
|
|
16843
16847
|
:type Command: str
|
|
16844
16848
|
:param _Time: 线程的操作时长,单位秒。
|
|
16845
16849
|
:type Time: str
|
|
16846
16850
|
:param _Info: 线程的操作语句。
|
|
16847
16851
|
:type Info: str
|
|
16852
|
+
:param _SqlType: sql类型
|
|
16853
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
16854
|
+
:type SqlType: str
|
|
16848
16855
|
"""
|
|
16849
16856
|
self._ID = None
|
|
16850
16857
|
self._User = None
|
|
@@ -16854,6 +16861,7 @@ class MySqlProcess(AbstractModel):
|
|
|
16854
16861
|
self._Command = None
|
|
16855
16862
|
self._Time = None
|
|
16856
16863
|
self._Info = None
|
|
16864
|
+
self._SqlType = None
|
|
16857
16865
|
|
|
16858
16866
|
@property
|
|
16859
16867
|
def ID(self):
|
|
@@ -16901,7 +16909,7 @@ class MySqlProcess(AbstractModel):
|
|
|
16901
16909
|
|
|
16902
16910
|
@property
|
|
16903
16911
|
def State(self):
|
|
16904
|
-
r"""
|
|
16912
|
+
r"""线程的操作状态。包含以下枚举值:Sending data-线程正在处理查询结果, Sorting result-线程正在对查询结果进行排序,Creating tmp table-线程正在创建临时表,Altering table-线程正在执行表结构变更,Updating-线程执行更新中。
|
|
16905
16913
|
:rtype: str
|
|
16906
16914
|
"""
|
|
16907
16915
|
return self._State
|
|
@@ -16912,7 +16920,7 @@ class MySqlProcess(AbstractModel):
|
|
|
16912
16920
|
|
|
16913
16921
|
@property
|
|
16914
16922
|
def Command(self):
|
|
16915
|
-
r"""
|
|
16923
|
+
r"""线程的执行类型。包含以下枚举值:Sleep-线程处于空闲状态,Query-线程正在执行一个查询,Connect-从服务器连接到主服务器,Execute-线程正在执行预处理语句。
|
|
16916
16924
|
:rtype: str
|
|
16917
16925
|
"""
|
|
16918
16926
|
return self._Command
|
|
@@ -16943,6 +16951,18 @@ class MySqlProcess(AbstractModel):
|
|
|
16943
16951
|
def Info(self, Info):
|
|
16944
16952
|
self._Info = Info
|
|
16945
16953
|
|
|
16954
|
+
@property
|
|
16955
|
+
def SqlType(self):
|
|
16956
|
+
r"""sql类型
|
|
16957
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
16958
|
+
:rtype: str
|
|
16959
|
+
"""
|
|
16960
|
+
return self._SqlType
|
|
16961
|
+
|
|
16962
|
+
@SqlType.setter
|
|
16963
|
+
def SqlType(self, SqlType):
|
|
16964
|
+
self._SqlType = SqlType
|
|
16965
|
+
|
|
16946
16966
|
|
|
16947
16967
|
def _deserialize(self, params):
|
|
16948
16968
|
self._ID = params.get("ID")
|
|
@@ -16953,6 +16973,7 @@ class MySqlProcess(AbstractModel):
|
|
|
16953
16973
|
self._Command = params.get("Command")
|
|
16954
16974
|
self._Time = params.get("Time")
|
|
16955
16975
|
self._Info = params.get("Info")
|
|
16976
|
+
self._SqlType = params.get("SqlType")
|
|
16956
16977
|
memeber_set = set(params.keys())
|
|
16957
16978
|
for name, value in vars(self).items():
|
|
16958
16979
|
property_name = name[1:]
|
|
@@ -19067,21 +19088,21 @@ class SlowLogAgg(AbstractModel):
|
|
|
19067
19088
|
|
|
19068
19089
|
def __init__(self):
|
|
19069
19090
|
r"""
|
|
19070
|
-
:param _Cmd:
|
|
19091
|
+
:param _Cmd: 命令模板。
|
|
19071
19092
|
:type Cmd: str
|
|
19072
19093
|
:param _Detail: 命令详情。
|
|
19073
19094
|
:type Detail: str
|
|
19074
19095
|
:param _ExecTimes: 执行次数。
|
|
19075
19096
|
:type ExecTimes: int
|
|
19076
|
-
:param _QueryTime:
|
|
19097
|
+
:param _QueryTime: 总耗时。单位:s
|
|
19077
19098
|
:type QueryTime: float
|
|
19078
|
-
:param _QueryTimeAvg:
|
|
19099
|
+
:param _QueryTimeAvg: 平均执行时间。单位:s
|
|
19079
19100
|
:type QueryTimeAvg: float
|
|
19080
|
-
:param _QueryTimeMax:
|
|
19101
|
+
:param _QueryTimeMax: 最大执行时间。单位:s
|
|
19081
19102
|
:type QueryTimeMax: float
|
|
19082
|
-
:param _QueryTimeMin:
|
|
19103
|
+
:param _QueryTimeMin: 最小执行时间。单位:s
|
|
19083
19104
|
:type QueryTimeMin: float
|
|
19084
|
-
:param _QueryTimeRatio:
|
|
19105
|
+
:param _QueryTimeRatio: 总耗时占比。单位:%
|
|
19085
19106
|
:type QueryTimeRatio: float
|
|
19086
19107
|
"""
|
|
19087
19108
|
self._Cmd = None
|
|
@@ -19095,7 +19116,7 @@ class SlowLogAgg(AbstractModel):
|
|
|
19095
19116
|
|
|
19096
19117
|
@property
|
|
19097
19118
|
def Cmd(self):
|
|
19098
|
-
r"""
|
|
19119
|
+
r"""命令模板。
|
|
19099
19120
|
:rtype: str
|
|
19100
19121
|
"""
|
|
19101
19122
|
return self._Cmd
|
|
@@ -19128,7 +19149,7 @@ class SlowLogAgg(AbstractModel):
|
|
|
19128
19149
|
|
|
19129
19150
|
@property
|
|
19130
19151
|
def QueryTime(self):
|
|
19131
|
-
r"""
|
|
19152
|
+
r"""总耗时。单位:s
|
|
19132
19153
|
:rtype: float
|
|
19133
19154
|
"""
|
|
19134
19155
|
return self._QueryTime
|
|
@@ -19139,7 +19160,7 @@ class SlowLogAgg(AbstractModel):
|
|
|
19139
19160
|
|
|
19140
19161
|
@property
|
|
19141
19162
|
def QueryTimeAvg(self):
|
|
19142
|
-
r"""
|
|
19163
|
+
r"""平均执行时间。单位:s
|
|
19143
19164
|
:rtype: float
|
|
19144
19165
|
"""
|
|
19145
19166
|
return self._QueryTimeAvg
|
|
@@ -19150,7 +19171,7 @@ class SlowLogAgg(AbstractModel):
|
|
|
19150
19171
|
|
|
19151
19172
|
@property
|
|
19152
19173
|
def QueryTimeMax(self):
|
|
19153
|
-
r"""
|
|
19174
|
+
r"""最大执行时间。单位:s
|
|
19154
19175
|
:rtype: float
|
|
19155
19176
|
"""
|
|
19156
19177
|
return self._QueryTimeMax
|
|
@@ -19161,7 +19182,7 @@ class SlowLogAgg(AbstractModel):
|
|
|
19161
19182
|
|
|
19162
19183
|
@property
|
|
19163
19184
|
def QueryTimeMin(self):
|
|
19164
|
-
r"""
|
|
19185
|
+
r"""最小执行时间。单位:s
|
|
19165
19186
|
:rtype: float
|
|
19166
19187
|
"""
|
|
19167
19188
|
return self._QueryTimeMin
|
|
@@ -19172,7 +19193,7 @@ class SlowLogAgg(AbstractModel):
|
|
|
19172
19193
|
|
|
19173
19194
|
@property
|
|
19174
19195
|
def QueryTimeRatio(self):
|
|
19175
|
-
r"""
|
|
19196
|
+
r"""总耗时占比。单位:%
|
|
19176
19197
|
:rtype: float
|
|
19177
19198
|
"""
|
|
19178
19199
|
return self._QueryTimeRatio
|
tencentcloud-sdk-python-dbbrain-3.0.1478/tencentcloud_sdk_python_dbbrain.egg-info/requires.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.0.1478
|
tencentcloud-sdk-python-dbbrain-3.0.1475/tencentcloud_sdk_python_dbbrain.egg-info/requires.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.0.1475
|
{tencentcloud-sdk-python-dbbrain-3.0.1475 → tencentcloud-sdk-python-dbbrain-3.0.1478}/README.rst
RENAMED
|
File without changes
|
{tencentcloud-sdk-python-dbbrain-3.0.1475 → tencentcloud-sdk-python-dbbrain-3.0.1478}/setup.cfg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|