The invention discloses a Hash connection implementation method,
electronic equipment, a computer readable storage medium and a
computer program product, and the method comprises the steps: creating a
reference table according to an implementation method for
foreign key reference and connection query based on an array index, automatically creating a
reference array index for the
reference table through a specified option when the
reference table is created, and automatically creating a connection query result according to the
reference array index. Meanwhile, a referenced array index is automatically created for the referenced table; a column of reference is added to the created
reference array index, and a new reference array index is obtained; constructing a
byte array according to [the maximum subscript used in the quoted array index corresponding to the quoted table / 8] + 1, and setting the content of the
byte array as 0; for all records meeting conditions in the referenced table, setting a bit corresponding to the
byte array as 1; all units in the reference array index are sequentially scanned, and for the matching condition, the required referenced table and the corresponding
record information of the reference table are directly output to an upper-layer operator.