Use strongly consistent indexing with Apache Phoenix
Strongly consistent indexing is a three-phase indexing algorithm that ensures that the index table is always in sync with the data table.
Strongly consistent indexing ensures that the data read from the index table is consistent at read time for read operations. An index table row is repaired using the corresponding data table row if necessary at read time. When the writes to a table are fast, an additional write phase is used without impacting the write performance.
Operation | Strongly consistent index |
---|---|
READ |
|
WRITE |
|
DELETE |
|
Newly created Apache Phoenix tables in Cloudera Runtime 7.1.6 and higher use strongly consistent indexing by default. You can use the index upgrade tool to upgrade your Apache Phoenix tables to use the strongly consistent indexing.