1. A method of establishing a parallel processing framework for a multi-tenant on-demand database system, the method comprising: processing computational jobs; storing data related to said computational jobs in a queue table of a database including a plurality of job types; identifying, among said data, information concerning a plurality of job classes which maps to a plurality of job types that are associated with the computational jobs to be processed and also identifying one of said computational jobs that may be partitioned as a plurality of tasks and a job type of the one of said computational jobs, such that each of said tasks may be processed independent of the remaining tasks of said plurality of tasks, wherein the plurality job classes defines a plurality of job handlers for processing the computational jobs and initiating a job handler appropriate for processing the one of said computational jobs based on the job type; and wherein, upon completion of the one of said computational jobs, termination of the job handler of the one of said computational jobs is dependent upon historical information concerning historical computational requirements of a job type, present in the queue table, corresponding to the job type of the one of said computation jobs.