forked from apache/doris
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Improvement] Add iceberg metadata cache and support manifest file co…
…ntent cache (apache#22336) Cache the iceberg table. When accessing the same table, the metadata will only be loaded once. Cache the snapshot of the table to optimize the performance of the iceberg table function. Add cache support for iceberg's manifest file content a simple test from 2.0s to 0.8s before mysql> refresh table tb3; Query OK, 0 rows affected (0.03 sec) mysql> select * from tb3; +------+------+------+ | id | par | data | +------+------+------+ | 1 | a | a | | 2 | a | b | | 3 | a | c | .... | 68 | a | a | | 69 | a | b | | 70 | a | c | +------+------+------+ 70 rows in set (2.10 sec) mysql> select * from tb3; +------+------+------+ | id | par | data | +------+------+------+ | 1 | a | a | | 2 | a | b | | 3 | a | c | ... | 68 | a | a | | 69 | a | b | | 70 | a | c | +------+------+------+ 70 rows in set (2.00 sec) after mysql> refresh table tb3; Query OK, 0 rows affected (0.03 sec) mysql> select * from tb3; +------+------+------+ | id | par | data | +------+------+------+ | 1 | a | a | | 2 | a | b | ... | 68 | a | a | | 69 | a | b | | 70 | a | c | +------+------+------+ 70 rows in set (2.05 sec) mysql> select * from tb3; +------+------+------+ | id | par | data | +------+------+------+ | 1 | a | a | | 2 | a | b | | 3 | a | c | ... | 68 | a | a | | 69 | a | b | | 70 | a | c | +------+------+------+ 70 rows in set (0.80 sec)
- Loading branch information
Showing
11 changed files
with
400 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.