SdbTraceOption
包括指定模块、断点、线程号、函数以及线程类型等参数。
SdbTraceOption() [.components(
[.breakPoints(
[.tids(
[.functionNames(
[.threadTypes(
SdbTraceOption() [.components( [
[.breakPoints( [
[ .tids( [
[.functionNames( [
[.threadTypes( [
模块方法
conponent 参数的可选值如下表:
可选值 | 描述 |
---|---|
auth | Authentication |
bps | BufferPool Services |
cat | Catalog Services |
cls | Cluster Services |
dps | Data Protection Services |
mig | Migration Services |
msg | Messaging Services |
net | Network Services |
oss | Operating System Services |
pd | Problem Determination |
rtn | RunTime |
sql | SQL Parser |
tools | Tools |
bar | Backup And Recovery |
client | Client |
coord | Coord Services |
dms | Data Management Services |
ixm | Index Management Services |
mon | Monitoring Services |
mth | Methods Services |
opt | Optimizer |
pmd | Process Model |
rest | RESTful Services |
spt | Scripting |
util | Utilities |
线程方法
参数名 | 参数类型 | 默认值 | 描述 | 是否必填 |
---|---|---|---|---|
tid | int / int array | 所有线程 | 指定线程 | 否 |
函数方法
线程类型方法
参数名 | 参数类型 | 默认值 | 描述 | 是否必填 |
---|---|---|---|---|
threadType | string / string array | —- | 指定线类型 | 否 |
threadType 参数的可选值详见线程类型
返回自身,类型为 SdbTraceOption。
常见错误可参考
开启监控程序
对于方法中存在多个参数的情况,可以通过多次调用该方法指定参数