1. A method comprising: receiving a stream of data; approximating the steam of data using an equation; and receiving a database query concerning the stream of data and responding by using the equation to calculate a response.