Patent attributes
Systems and methods are provided for processing queues in a database system. An exemplary system includes a database having a plurality of queue tables, with each queue table being associated with a different queue type and having a different schema associated therewith. A server coupled to the database determines a number of threads to allocate to a particular queue based at least in part on a number of entries in a queue table and configuration information associated with the queue and allocates that number of threads to the queue. Each thread causes a processing system of the server to retrieve work detail data for a respective subset of entries of the queue of entries from that queue table in a manner that is influenced by schema associated with that queue table and then perform a task corresponding to the queue type using the work detail data.