Swirrl / drafter

A clojure service and a client to it for exposing data management operations to PMD
Other
0 stars 0 forks source link

Move MOVE statement to end of publish action for better performance #124

Open RickMoynihan opened 8 years ago

RickMoynihan commented 8 years ago

This was recommended by Evrin at complexible: https://complexible.zendesk.com/hc/en-us/requests/437

"One side note is when you have a SPARQL update sequence, the queries at the end of the sequence would be executed against the uncommitted state create by previous update operators. Querying uncommitted state does not require too much extra memory but might slow down the update. AFAICT in your example MOVE query modifies most number of triples whereas subsequent queries modify small number of unrelated triples. If you put the MOVE query at the end of the sequence you can see some speed up."

ricroberts commented 1 year ago

Update in 2023... I'm curious if this is something we could still look into