What is the tmp directory for?

Created by Steve Place, Modified on Thu, Aug 22 at 3:35 PM by Steve Place

The temp directory (located by default at /tmp) is used to store files temporarily during Stardog operations. The most common usage is for intermediate query results and/or triples that are being loaded/removed. 


See more here.


How much storage do I need for the tmp directory?


In the most extreme case, it should be as big as the biggest database you might want to clear; however, it's unlikely it would need to get that large. 


Can I change where the temp directory is located?


The default location is the value of java.io.tmpdir. You can change the location by editing that value if you're running Stardog on-prem, or by editing STARDOG_TMP_PATH if you're using our helm charts (enterprise customers only). Either way, the stardog user on your filesystem needs read and write permissions to it.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article