我的编程空间,编程开发者的网络收藏夹
学习永远不晚

MySQL Error number: MY-010438; Symbol: ER_ENGINE_COST_INVALID_CONST_CONSTANT_FOR_SE_AND_DEVICE; SQLS

短信预约 -IT技能 免费直播动态提醒
省份

北京

  • 北京
  • 上海
  • 天津
  • 重庆
  • 河北
  • 山东
  • 辽宁
  • 黑龙江
  • 吉林
  • 甘肃
  • 青海
  • 河南
  • 江苏
  • 湖北
  • 湖南
  • 江西
  • 浙江
  • 广东
  • 云南
  • 福建
  • 海南
  • 山西
  • 四川
  • 陕西
  • 贵州
  • 安徽
  • 广西
  • 内蒙
  • 西藏
  • 新疆
  • 宁夏
  • 兵团
手机号立即预约

请填写图片验证码后获取短信验证码

看不清楚,换张图片

免费获取短信验证码

MySQL Error number: MY-010438; Symbol: ER_ENGINE_COST_INVALID_CONST_CONSTANT_FOR_SE_AND_DEVICE; SQLS

文档解释

Error number: MY-010438; Symbol: ER_ENGINE_COST_INVALID_CONST_CONSTANT_FOR_SE_AND_DEVICE; SQLSTATE: HY000

Message: Invalid value for cost constant “%s” for “%s” storage engine and device type %d in mysql.engine_cost table: %.1f

Error number: MY-010438; Symbol: ER_ENGINE_COST_INVALID_CONST_CONSTANT_FOR_SE_AND_DEVICE; SQLSTATE: HY000

错误说明

MY-010438 是一种MySQL错误,指明MySQL引擎检测到了一个成本常量给索引和存储引擎无效的情况。这个错误也暗示着某些在引擎层面的表为何会出现一些检测错误,这个错误的解决方案是把该表的引擎状态从挂起模式改为分析模式,即把这些错误的表的引擎设为更有效的状态。

常见案例

当一个表的引擎层面进行检测时可能会出现MY-010438这种错误,这是因为表在挂起模式下无法计算准确的成本系数,因此无法正确执行检测。还有一种情况就是表存储在内存中,而内存是一种只读的存储介质,无法提供正确的成本参数。这会导致表的检测过程出现这种错误。

解决方法

第一步,将表引擎模式由挂起模式改为分析模式,即把这些错误的表的引擎设为更有效的状态。例如,使用如下SQL语句将表引擎状态从挂起模式更改为分析模式:ALTER table

ENGINE=ANALYZE;

第二步,如果表存储在内存中,可以将它们转存到磁盘中以提供正确的成本参数。例如,使用如下SQL语句将表从内存中转存到磁盘中:ALTER TABLE

ENGINE=DISK。

第三步,再次检测表,确认表的引擎状态是否能够正确收集到查询优化器需要的关键参数信息。

总之,MY-010438这种MySQL错误暗示着表在引擎层面的异常,可以通过将表的引擎状态从挂起模式改为分析模式,或将表从内存中转存到磁盘中来解决这种错误。

免责声明:

① 本站未注明“稿件来源”的信息均来自网络整理。其文字、图片和音视频稿件的所属权归原作者所有。本站收集整理出于非商业性的教育和科研之目的,并不意味着本站赞同其观点或证实其内容的真实性。仅作为临时的测试数据,供内部测试之用。本站并未授权任何人以任何方式主动获取本站任何信息。

② 本站未注明“稿件来源”的临时测试数据将在测试完成后最终做删除处理。有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341

MySQL Error number: MY-010438; Symbol: ER_ENGINE_COST_INVALID_CONST_CONSTANT_FOR_SE_AND_DEVICE; SQLS

下载Word文档到电脑,方便收藏和打印~

下载Word文档

猜你喜欢

MySQL Error number: MY-010438; Symbol: ER_ENGINE_COST_INVALID_CONST_CONSTANT_FOR_SE_AND_DEVICE; SQLS

文档解释Error number: MY-010438; Symbol: ER_ENGINE_COST_INVALID_CONST_CONSTANT_FOR_SE_AND_DEVICE; SQLSTATE: HY000Message:
MySQL Error number: MY-010438; Symbol: ER_ENGINE_COST_INVALID_CONST_CONSTANT_FOR_SE_AND_DEVICE; SQLS
2023-11-05

MySQL Error number: MY-013780; Symbol: ER_GRP_RPL_MYSQL_NETWORK_PROVIDER_CLIENT_ERROR_CONN_ERR; SQLS

文档解释Error number: MY-013780; Symbol: ER_GRP_RPL_MYSQL_NETWORK_PROVIDER_CLIENT_ERROR_CONN_ERR; SQLSTATE: HY000Message:
MySQL Error number: MY-013780; Symbol: ER_GRP_RPL_MYSQL_NETWORK_PROVIDER_CLIENT_ERROR_CONN_ERR; SQLS
2023-11-05

MySQL Error number: MY-010460; Symbol: ER_INIT_DATADIR_EXISTS_AND_NOT_WRITABLE_WONT_INITIALIZE; SQLS

