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

Rel table column scan state #3317

Merged
merged 5 commits into from
Apr 19, 2024
Merged

Rel table column scan state #3317

merged 5 commits into from
Apr 19, 2024

Conversation

ray6080
Copy link
Contributor

@ray6080 ray6080 commented Apr 18, 2024

Depends on #3313. This adds caches of column read states for rel tables. Improved scan performance on rel tables.

On my local M1 Macbook Air laptop. with LDBC100 dataset.

Q1: MATCH (p1:person)-[e:knows]->(p2:Person) RETURN MIN(e.creationDate);

          master | new   |
1st run | 318ms  | 140ms |
2nd run | 216ms  | 82ms  |


Q2: MATCH (p1:person)-[e:likeComment]->(c:Comment) RETURN MIN(e.creationDate);

          master | new    |
1st run | 4812ms | 4147ms |
2nd run | 891ms  | 255ms  |

Base automatically changed from fix-read-with-transaction to master April 19, 2024 03:51
@ray6080 ray6080 merged commit 543b4ce into master Apr 19, 2024
17 checks passed
@ray6080 ray6080 deleted the table-scan-state branch April 19, 2024 07:33
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.

2 participants