The invention discloses a
database writing
system and a
database writing method. The
system at least comprises a control module, a
thread pool, a buffer
memory module, a timing scanning module and an asynchronous
information processing module. The control module is used for recording writing requests into subtask queues of the
tread pool when receiving the writing requests, writing task data into the buffer
memory module and transmitting asynchronous requests according to scanning results of the timing scanning module. The
thread pool comprises a plurality of subtask queues, and each subtask
queue saves a plurality of tasks. The buffer
memory module is used for saving the task data. The timing scanning module timely scans the subtask queues in the
thread pool to judge whether releasing time comes, judge whether one subtask
queue meets the releasing time or not and conduct grouping on data in the subtask
queue. The asynchronous
information processing module processes the asynchronous requests, receives parameter information of the subtask queues in the releasing process, records the queue tasks and writes corresponding data into a
database after monitoring new tasks. By means of the database writing
system and database writing method, orderly, efficient and blocking type database writing can be achieved.