lalabuy948 / PhoenixAnalytics

📊 Plug and play analytics for Phoenix applications.
https://theindiestack.com/analytics
Apache License 2.0
270 stars 10 forks source link

Feature request: host analytics on separate Repo #32

Closed jaimeiniesta closed 1 week ago

jaimeiniesta commented 1 week ago

Hi, I'd like to use PhoenixAnalytics but storing the data in the main DB of the application gives me many concerns. Mostly about performance issues, additional space needed, and the integration with DuckDB.

I would feel much more comfortable if the data could be stored on a separate Postgresql database, that would be set up as a secondary repo, dedicated only to hosting analytics.

Have you considered this option?

lalabuy948 commented 1 week ago

Hi @jaimeiniesta, you can actually achieve this by spinning separate Postgres instance and providing this new db connection to Phoenix Analytics. If I understood your concern correctly.

jaimeiniesta commented 1 week ago

Ah cool, I didn't know this was possible already. Thanks!