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 used 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 using a historical record, the historical record comprising an entry of an actual number of database protocol packets stored in the shared memory during a past period; receiving feedback from the computing resource indicative of actual processor capacity usage for performing protocol analysis by the computing resource; determining an analysis rate for the specified period based upon the determined number of database protocol packets expected in the shared memory during the specified period and the received feedback; determining a second number of database protocol packets that can be analyzed using the available capacity of the computing resource, wherein the second number of database protocol packets is determined based upon the determined analysis rate; 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; performing the analysis on the selected database protocol packets to result in analyzed packets; sending the analyzed packets to a security application executing using a second computing resource in a second data processing system; and sending unselected database protocol packets from the every number of database protocol packets to the security application, wherein the security application performs a security audit on an analyzed packet using a first amount of the second computing resource in comparison to a second amount of the second resource, and wherein the first amount is less than the second amount.