The present application discloses a
hash join method, apparatus, device, and medium, relating to the field of
hardware acceleration of
database query operations, including: obtaining first data of a first data tuple to be joined and second data of a second data tuple to be joined, respectively calculating the first data and the second data using a
cuckoo algorithm to obtain a hash result of the first data and a hash result of the second data; determining a first target
hash table corresponding to the hash result of the first data and a second target
hash table corresponding to the hash result of the second data; dividing the first data and the second data into a plurality of groups of first sub-data and second sub-data, respectively storing the first sub-data and the second sub-data in the first target
hash table and the second target hash table; reading the first sub-data and the second sub-data from the first target hash table and the second target hash table, and performing a merge join on the first sub-data and the second sub-data that meet an equal value condition to obtain the joined data. The present application also discloses a
hash join method, apparatus, device, and medium, relating to the field of
hardware acceleration of
database query operations, including: obtaining first data of a first data tuple to be joined and second data of a second data tuple to be joined, respectively using a
cuckoo algorithm to calculate the first data and the second data to obtain a hash result of the first data and the second data; determining a first target hash table corresponding to the hash result of the first data and a second target hash table corresponding to the hash result of the second data; dividing the first data and the second data into a plurality of groups of first sub-data and second sub-data, respectively storing the first sub-data and the second sub-data in the first target hash table and the second target hash table; reading the first sub-data and the second sub-data from the first target hash table and the second target hash table, and performing a merge join on the first sub-data and the second sub-data that meet an equal value condition to obtain the joined data. The present application also discloses a
hash join method, apparatus, and medium, relating to the field of
hardware acceleration of
database query operations, including obtaining first data of a first data tuple to be joined and second data to obtain a hash result of the first data and the second data to