Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IOTDB-6325] Support RegionScan for active metadata queries [FE Part] #12446

Merged
merged 15 commits into from May 13, 2024

Conversation

ycycse
Copy link
Contributor

@ycycse ycycse commented Apr 29, 2024

If we want to find the metaData which is activate during a period of time, we need to scan the raw data.
Current implementation of seriesScan may cause random access due to the access to one TSFile repeatedly. We could use file scan to eliminate this.
Region scan is the feature in IoTDB to support fileScan, this PR would support activate metadata query through region-scan, optimizing the performance of full scanning.

requirements docs: https://apache-iotdb.feishu.cn/docx/YqcSdnYbSoJ58zxeK0kcnuSzn8c
design docs: https://apache-iotdb.feishu.cn/docx/ZdeYdBJyRoPtvFxtWHvc6VtCnuc

# Conflicts:
#	iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/distribution/ExchangeNodeAdder.java
#	iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/distribution/SourceRewriter.java
#	iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/plan/node/PlanNodeType.java
#	iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/plan/node/PlanVisitor.java
1. use countStatemet
2. modify the attribute in RegionScanNode
3. Optimize the logic of SourceRewriter
4. Optimize the process of analyzing
@JackieTien97 JackieTien97 merged commit be6e889 into apache:master May 13, 2024
54 of 57 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants