Hi there! Quick question. If one configures PHOENIX_SQL_DATABASE_URL, will the working directory (PHOENIX_WORKING_DIR) still be used? In other words, does Phoenix still require local storage even when a database is connected?
Yes, Phoenix still requires local storage even when a database is connected. The PHOENIX_WORKING_DIR is used for saving, loading, and exporting datasets, and must be accessible by both the Phoenix server and the notebook environment. This is independent of the database configuration, which is specified by PHOENIX_SQL_DATABASE_URL for logging traces and evaluations (source, source).Would you like more detail on how these configurations interact? Sources:
- Server Configuration
- Phoenix Config
馃挕聽Hint: Mention RunLLM in the thread for followups.
in other words no need to add a persistent volume or disc for that directory if you use sql
Thank you, Mikyo. That makes sense; in my system鈥檚 read-only environment, the server fails to load with Read-only file system: '/.phoenix'. Will enable access to a temporary directory.
Really appreciate the help!
yea, we should probably revisit this constraint. Would you mind opening i ticket for us to track?
are you using postgres or sqlite?
Thanks, Roger. I've created https://github.com/Arize-ai/phoenix/issues/5070.
are you using postgres or sqlite?
I'm using postgres.
thank you!
