Hello all, I am trying to understand what is the ...
# getting-started
d
Hello all, I am trying to understand what is the difference between
MELTANO_DATABASE_URI
and
MELTANO_STATE_BACKEND_URI
. In my project I have only set
MELTANO_DATABASE_URI
to point to a PostgreSQL and it seems the state is stored in that DB. So is the
MELTANO_STATE_BACKEND_URI
redundant? Thank you in advance
t
Thanks for calling this out - I think we could definitely improve the docs around this. If you’re using postgres then you shouldn’t have to touch the state backend URI. Updating the database_uri will just tell Meltano to write anything it needs to store in the DB to your pg database. The state_backend_uri is if you wanted to separately store just the state somewhere else.