SdbTraceOption
包括指定模块、断点、线程号、函数以及线程类型等参数。
SdbTraceOption() [.components( <component1> [,component2…] )] [.breakPoints( <breakPoint1> [,breakPoint2…] )] [.tids( <tid1> [,tid2…] )] [.functionNames( <functionName1> [,functionName2…] )] [.threadTypes( <threadType1> [,threadType2…] )]
SdbTraceOption() [.components( [ <component1>, <component2>, … ] )] [.breakPoints( [ <breakPoint1>, <breakPoint2>, … ] )] [ .tids( [ <tid1>, <tid2>, … ] )] [.functionNames( [ <functionName1>, <functionName2>, … ] )] [.threadTypes( [ <threadType1>, <threadType2>, … ] )]
模块方法
可选值 | 描述 |
---|---|
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 | —- | 指定线类型 | 否 |
常见错误可参考错误码
- 开启监控程序
- 对于方法中存在多个参数的情况,可以通过多次调用该方法指定参数