This invention relates to networking analysis, and more particularly to a method and apparatus for bounding large query operations, to alert a user of a network test system that a data set query may be too large to complete in a reasonable time.
In test and measurement of complex computer networking environments, one system of network analysis operates by monitoring network traffic and collecting and storing data related to the network traffic for later analysis and presentation. Typically many hundreds of gigabytes of data will be collected.
A network technician using a test and measurement system of this type may submit queries to the system in the process of analyzing the network data. However, a complex query or a query on a specific set of data may be of such computational complexity that given the large amount of data, the query may require a substantial amount of time to complete. If the amount of time is too long, the technician may become frustrated or give up while waiting for results to be returned. It should be noted that the term “too long” is a subjective measure of the technician or other user's perception of the amount of time from the submission of the query to the results being returned back to the user.
In accordance with the invention, a query is employed to conduct a meta data query to provide a determination of the size of the desired query result set. If the result set is too large, an information, warning, or error message is returned to the user. Otherwise, the desired query is submitted to the data set in order to determine and supply the results to the user.
Accordingly, it is an object of the present invention to provide an improved network analysis system for determining whether a query result set is too large to complete in a reasonable amount of time and warning the user if it is too large.
It is a further object of the present invention to provide a system for bounding large queries of network data.
It is yet another object of the present invention to provide improved methods of performing network data set queries.
The subject matter of the present invention is particularly pointed out and distinctly claimed in the concluding portion of this specification. However, both the organization and method of operation, together with further advantages and objects thereof, may best be understood by reference to the following description taken in connection with accompanying drawings wherein like reference characters refer to like elements.
The system according to a preferred embodiment of the present invention comprises a monitoring system and method having interface for the user to query a network data set and for determining whether the query would or would not execute in a reasonable time.
Referring to
The data set 18 may include data comprising a collection that describes parts of conversations between points in the network (or networks) that are monitored, information metrics, measured network parameters and operational details and information about events and transactions observed during monitoring.
In operation, the user logs into an interface to the data collection device to submit a query 20 to the data collection device 16. The data collection device includes a processor that receives the user query and submits a meta data query 22 to the data set. Among other items collected in the data set are information, statistics or other data regarding the network traffic. An example of such information, etc. is the number of transactions between a client and a server. Accordingly, the device 16 processor submits a meta data query to the data set to determine, for example, the number of transactions in the data set between client and server. If the number of transactions is too large such that the amount of time to perform a search or analysis of the data would not be reasonable, then a response indication 24 from the device 16 is returned to the user indicating that the search needs to be refined.
If the determination is that the query is reasonable with respect to the amount of data that would be searched and accordingly the amount of time to complete the query, then the user query is submitted to the data set for selection of the data and return of the results.
As an example of operation of the device and method, in a network analysis environment, a query might be a request for all the transactions that conform to some filter criteria, all transactions from a time period, all transactions from a particular server or servers, all transactions between a particular server or servers and client(s), etc. Such queries could result in looking at millions or more of transactions, which could lead to unreasonable computation time or result sets.
Consequently, the system determines whether a query from a user can be quickly retrieved in a reasonable amount of time, which in a particular embodiment is chosen to be within 5 minutes.
Other data sets could include packet data, client statistical data, server statistical data, a set where all elements are greater than some threshold on one specific metric, etc.
In accordance with the above, the invention employs a meta data search to determine whether a user query can be completed within a reasonable time, and advises a user if the results would take an unreasonable amount of time to return. This allows the user to submit a more reasonable search criteria to obtain meaningful results, reducing the likelihood of user frustration as would occur from long delays before the user realized the criteria was too computationally complex to provide results in a reasonable time.
While a preferred embodiment of the present invention has been shown and described, it will be apparent to those skilled in the art that many changes and modifications may be made without departing from the invention in its broader aspects. The appended claims are therefore intended to cover all such changes and modifications as fall within the true spirit and scope of the invention.
This application claims priority of U.S. provisional patent application 61/229,176, filed Jul. 28, 2009, entitled METHOD AND APPARATUS FOR BOUNDING LARGE QUERY OPERATIONS.
Number | Date | Country | |
---|---|---|---|
61229176 | Jul 2009 | US |