SQLite vs PostgreSQL for storage #8552
Unanswered
Replies: 2 comments
-
Yes, you can use PostgreSQL - how to configure it on your instance is described here: https://docs.dagster.io/deployment/dagster-instance#postgres-storage In our experience PostgreSQL is much better for performance (esp once you start using multiprocessing or run many pipelines at once) |
Beta Was this translation helpful? Give feedback.
0 replies
-
hi @yuhan – if i created a Dagster environment using SQLite and i want to migrate to Postgres, is there a way to do so? would simply porting the tables/data over to a Postgres db and pointing Dagster to it be enough? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I see that runs history are stored in a history directory in
. db
files inDAGSTER_HOME
. Can these be configured to persist to another database? Like having a PostgreSQL backend.Are there any advantages of the others over the default aside the use of the assets page? Eg. Some DBs are good for multiprocessing or simultaneous running and scheduling compared to the default SQLite
The question was originally asked in Dagster Slack.
Beta Was this translation helpful? Give feedback.
All reactions