The invention relates to a
database technology, in particular to a
data processing method, a storage medium and equipment. The
data processing method comprises the steps of obtaining a to-be-sorted
data set and a pre-constructed heap structure; each piece of data in the to-be-sorted
data set is marked, and different pieces of data correspond to different to-be-sorted marks; recording to-be-sorted marks of all data meeting the condition of adding the heap structure in the to-be-sorted
data set; and
copying the recorded data corresponding to the to-be-sorted marks. According to the
data processing method, the corresponding to-be-sorted mark is set for each piece of to-be-sorted data, the to-be-sorted mark meeting the heap sorting condition is recorded, and only the data corresponding to the recorded to-be-sorted mark is copied, so that the problem of CPU resource waste caused by
copying all data in the to-be-sorted data set is avoided, and the data
processing efficiency is improved. The
copying operation in the heap sorting process is reduced, so that the overall sorting execution efficiency is improved, and the performance of a
database system is improved.