avatar
请教teradata问题# Database - 数据库
c*j
1
请问有没有什么工具能够查到Teradata server所接受的Query呢?类似于SQL Server
Profiler的咚咚?
Thanks
avatar
w*r
2
turn on DBQL Logging or use TASM to log deatail for the workload you are
targetig to log, then check the content of dbc.qrylogtbl table or dbc.
querylog view.
Be careful when you turn on logging for high-concurrent workload with detail
steps logging, it do have performance complication(not quite visible for
low activity OLAP systems).

【在 c******j 的大作中提到】
: 请问有没有什么工具能够查到Teradata server所接受的Query呢?类似于SQL Server
: Profiler的咚咚?
: Thanks

avatar
c*j
3
Thanks, could you please kindly give some details? I am totally new to this
server.
avatar
w*r
4
for DBQL Logging
Begin query logging [with ,*] [LIMIT [AND <
limit option>}*} ON [username ,] | ACCOUNT= (account string,*)>;
check the SQL Reference Database Definition Statements manual.
For TASM , check the Teradata document broucher and search Teradata Dynamic
Workload
Management
Both methods write the results into a set of DBQL Tables plus a couple of
TASM summary tables. Details
can be found in the SQL Reference DDL reference.

detail

【在 w*r 的大作中提到】
: turn on DBQL Logging or use TASM to log deatail for the workload you are
: targetig to log, then check the content of dbc.qrylogtbl table or dbc.
: querylog view.
: Be careful when you turn on logging for high-concurrent workload with detail
: steps logging, it do have performance complication(not quite visible for
: low activity OLAP systems).

avatar
c*j
5
Thanks a lot!
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。