A method performed by a relational database engine of a first computer, the method comprising: receiving a query for the relational database engine; executing the query, wherein execution of the query comprises: temporarily storing first working data in main memory (110(a)) of the first computer (102(a)); detecting a depletion of the main memory (110(a)) of the first computer (102(a)); requesting, from a memory broker, an allocation of remote memory (110(b)) based on the detecting the depletion of the main memory (110(a)), wherein the requesting indicates a needed length of time for the remote memory (110(b)) and an access pattern for the remote memory (110(b)), wherein the remote memory (110(b)) comprises main memory of a second computer (102(b)) that is accessible to the relational database engine using a remote direct memory access, RDMA, network interface of the first computer; receiving, from the memory broker, a notification that the remote memory (110(b)) is allocated for the first computer (102(a))), wherein the remote memory (110(b)) is available for at least the needed length of time, and wherein a policy of the second computer matches the access pattern; accessing the remote memory (110(b)) through the RDMA network interface, wherein the accessing is based on the access pattern; temporarily storing second working data in the remote memory (110(b)) for use by the relational database engine. receiving a query for the relational database engine; executing the query, wherein execution of the query comprises: temporarily storing first working data in main memory (110(a)) of the first computer (102(a)); detecting a depletion of the main memory (110(a)) of the first computer (102(a)); requesting, from a memory broker, an allocation of remote memory (110(b)) based on the detecting the depletion of the main memory (110(a)), wherein the requesting indicates a needed length of time for the remote memory (110(b)) and an access pattern for the remote memory (110(b)), wherein the remote memory (110(b)) comprises main memory of a second computer (102(b)) that is accessible to the relational database engine using a remote direct memory access, RDMA, network interface of the first computer; receiving, from the memory broker, a notification that the remote memory (110(b)) is allocated for the first computer (102(a))), wherein the remote memory (110(b)) is available for at least the needed length of time, and wherein a policy of the second computer matches the access pattern; accessing the remote memory (110(b)) through the RDMA network interface, wherein the accessing is based on the access pattern; temporarily storing second working data in the remote memory (110(b)) for use by the relational database engine. temporarily storing first working data in main memory (110(a)) of the first computer (102(a)); detecting a depletion of the main memory (110(a)) of the first computer (102(a)); requesting, from a memory broker, an allocation of remote memory (110(b)) based on the detecting the depletion of the main memory (110(a)), wherein the requesting indicates a needed length of time for the remote memory (110(b)) and an access pattern for the remote memory (110(b)), wherein the remote memory (110(b)) comprises main memory of a second computer (102(b)) that is accessible to the relational database engine using a remote direct memory access, RDMA, network interface of the first computer; receiving, from the memory broker, a notification that the remote memory (110(b)) is allocated for the first computer (102(a))), wherein the remote memory (110(b)) is available for at least the needed length of time, and wherein a policy of the second computer matches the access pattern; accessing the remote memory (110(b)) through the RDMA network interface, wherein the accessing is based on the access pattern; temporarily storing second working data in the remote memory (110(b)) for use by the relational database engine.