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

Precompute some statistics about the graph #94

Open
alexkreidler opened this issue Apr 11, 2021 · 1 comment
Open

Precompute some statistics about the graph #94

alexkreidler opened this issue Apr 11, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@alexkreidler
Copy link

I first just want to say thanks for your work! I've now loaded a dataset with 36 million triples into Oxigraph:
image

I was wondering if Oxigraph could (perhaps while loading) keep some statistics about the number of triples in the entire graph and each named graph.

This might help queries like the one shown return faster.

@Tpt
Copy link
Collaborator

Tpt commented Apr 11, 2021

Yes, Oxigraph should definitely keep some statistics, at least in order to be able to better optimize query evaluation.

When it is done we might add a piece of code that looks for "count the number of triples" queries and use the statistics for that.
However it is hard to do such query matching properly and using statistics would require them to be exact and not only an approximation.

@Tpt Tpt added the enhancement New feature or request label Jun 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants