• A
  • A
  • A
  • ABC
  • ABC
  • ABC
  • А
  • А
  • А
  • А
  • А
Regular version of the site

Advanced Methods of Sorting Optimizing in ClickHouse

Student: Pravda Evgenii

Supervisor: Oleg V. Sukhoroslov

Faculty: Faculty of Computer Science

Educational Programme: Applied Mathematics and Information Science (Bachelor)

Year of Graduation: 2019

Columns ordering is a CPU intensive process, and in case of comparison based sorting algorithm it may be the only operation that has nonlinear complexity, thus creating a bottleneck in the data processing pipeline. Therefore, reducing the time spent inside sorting subroutine is one of the most efficient ways to speed up the DBMS. Goals of this work include researching various sorting algorithms, comparing their performance, using most effective of them in ClickHouse, and implementing partial sorting in this database. As a result of this work, we managed to significantly improve database performance, switched column ordering algorithm to radix sort, and implemented partial sorting algorithm based on most significant digit radix sort.

Student Theses at HSE must be completed in accordance with the University Rules and regulations specified by each educational programme.

Summaries of all theses must be published and made freely available on the HSE website.

The full text of a thesis can be published in open access on the HSE website only if the authoring student (copyright holder) agrees, or, if the thesis was written by a team of students, if all the co-authors (copyright holders) agree. After a thesis is published on the HSE website, it obtains the status of an online publication.

Student theses are objects of copyright and their use is subject to limitations in accordance with the Russian Federation’s law on intellectual property.

In the event that a thesis is quoted or otherwise used, reference to the author’s name and the source of quotation is required.

Search all student theses