摘要: 环境 Oracle: 11.2.0.3 OS: Red Hat Enterprise Linux Server release 6.3 (Santiago) 从10g 拷贝来的文件 [oracle@dbspredb03 ~]$ cp bbedus.msb $ORACLE_HOME/rdbms/mes 阅读全文
posted @ 2022-04-01 09:55 Coye 阅读(64) 评论(0) 推荐(0)
摘要: 测试脚本 DROP TABLE IF EXISTS test.t1; CREATE TABLE test.t1 (i INT, f FLOAT); --enable_session_track_info SET @@SESSION.session_track_schema=ON; SET @@SES 阅读全文
posted @ 2021-12-23 11:07 Coye 阅读(195) 评论(0) 推荐(0)
摘要: 简单的说一下,就是查询重写的插件,和Oracle 物化视图的查询重写还不太一样 Server version: 5.7.19-17-log Percona Server (GPL), Release 17, Revision e19a6b7b73f OS version: Red Hat Enter 阅读全文
posted @ 2021-12-23 09:48 Coye 阅读(395) 评论(0) 推荐(0)
摘要: Bug #79243 https://bugs.mysql.com/bug.php?id=79243 percona https://jira.percona.com/browse/PS-1085 set print element 0 set print pretty f 12 p thd->m_ 阅读全文
posted @ 2021-06-01 17:36 Coye 阅读(152) 评论(0) 推荐(0)
摘要: MySQL version: 8.0.18-commercial MySQL Enterprise Server OS: RHEL 6.3 MGR mysql> select * from performance_schema.replication_group_members; + + + + + 阅读全文
posted @ 2020-11-27 17:18 Coye 阅读(1064) 评论(0) 推荐(0)
摘要: SHOW TRANSACTIONS; 居然是hive的语法,mysql 没有 阅读全文
posted @ 2020-09-08 15:22 Coye 阅读(249) 评论(0) 推荐(0)
摘要: MySQL version:8.0.18-commercial MySQL Enterprise Server 现有CBO的消耗的计算是根据一些常用数字来计算出结果的,如以下两张表engine_cost 和 server_cost mysql> select * from mysql.engine_ 阅读全文
posted @ 2020-07-17 14:37 Coye 阅读(225) 评论(0) 推荐(0)
摘要: 当执行 SQL语句删除行时,InnoDB不会立即从数据库中物理删除。 仅当InnoDB 丢弃 为删除而编写的undo log 时,才会物理删除行及其索引记录(删除对应数据文件中的记录和索引)。 这种仅发生在不再需要多版本并发控制(MVCC)或回滚之后的删除操作,称为purge。 purge 操作用于 阅读全文
posted @ 2020-07-08 23:26 Coye 阅读(986) 评论(0) 推荐(0)
摘要: 参考 https://dev.mysql.com/doc/refman/5.7/en/optimizer-hints.html Hint Name Description Applicable Scopes BKA, NO_BKA Affects Batched Key Access join pr 阅读全文
posted @ 2020-07-08 22:29 Coye 阅读(598) 评论(0) 推荐(0)
摘要: OS version:Red Hat Enterprise Linux Server release 6.3 (Santiago) MYSQL version: 8.0.18-commercial MySQL Enterprise Server - Commercial [root@mysql08 阅读全文
posted @ 2020-06-27 20:49 Coye 阅读(1159) 评论(0) 推荐(0)