1. A database system-implemented method comprising: monitoring, in real-time, by the database system, time usage associated with a plurality of job types in message queues, wherein the plurality of job types are requested by a plurality of tenants in a multi-tenant environment; predicting, in real-time, by applying a sliding time scale, a segment of time of the time usage relating to a job type in a message queue, wherein the segment of time includes an expected wait time for the job type in the message queue and an expected execution time to complete the job type; allocating, in real-time, based on the segment of time, a set of thread resources to the job type associated with a tenant, wherein allocating further includes enforcing equitable distribution of the thread resources to other job types of the plurality of job types associated with other tenants of the plurality of tenants; and delaying, in real-time, based on the segment of time, the allocation of the set of thread resources to the job type to allow the set of thread resources to continue to be used by an existing job type or preserving the set of thread resources for a later use by the job type or one or more of the plurality of job types.