Hasimbola
Comparizon and synchronization of two database SQL Server and Postgres
Hello everybody,
I use two databases:
SQL Server and Postgres
I want to compare and Synchronize value in SQL Server and Postgres
Can somebody help me or given to me a directive about it because I don’t know how it works at all
Thanks! ![]()
Most Liked
al2o3cr
There are lots of ways to approach a problem like this.
The first one is to avoid it entirely: add code to whatever’s writing to the SQL Server database to either write to the Postgres DB directly, or to invoke an API / send an event / etc that does the write to Postgres.
Another option would be to use an off-the-shelf Change Data Capture (CDC) tool for SQL Server to (again) send changes to a system you build that writes to Postgres.
Since you’re discarding data that’s written from the Postgres side, yet another option would be a Foreign Data Wrapper (FDW) that allows Postgres to query the SQL Server DB from Postgres. For instance, the Postgres docs call out tds_fdw specifically for SQL Server.
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance









