[ 
https://issues.apache.org/jira/browse/CASSANDRA-20885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Miklosovic updated CASSANDRA-20885:
------------------------------------------
                Authors: Dmitry Konstantinov, Stefan Miklosovic  (was: Dmitry 
Konstantinov)
          Fix Version/s: 5.1
                             (was: 5.x)
    Source Control Link: 
https://github.com/apache/cassandra/commit/ecaa650a503864bd68f9e570967a8de75f08eb20
             Resolution: Fixed
                 Status: Resolved  (was: Ready to Commit)

> Optimize org.apache.cassandra.audit.AuditLogManager#batchSuccess
> ----------------------------------------------------------------
>
>                 Key: CASSANDRA-20885
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-20885
>             Project: Apache Cassandra
>          Issue Type: Improvement
>          Components: CQL/Interpreter
>            Reporter: Dmitry Konstantinov
>            Assignee: Dmitry Konstantinov
>            Priority: Normal
>             Fix For: 5.1
>
>         Attachments: audit_batch_perf.patch, image-2025-09-04-13-52-19-490.png
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> When we have an audit enabled for DDL/LOGIN events (and it is disabled for 
> DML) we have an overhead for BATCH operations (0.75% of CPU usage in a real 
> business workload), when we build a BATCH audit event to check that it is not 
> in scope of audit and throw it away
> !image-2025-09-04-13-52-19-490.png|width=600!
>  
> {code:java}
> UUID batchId = UUID.randomUUID();
> String queryString = String.format("BatchId:[%s] - BATCH of [%d] statements", 
> batchId, statements.size()); {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to