Skip to content

Commit

Permalink
Tuned the activity query
Browse files Browse the repository at this point in the history
  • Loading branch information
nenadnoveljic committed Nov 23, 2023
1 parent eaf2374 commit 445be00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/collector/corechecks/oracle-dbm/activity_queries.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ WHERE
)
AND status = 'ACTIVE'`

const activityQueryDirect = `SELECT /* DD_ACTIVITY_SAMPLING */
const activityQueryDirect = `SELECT /*+ push_pred(sq) push_pred(sq_prev) */ /* DD_ACTIVITY_SAMPLING */
s.sid,
s.serial#,
s.username,
Expand Down

0 comments on commit 445be00

Please sign in to comment.