1. A method, executed by a database management system, the method comprising: storing a first stored procedure in a first database management module; storing a second stored procedure in a second database management module; receiving by the first database management module a request to run a computational task with the first stored procedure; receiving a request to perform the computational task and in response thereto causing a first query optimizer in the first database management module to automatically compute a query execution plan for the first stored procedure; using the query execution plan to identify all first data containers on the first database management module that provide input data for the computational task to provide identified first data containers; identifying a list of names of all second data containers mapped to the identified first data containers; and performing, by the second database management module, the second stored procedure using the list of names.