This feature is only available for SQL Server 2008 and above.
IDERA SQL Compliance Manager audits and reports on the frequency that users access sensitive data, alerting about suspicious behavior.
The Row Count feature allows users to:
- Audit and capture row count for all event types and SQL statements.
- Audit and capture row count for joined query statements.
- Report on row count and access sensitive data.
- Set alerts based on thresholds for row counts, users, sensitive data, and specific queries.
Row count information is captured as part of an audit event and gathers information from both, traces and extended events.
See row count information
The row count information is available in the General tab of any event properties, as well as the Audit Events tab in the Explore Activity view.
For select statements with sensitive columns
In the Event Properties Dialog under the general tab, add row count next to the
SQL Statement. (Figure 5.3.2.4)
● For the select statement with sensitive columns ( Figure 5.3.2.5 ), there is an extra
tab on the event properties dialog named sensitive columns. Insert a new column
labeled row count to the right of the existing column and make the new column
value right aligned. Both column and row count columns on the sensitive column
tab should be sortable
● On the Audit Event Tab ( Figure 5.3.2.6 ) the row count information should be
displayed on the expanded event details in the audit events - for Select Events.
● Events with a join statement should have one row count result. The row count
should reflect the entirety of the statement and the UI should have one
consolidated total for row count. The UI should show the entire join statement as
one statement (and not the components of the join statement).