r/SQLServer • u/Ohgogh • Jan 12 '26
Discussion Migrating from Microsoft SQL server to Postgres
My team and I are currently working with an MSSQL database and now have the opportunity to migrate to PostgreSQL. Would you recommend making the switch?
For context:
- ~100GB of data
- Heavy use of recursive queries (we have recursive relationships between tables)
- Using an ORM
Edit note: Forget to mention is that I have json objects that I save In a column. Now I do not query this but post great has a better interface for dealing with json with the Jsonb.
Based on this, I'd love to hear your experiences and feedback. Thanks!
25
Upvotes
View all comments
Show parent comment
2
u/chandleya Jan 13 '26
New is not always better. New is usually just lazier.
JSON is a schemaless, portable document format for web. It is literally JavaScript object notation. Nothing about that has anything to do with RDBMS. Can you explain the purpose of 3NF schema design?
Do you know why RDBMS suck at XML? Can you explain why JSON is so much better or more efficient than XML?
Three super important questions that’ll answer why, for years upon years, the SQL Server team resisted meaningful JSON support. It’s my opinion that they caved so that the product wasn’t perceived as lesser by inexperienced devs. And besides, SQL server costs money - a lot of money at any meaningful scale. If folks are dumb enough to pay $8K per core plus 25% per year, who are they to question them?
There are a gazillion more performant, more cost effective, and more capable ways to process JSON than an RDBMS lol. But if you’re flush with cash and insist on moderate outcomes, there’s a solution for you.