mysql - while doing alter on a table to add column we are getting timing out error via flyway
问题描述
we are using flyway to do schema changes which is on MARIA DATABASE. while doing alter on a table we are getting timing out error via flyway. Alter table is just adding a column. this script is executing via flyway on spring boot application.
classification table has 900k records.
this is the script:
ALTER TABLE wallet.wallet_debit
ADD COLUMN tin_code varchar(45) ;
When I ran alter table to add column via MySQL workbench , it ran in few seconds successfully.
ERROR is only coming via flyway while executing that script
解决方案
推荐阅读
- javascript - Angular - 在另一个组件中使用由回调设置的服务属性
- c# - 如何通过引用将 int 从 C# 传递到 C++?
- python - 在有效负载中传递多个或零值以使用 Python 调用 REST API
- postgresql - PostgreSQL UPDATE 似乎没有更新某些行
- database - 无法连接到 EC2 实例上运行的 PostgreSQL 数据库
- xcode - AppCode 中的 Xcode 遗留构建系统
- c# - 如何使用asp.net按钮通过jquery进行验证然后进入后台代码web表单
- python - 在 Linux 中使用 python 执行 Shell 命令
- delphi - Delphi FreeAndNil:寻找替代实现
- apache-spark - Spark SQL 查询中重新分区的使用