文档解释Error number: MY-010460; Symbol: ER_INIT_DATADIR_EXISTS_AND_NOT_WRITABLE_WONT_INITIALIZE; SQLSTATE: HY000Message:
MySQL Error number: MY-010460; Symbol: ER_INIT_DATADIR_EXISTS_AND_NOT_WRITABLE_WONT_INITIALIZE; SQLS
2023-11-04

MySQL Error number: MY-013863; Symbol: ER_IB_MSG_LOG_FILES_CREATED_BY_CLONE_AND_READ_ONLY_MODE; SQLS

文档解释Error number: MY-013863; Symbol: ER_IB_MSG_LOG_FILES_CREATED_BY_CLONE_AND_READ_ONLY_MODE; SQLSTATE: HY000Message:
MySQL Error number: MY-013863; Symbol: ER_IB_MSG_LOG_FILES_CREATED_BY_CLONE_AND_READ_ONLY_MODE; SQLS
2023-11-05

MySQL Error number: MY-013956; Symbol: ER_THREAD_POOL_QUERY_THRS_PER_GRP_EXCEEDS_TXN_THR_LIMIT; SQLS

文档解释Error number: MY-013956; Symbol: ER_THREAD_POOL_QUERY_THRS_PER_GRP_EXCEEDS_TXN_THR_LIMIT; SQLSTATE: HY000Message:
MySQL Error number: MY-013956; Symbol: ER_THREAD_POOL_QUERY_THRS_PER_GRP_EXCEEDS_TXN_THR_LIMIT; SQLS
2023-11-05

MySQL Error number: MY-011260; Symbol: ER_SYS_VAR_COMPONENT_FAILED_TO_MAKE_VARIABLE_PERSISTENT; SQLS

文档解释Error number: MY-011260; Symbol: ER_SYS_VAR_COMPONENT_FAILED_TO_MAKE_VARIABLE_PERSISTENT; SQLSTATE: HY000Message:
MySQL Error number: MY-011260; Symbol: ER_SYS_VAR_COMPONENT_FAILED_TO_MAKE_VARIABLE_PERSISTENT; SQLS
2023-11-05

MySQL Error number: MY-013362; Symbol: ER_SERVER_BINLOG_MASTER_KEY_RECOVERY_OUT_OF_COMBINATION; SQLS

文档解释Error number: MY-013362; Symbol: ER_SERVER_BINLOG_MASTER_KEY_RECOVERY_OUT_OF_COMBINATION; SQLSTATE: HY000Message:
MySQL Error number: MY-013362; Symbol: ER_SERVER_BINLOG_MASTER_KEY_RECOVERY_OUT_OF_COMBINATION; SQLS
2023-11-05

MySQL Error number: MY-013482; Symbol: ER_AUDIT_LOG_UDF_READ_INVALID_MAX_ARRAY_LENGTH_ARG_TYPE; SQLS

文档解释Error number: MY-013482; Symbol: ER_AUDIT_LOG_UDF_READ_INVALID_MAX_ARRAY_LENGTH_ARG_TYPE; SQLSTATE: HY000Message:
MySQL Error number: MY-013482; Symbol: ER_AUDIT_LOG_UDF_READ_INVALID_MAX_ARRAY_LENGTH_ARG_TYPE; SQLS
2023-11-05

MySQL Error number: MY-011612; Symbol: ER_GRP_RPL_FAILED_TO_REGISTER_TRANS_OUTCOME_NOTIFICTION; SQLS

文档解释Error number: MY-011612; Symbol: ER_GRP_RPL_FAILED_TO_REGISTER_TRANS_OUTCOME_NOTIFICTION; SQLSTATE: HY000Message:
MySQL Error number: MY-011612; Symbol: ER_GRP_RPL_FAILED_TO_REGISTER_TRANS_OUTCOME_NOTIFICTION; SQLS
2023-11-05

MySQL Error number: MY-013741; Symbol: ER_GRP_RPL_MEMBER_ACTION_INVALID_ACTIONS_ON_MEMBER_JOIN; SQLS

文档解释Error number: MY-013741; Symbol: ER_GRP_RPL_MEMBER_ACTION_INVALID_ACTIONS_ON_MEMBER_JOIN; SQLSTATE: HY000Message:
MySQL Error number: MY-013741; Symbol: ER_GRP_RPL_MEMBER_ACTION_INVALID_ACTIONS_ON_MEMBER_JOIN; SQLS
2023-11-05

MySQL Error number: MY-011225; Symbol: ER_AUDIT_LOG_FILTER_FAILED_TO_CLOSE_TABLE_AFTER_READING; SQLS

文档解释Error number: MY-011225; Symbol: ER_AUDIT_LOG_FILTER_FAILED_TO_CLOSE_TABLE_AFTER_READING; SQLSTATE: HY000Message:
MySQL Error number: MY-011225; Symbol: ER_AUDIT_LOG_FILTER_FAILED_TO_CLOSE_TABLE_AFTER_READING; SQLS
2023-11-05

MySQL Error number: MY-011327; Symbol: ER_XPLUGIN_EXISTING_USER_ACCOUNT_WITH_INCOMPLETE_GRANTS; SQLS

