简体   繁体   English

O.Direct在my.ini启动时崩溃

[英]O_Direct in my.ini startup crash

I am searching high and low to solve our database speed problem. 我正在高空搜寻以解决我们的数据库速度问题。

When I try to use: 当我尝试使用时:

innodb_flush_method=O_DIRECT innodb_flush_method = O_DIRECT

In my my.ini file, the MySQL service fails to start. 在我的my.ini文件中,MySQL服务无法启动。 I can not find anywhere on Google where others are having this same error. 我在Google的任何地方都找不到其他人犯同样错误的地方。

Can anyone tell me how I can get this directive to work? 谁能告诉我如何使该指令生效?

Based on the filename my.ini you specified, I have to assume you're on Windows. 根据您指定的文件名my.ini ,我必须假定您使用的是Windows。 The O_DIRECT option is only available on Linux, FreeBSD, and Solaris. O_DIRECT选项仅在Linux,FreeBSD和Solaris上可用。 See the MySQL manual section on innodb_flush_method for more details. 有关更多详细信息,请参见innodb_flush_methodMySQL手册部分

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM