Skip to content

Conversation

@winfredLIN
Copy link
Collaborator

关联的 issue

https://github.com/actiontech/sqle-ee/issues/2270

描述你的变更

  1. Oracle Top SQL增加采集用户名称
  2. 黑名单,增加用户名称黑名单

确认项(pr提交后操作)

Tip

请在指定复审人之前,确认并完成以下事项,完成后✅


  • 我已完成自测
  • 我已记录完整日志方便进行诊断
  • 我已在关联的issue里补充了实现方案
  • 我已在关联的issue里补充了测试影响面
  • 我已确认了变更的兼容性,如果不兼容则在issue里标记 not_compatible
  • 我已确认了是否要更新文档,如果要更新则在issue里标记 need_update_doc

- Implement notInUsers parameter to filter out specific users
- Join V$SQLAREA with DBA_USERS to include username in the query
- Update DynPerformanceSQLArea struct to include UserName field
- Modify query template to accommodate user filtering
…SQL task

- Add MetricNameDBUser to the list of metrics for OracleTopSQLTaskV2
- Implement DB user extraction and aggregation in SQLV2 struct
- Add DB user blacklist support in ExtractSQL function
- Update Head and GetSQLData functions to include DB user information
- Add new filter type 'db_user' to BlacklistFilterType
- Implement db user filtering in FilterSQLsByBlackList function
- Update BlackFilter struct to include BlackDbUserList
- Add IsDbUserInBlackList method to BlackFilter
- Modify ConvertToBlackFilter to handle db user filters
@actiontech-bot actiontech-bot requested a review from iwanghc March 12, 2025 09:52
@iwanghc iwanghc merged commit 993c991 into main Mar 14, 2025
3 checks passed
@winfredLIN winfredLIN deleted the 2270 branch April 11, 2025 05:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants