Write optimization Hash index construction method and system based on separated memory

Fuente: Wipo "precision agriculture"
The invention discloses a write optimization Hash index construction method and system based on a separated memory, and the method comprises the steps: building a Hash index structure comprising a directory, a segment and a bucket in a memory node based on the design of the separated memory, building a directory tree structure comprising a leaf item and a non-leaf item, and caching a corresponding directory in a computing node; maintaining a corresponding predictor for each slot in the barrel, and indicating the position where the slot should be placed during splitting by reading a corresponding bit in the predictor during splitting; when the Hash index is introduced and split, starting a single-thread memory crawler in a memory node to regularly search an unupdated predictor; multiple round-trip times are compressed into one by merging multiple RDMA operations into one RDAM request through passive acknowledgement and batch processing. According to the method, the multi-level catalog is combined with the extensible Hash, the Hash index is expanded and synchronized in a fine-grained mode, meanwhile, the splitting overhead is reduced through a predictor component and optimization splitting, and finally the writing performance is improved.