MySQL - 创建查询优化器插件

发布于 2024-09-17 10:55:53 字数 130 浏览 1 评论 0原文

我的问题很笼统。

我必须为 mySQL 创建一个查询优化器的原型,它可以代替标准查询优化器,或者对其进行补充。一开始不必非常复杂。但是有没有办法关闭标准优化器,以便我可以检查我的优化器的工作方式?什么语言最适合编写这样的附加组件?

My question quite a general one.

I have to create a prototype of a query optimizer for mySQL, that works instead of standard one, or complements it. It doesn't have to be very complicated, at the beginning. But is there a way of turning off the standard optimizer, so that I can check the way how mine works? And what language is the best for writing such an add-on?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

别念他 2024-09-24 10:55:53

优化器是本身优化器,而不是优化器。您将需要获取源代码并对自定义版本的 MySQL 进行更改。

查看 http://code.google.com/p/google-mysql -tools/wiki/Mysql5Patches 用于修补 MySQL 核心组件的示例。

The optimizer is the optimizer, not an optimizer. You will need to get the source and make your changes into a custom version of MySQL.

Check out http://code.google.com/p/google-mysql-tools/wiki/Mysql5Patches for examples of patching core components of MySQL.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文