Big data Doris (12): Unique data model

Article Directory

Unique data model

1. Merge while reading

2. Merge on write


Unique data model

In some multidimensional analysis scenarios, users pay more attention to how to ensure the uniqueness of the Key, that is, how to obtain the uniqueness constraint of the Primary Key. Therefore, we introduced the Unique data model, which can retain the later inserted data according to the same Primary Key to ensure the uniqueness of the data. As long as the UNIQUE KEY is the same, the new record will overwrite the old record. There are two implementations of the Unique data model: merge on read and merge on writeÿ

Guess you like

Origin blog.csdn.net/xiaoweite1/article/details/130515565