文档解释Error number: MY-011327; Symbol: ER_XPLUGIN_EXISTING_USER_ACCOUNT_WITH_INCOMPLETE_GRANTS; SQLSTATE: HY000Message:
MySQL Error number: MY-011327; Symbol: ER_XPLUGIN_EXISTING_USER_ACCOUNT_WITH_INCOMPLETE_GRANTS; SQLS
2023-11-05

MySQL Error number: MY-011466; Symbol: ER_GRP_RPL_ADD_RETRIEVED_SET_TO_GRP_GTID_EXECUTED_ERROR; SQLS

文档解释Error number: MY-011466; Symbol: ER_GRP_RPL_ADD_RETRIEVED_SET_TO_GRP_GTID_EXECUTED_ERROR; SQLSTATE: HY000Message:
MySQL Error number: MY-011466; Symbol: ER_GRP_RPL_ADD_RETRIEVED_SET_TO_GRP_GTID_EXECUTED_ERROR; SQLS
2023-11-05

MySQL Error number: MY-010486; Symbol: ER_NDB_SLAVE_BINLOG_MISSING_INFO_FOR_CONFLICT_DETECTION; SQLS

文档解释Error number: MY-010486; Symbol: ER_NDB_SLAVE_BINLOG_MISSING_INFO_FOR_CONFLICT_DETECTION; SQLSTATE: HY000Message:
MySQL Error number: MY-010486; Symbol: ER_NDB_SLAVE_BINLOG_MISSING_INFO_FOR_CONFLICT_DETECTION; SQLS
2023-11-05

MySQL Error number: MY-011280; Symbol: ER_CONN_CONTROL_STAT_CONN_DELAY_TRIGGERED_UPDATE_FAILED; SQLS

文档解释Error number: MY-011280; Symbol: ER_CONN_CONTROL_STAT_CONN_DELAY_TRIGGERED_UPDATE_FAILED; SQLSTATE: HY000Message:
MySQL Error number: MY-011280; Symbol: ER_CONN_CONTROL_STAT_CONN_DELAY_TRIGGERED_UPDATE_FAILED; SQLS
2023-11-05

MySQL Error number: MY-013922; Symbol: ER_COMPONENT_EE_FUNCTION_PRIVATE_KEY_GENERATION_FAILURE; SQLS

文档解释Error number: MY-013922; Symbol: ER_COMPONENT_EE_FUNCTION_PRIVATE_KEY_GENERATION_FAILURE; SQLSTATE: HY000Message:
MySQL Error number: MY-013922; Symbol: ER_COMPONENT_EE_FUNCTION_PRIVATE_KEY_GENERATION_FAILURE; SQLS
2023-11-05

MySQL Error number: MY-013311; Symbol: ER_GRP_RPL_REGISTER_TRX_TO_WAIT_FOR_DEPENDENCIES_FAILED; SQLS

文档解释Error number: MY-013311; Symbol: ER_GRP_RPL_REGISTER_TRX_TO_WAIT_FOR_DEPENDENCIES_FAILED; SQLSTATE: HY000Message:
MySQL Error number: MY-013311; Symbol: ER_GRP_RPL_REGISTER_TRX_TO_WAIT_FOR_DEPENDENCIES_FAILED; SQLS
2023-11-05

MySQL Error number: 4069; Symbol: ER_CHANGE_REP_SOURCE_CANT_DISABLE_AUTO_POS_WITHOUT_POSITIONS; SQLS

文档解释Error number: 4069; Symbol: ER_CHANGE_REP_SOURCE_CANT_DISABLE_AUTO_POS_WITHOUT_POSITIONS; SQLSTATE: HY000Message:
MySQL Error number: 4069; Symbol: ER_CHANGE_REP_SOURCE_CANT_DISABLE_AUTO_POS_WITHOUT_POSITIONS; SQLS
2023-11-05

MySQL Error number: 4072; Symbol: ER_WARN_C_DISABLE_GTID_ONLY_WITH_SOURCE_AUTO_POS_INVALID_POS; SQLS

文档解释Error number: 4072; Symbol: ER_WARN_C_DISABLE_GTID_ONLY_WITH_SOURCE_AUTO_POS_INVALID_POS; SQLSTATE: HY000Message:
MySQL Error number: 4072; Symbol: ER_WARN_C_DISABLE_GTID_ONLY_WITH_SOURCE_AUTO_POS_INVALID_POS; SQLS
2023-11-05

MySQL Error number: 4019; Symbol: ER_CANT_SET_SQL_AFTER_OR_BEFORE_GTIDS_WITH_ANONYMOUS_TO_GTID; SQLS

文档解释Error number: 4019; Symbol: ER_CANT_SET_SQL_AFTER_OR_BEFORE_GTIDS_WITH_ANONYMOUS_TO_GTID; SQLSTATE: HY000Message:
MySQL Error number: 4019; Symbol: ER_CANT_SET_SQL_AFTER_OR_BEFORE_GTIDS_WITH_ANONYMOUS_TO_GTID; SQLS
2023-11-05

编程热搜

目录