简体   繁体   English

如何查找过去2周内在Teradata中查看/使用过该表的用户数量?

[英]How to find the count of users who viewed/used the table in the last 2 weeks in Teradata?

我想获得在teradata中使用任何DML脚本中的特定表或所有表的用户数量。

You will need to have enabled Query Logging with OBJECTS to capture this information in the data dictionary (DBC). 您将需要启用“带对象的查询记录”功能以在数据字典(DBC)中捕获此信息。 Typically this data is moved from DBC to a set of historical tables elsewhere on the system for analysis and audit purposes. 通常,此数据从DBC移到系统上其他位置的一组历史表,以进行分析和审计。 Check with your DBA team for how they are managing DBQL within your environment. 请与您的DBA团队联系,以了解他们如何在您的环境中管理DBQL。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM