1 ) A method, comprising: building, with a computer, a model of multi-dimensional sequence data in real-time with cuboids that aggregate the multi-dimensional sequence data over both patterns and dimensions; and providing, with a computer, search results for a query in real-time.