signoz icon indicating copy to clipboard operation
signoz copied to clipboard

Support other RelationalDB

Open rongfengliang opened this issue 4 years ago • 5 comments

Is your feature request related to a problem?

currently from the source code I see signoz only support SQLite database . maybe we can support more other database

Describe the solution you'd like

we can use jmoiron/sqlx package and some configuration for support more database

Thank you for your feature request – we love each and every one!

rongfengliang avatar Apr 01 '22 08:04 rongfengliang

@rongfengliang Curious to know. whats the use case for supporting more databases? As of now SQLite is primarily used to store internal metadata like dashboards layout, alert config, etc

pranay01 avatar Apr 01 '22 18:04 pranay01

@pranay01 Thanks. with sqlite for dashboard and alert . if we have multi instance of query service maybe not good for share message

rongfengliang avatar Apr 02 '22 01:04 rongfengliang

@rongfengliang that is right. We have added the apis in an interface so that other databases like Postgres can implement them. We shall need non-embedded db when running multiple query-service instances querying the same relational DB as you mentioned already.

We shall pick this up if some users face this issue. Currently, I don't see a need to run multiple query-services as query-service is not under heavy load usually.

ankitnayan avatar Apr 04 '22 12:04 ankitnayan

I’d prefer to use a standalone db like Postgres, 1 bc we already have it for other operational concerns, and 2 because I have better access and backup tools.

I’d be willing to help contribute the Postgres impl / driver / dialect as needed, if someone would be willing to spec it out and help me get up to speed

dwelch2344 avatar May 19 '22 01:05 dwelch2344

Is this still under development?

ngudbhav avatar May 15 '24 13:05 ngudbhav