schemadiff:Vitess 内存中模式差异、规范化、验证和操作
原文英文,约3500词,阅读约需13分钟。发表于: 。Introducing schemadiff, an internal library in Vitess that has been one of its best-kept secrets until now. At its core, schemadiff is a declarative, programmatic library that can produce a diff...
介绍了Vitess的内部库schemadiff,它是一个程序库,可以以SQL格式生成两个实体的差异。schemadiff使用编程方法而不是依赖于运行的MySQL服务器,支持MySQL 8.0方言和功能,并在加载新模式时强制执行验证。