1. A computer-implemented method in which a computer system performs operations comprising: extracting query activity vectors from database logs; identifying a set of business processes by clustering said query activity vectors to generate groups of queries having similar query activity vectors, said groups corresponding to said business processes; discovering periodic structure in said business processes and predicting their future activity; and providing predictions of future activity of said business processes to a storage system.