1. A method for security auditing of database transactions, the method comprising: forecasting, in a data processing system, for a specified period, an available capacity of a computing resource in the data processing system, the available capacity being usable to analyze a database protocol packet, wherein the database protocol packet is stored in a shared memory during a data communication; determining a number of database protocol packets expected in the shared memory during the specified period; determining a second number of database protocol packets that can be analyzed using the available capacity of the computing resource; and causing, during the specified period, the second number of database protocol packets to be selected from every number of database protocol packets stored in the shared memory, the selected database protocol packets being analyzed using the computing resource during the specified period.