是否有运行数据库迁移的指南?
我正在增强现有的 Web 应用程序,并且创建了一个新的数据库架构。因此,我需要进行数据库迁移,将数据从旧数据库模式传输到新数据库模式,并逐步更新应用程序。因此,我们的想法是,一开始只有少数服务会更新,其他服务将继续像以前一样工作。
您有什么建议、资源、例子可以帮助我吗?如果我现在必须在不检查您的答案的情况下执行此操作,我将手动完成第一个任务(使用 SELECT),并且我将使用 sql 视图(虚拟表)来执行第二个任务。
还有比这更好的吗?让我知道...
I am enhancing an existing web application and I have created a new database schema. So I need to do a database migration that will transfer the data from the old database schema to the new one, and also to update the application progressively. So the idea is that at the beginning only few services will be updated, others will just continue to work as they were before.
Do you have any advices, resources, examples that can help me with that ? If I had to do it now without checking your answers, I would have done the first task manually (using SELECT
) and I would have used sql views (virtual tables) for the second task.
Anything better than that ? Let me know...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)