r/learnSQL • u/tamanikarim • 2d ago
Learn Database schema changes for : PostgreSQL, MySql / MariaDB, Oracle, SQL Server.
Hey Engineers
We've all been through this. When the project you're working on starts scaling, you'll find the need to scale your database too, adding new columns, creating new tables, or trying to improve performance by adding new indexes. All of this comes with the risk of losing your users' data.
For this, I crafted a simple guide showing the schema change operations that you'll need on a day-to-day development basis for PostgreSQL, MySQL, MariaDB, Oracle, and SQL Server.
It also covers some additional potential risks you need to keep in mind when performing schema changes on a production database.
Hopefully, it can help you along your SQL learning journey.
https://stackrender.io/guides/schema-change
Good luck!