Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: mysql中的存储过程,在tidb迁移不来,实际中一般怎么建议呢?
Stored procedures in MySQL cannot be migrated to TiDB. What is generally recommended in practice?
Either stop using TiDB or implement it at the application layer.
Implement it at the application layer.
Implementation of the reference layer
Implementation at the application level
At the application level, to put it simply, a stored procedure is just a series of logical operations.
The performance of MySQL stored procedures is not good, it depends on the architecture layer…
Replace it through middleware and processing between layers.
The basic requirements are high availability and scalability…