A system and method for scheduling database operations to one or more
databases in a parallel-processing database system are described herein.
After a query server generates a dynamic-link library (DLL) or other
executable representative of one or more database operations to a
database, the query server notifies a scheduling services module of the
generation of the DLL and submits the DLL to a query agent. The query
agent notifies the scheduling services module of its receipt of the DLL.
Based on any of a variety of considerations, the scheduling services
module schedules a time of execution for the DLL by one or more
processing matrices that store the database. At the scheduled time, the
scheduling services module directs the query agent to submit the DLL to
the indicated processing matrices. The scheduling services module also
can be adapted to monitor the execution of previously submitted DLLs by
one or more processing matrices and adjust the scheduled times of
execution for subsequent DLLs accordingly.