Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Cross Server Query Correlation/Join #179

Open
bp-rocket opened this issue Dec 21, 2023 · 0 comments
Open

Add Cross Server Query Correlation/Join #179

bp-rocket opened this issue Dec 21, 2023 · 0 comments

Comments

@bp-rocket
Copy link

I'm trying to join queries from two or more databases on different servers. For example, db1 on svr_a has half the data I need and db2 on svr_b has the other half. Both have similar key-like values that can be used to join the two results. It would be nice if the exporter could join the two queries.

I have a generally static table in an application database that contains client information such as host name, IP address, etc. The table is essentially a white-list of acceptable clients. I want to be able to map clients that should have a connection (queried from the static client table) with actual connections against a database on another server.

If we use the OUTER JOIN type of logic (i.e. - client info LEFT OUTER JOIN database connection), the client info would be non-null and the database connection info would be null. So maybe any non-null value = client database connection and any null value = no client database connection.

Describe alternatives you've considered
MSSQL linked servers can solve my problem, but I'd like to avoid making my database server a client to another database server if possible.

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant