随笔分类 -  mysql

1 2 3 4 5 ··· 8 下一页
摘要:原文:https://blog.csdn.net/xlxxcc/article/details/51754524?spm=1001.2101.3001.6650.1&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRL 阅读全文
posted @ 2022-12-07 10:06 liujiacai 阅读(1566) 评论(0) 推荐(0) 编辑
摘要:原文:https://blog.csdn.net/weixin_32927369/article/details/113121195 mysql --help参数详解 mysql --help mysql Ver 14.14 Distrib 5.6.31, for Linux (x86_64) us 阅读全文
posted @ 2022-12-07 09:49 liujiacai 阅读(164) 评论(0) 推荐(0) 编辑
摘要:原文:https://zhuanlan.zhihu.com/p/77847158 主要是SQL的书写顺序和执行顺序 执行顺序 (8) SELECT (9)DISTINCT<Select_list> (1) FROM <left_table> (3) <join_type>JOIN<right_tab 阅读全文
posted @ 2021-10-17 23:13 liujiacai 阅读(202) 评论(0) 推荐(0) 编辑
摘要:原文:https://www.imooc.com/article/305617 SQL中包含以下七种类型的函数: 聚合函数:返回汇总值。 转型函数:将一种数据类型转换为另外一种。 日期函数:处理日期和时间。 数学函数:执行算术运算。 字符串函数:对字符串、二进制数据或表达式执行操作。 系统函数:从数 阅读全文
posted @ 2021-10-17 22:58 liujiacai 阅读(90) 评论(0) 推荐(0) 编辑
摘要:原文:https://www.cnblogs.com/zzjdbk/p/12992305.html. 【1】@@datadir 函数作用:返回数据库的存储目录构造SQL语句 select @@datadir;ps:@@basedir返回mysql的根目录【2】@@version_compile_os 阅读全文
posted @ 2021-10-17 17:37 liujiacai 阅读(189) 评论(0) 推荐(0) 编辑
摘要:原文:https://zhuanlan.zhihu.com/p/71134861 ps = session.query(Person).first() print(ps) ​ # 3、修改制定行数据 person = session.query(Person).first() print(perso 阅读全文
posted @ 2021-10-17 16:35 liujiacai 阅读(1615) 评论(0) 推荐(0) 编辑
摘要:原文:https://www.cnblogs.com/DBArtist/p/15320295.html 一:设置服务器默认字符集为 utf8mb4 创建数据库时,如果没有指定字符集,会采用服务器的默认字符集。设置服务器默认字符集为 utf8mb4 可以提高便利性。 编辑 MySQL 的配置文件,修改 阅读全文
posted @ 2021-10-17 15:53 liujiacai 阅读(437) 评论(0) 推荐(0) 编辑
摘要:原文:https://www.cnblogs.com/zengkefu/p/5674503.html MYSQL 技术圈 有哪些做得好,又注重分享的公司: Oracle MySQL, MariaDB, Percona,Google, FB, Twitter, Taobao, NetEase… 有哪些 阅读全文
posted @ 2021-06-05 23:23 liujiacai 阅读(179) 评论(0) 推荐(0) 编辑
摘要:原文:https://segmentfault.com/a/1190000012513286 背景 虽然两阶段加锁(2PL)听起来和两阶段提交(two-phase commit, 2PC)很相似,但它们是完全不同的东西。 在介绍MySQL二段锁之前,我需要理清一下概念,即MySQL二阶段加锁与二阶段 阅读全文
posted @ 2021-06-04 17:39 liujiacai 阅读(320) 评论(0) 推荐(0) 编辑
摘要:原文:http://www.linuxmysql.com/14/2019/1021.htm 在 MySQL 中有两个 kill 命令:一个是 kill query + 线程 id,表示终止这个线程中正在执行的语句;一个是 kill connection + 线程 id,这里 connection 可 阅读全文
posted @ 2021-06-04 17:36 liujiacai 阅读(528) 评论(0) 推荐(0) 编辑
摘要:原文:https://developer.aliyun.com/article/178794 https://blog.csdn.net/weixin_41561946/article/details/107584782 https://riverdba.github.io/2017/05/04/g 阅读全文
posted @ 2021-06-04 17:30 liujiacai 阅读(1161) 评论(0) 推荐(0) 编辑
摘要:原文:https://blog.csdn.net/n88Lpo/article/details/97621604 https://segmentfault.com/a/1190000023317512 MySQL Online DDL 原理和踩坑 https://mytecdb.com/blogDe 阅读全文
posted @ 2021-06-03 15:12 liujiacai 阅读(224) 评论(0) 推荐(0) 编辑
摘要:原文:https://blog.csdn.net/wuhuagu_wuhuaguo/article/details/105166470 原文:https://blog.csdn.net/HD243608836/article/details/103801502 两种方案分库分表:按照用户id来切分( 阅读全文
posted @ 2021-06-02 00:27 liujiacai 阅读(727) 评论(0) 推荐(0) 编辑
摘要:原文:https://www.cnblogs.com/l10n/p/12606135.html 原文:https://www.jianshu.com/p/da897ff8e839 perl 等包,可到 http://rpm.pbone.net/ 网站下载 MHA 安装文件可以从 https://co 阅读全文
posted @ 2021-05-31 23:15 liujiacai 阅读(969) 评论(0) 推荐(0) 编辑
摘要:原文:https://www.db2go.net/mysql/3.parameterintro.html 一、参数的查看、分类及修改 1.分类 全局参数(GLOBAL) : 可以查看information_schema.GLOBAL_VARIABLES 与会话参数(session):可以查看info 阅读全文
posted @ 2021-05-31 00:49 liujiacai 阅读(1031) 评论(0) 推荐(0) 编辑
摘要:Show global status 在Show global status输出中的项。 5.1手册中没有的或者翻译有问题的,都附带5.5原文说明: Aborted_clients 由于客户端没有正确关闭连接导致客户端终止而中断的连接数。 Aborted_connects 试图连接到MySQL服务器 阅读全文
posted @ 2021-05-31 00:30 liujiacai 阅读(465) 评论(0) 推荐(0) 编辑
摘要:原文:https://www.cnblogs.com/chengyunblogs/p/11792192.html 1.错误消息的组成 一共由三部分组成1.mysql数字错误代码,这个数字的mysql的特定值,不可以移植到其它数据库系统。2.一个五位长度的sqlstate值,这些值取自ANSI SQL 阅读全文
posted @ 2021-05-31 00:24 liujiacai 阅读(461) 评论(0) 推荐(0) 编辑
摘要:原文:https://www.cnblogs.com/YangJiaXin/p/10211649.html 列举了MySQL主从复制主要的相关参数 binlog server_id 服务器在集群中唯一标识符 log_bin[=binlog_name] 启动二进制日志 log_bin_index 二进 阅读全文
posted @ 2021-05-30 23:15 liujiacai 阅读(101) 评论(0) 推荐(0) 编辑
摘要:原文:https://blog.csdn.net/qq_38937634/article/details/113100472?utm_term=mysql%E6%97%A5%E5%BF%97%E4%B8%A4%E9%98%B6%E6%AE%B5%E6%8F%90%E4%BA%A4&utm_mediu 阅读全文
posted @ 2021-05-30 00:34 liujiacai 阅读(455) 评论(0) 推荐(0) 编辑
摘要:原文:https://www.cnblogs.com/jenvid/p/9022469.html MySQL索引设计 一.一张2亿条记录的表,假设一条记录有200字节,查询一条记录使用索引和不使用索引的性能计算 1.假设硬盘的IOPS为100 2.索引长度为:10字节(4字节索引+6字节指针长度) 阅读全文
posted @ 2021-05-29 18:04 liujiacai 阅读(127) 评论(0) 推荐(0) 编辑

1 2 3 4 5 ··· 8 下一页
点击右上角即可分享
微信分享提示