1. A computer-system-implemented method for providing a result for a first query and a second query to one or more databases, the method comprising: receiving, at a distributed storage system: the first query for information stored in the distributed storage system and first query-processing information identifying a first set of predefined operations to perform on the one or more databases; and the second query for information stored in the distributed storage system and second query-processing information identifying a second set of predefined operations to perform on the one or more databases; wherein the distributed storage system comprises: the one or more databases; adaptors for multiple storage subsystems in the distributed storage system that store the one or more databases; and multiple indexes, wherein each of the indexes corresponds to a different collection of information stored in the one or more databases; in response to receiving the first query-processing information and the second query-processing information, accessing the first set of predefined operations and the second set of predefined operations; using the computer system, performing the first set of predefined operations and the second set of predefined operations on the one or more databases by: using one or more of the adaptors and one or more of the indexes for the first set of predefined operations on the one or more databases and the second set of predefined operations on the one or more databases; and executing the first set of predefined operations and the second set of predefined operations on the multiple storage subsystems in the distributed storage system; and providing the result of the first set of predefined operations and the second set of predefined operations, including the requested result.