<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[sqrt7的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/sqrt7</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; sqrt7]]></copyright><item><title><![CDATA[[GAUSS-50219] : Failed to obtain；重启问题；远程连接问题；数据库宕机；附Opengauss安装过程]]></title><link>https://blog.csdn.net/sqrt7/article/details/145883056</link><guid>https://blog.csdn.net/sqrt7/article/details/145883056</guid><author>sqrt7</author><pubDate>Wed, 26 Feb 2025 18:03:31 +0800</pubDate><description><![CDATA[报错信息：[GAUSS-50219] : Failed to obtain 25 Feb 16:41:34 ntpdate[89405]: no server suitable for synchronization found. There are illegal characters.原因：xml配置文件出错。（虽然官网说的是 获取目录/文件/路径失败，但又不知道哪儿出问题......下面是官网的解释，真的很粗略）配置文件：<ROOT>-- 整体信息 --><CLUSTER>]]></description><category></category></item><item><title><![CDATA[Mysql-性能优化]]></title><link>https://blog.csdn.net/sqrt7/article/details/141612439</link><guid>https://blog.csdn.net/sqrt7/article/details/141612439</guid><author>sqrt7</author><pubDate>Tue, 27 Aug 2024 23:53:17 +0800</pubDate><description><![CDATA[原因：如果有GROUP BY，WHERE可以先筛选一遍，并且WHERE可以使用索引，但HAVING是针对聚合后生成的视图进行筛选，很多时候聚合后的视图都没有继承原表的索引结构。原因：UNION等集合运算符会自动排序，ALL可不用去重，也就不需要排序。5、在GROUP BY子句和ORDER BY子句中使用索引。1、参数是子查询时，使用EXISTS代替IN。2、UNION ALL性能高于UNION。3、使用EXISTS代替DISTINCT。原因：DISTINCT也会排序。4、尽量不要使用HAVING。]]></description><category></category></item><item><title><![CDATA[Spring]]></title><link>https://blog.csdn.net/sqrt7/article/details/135970208</link><guid>https://blog.csdn.net/sqrt7/article/details/135970208</guid><author>sqrt7</author><pubDate>Thu, 01 Feb 2024 11:29:55 +0800</pubDate><description><![CDATA[黑马程序员SSM视频总结：Spring · 语雀]]></description><category></category></item><item><title><![CDATA[Mysql-基础]]></title><link>https://blog.csdn.net/sqrt7/article/details/135095777</link><guid>https://blog.csdn.net/sqrt7/article/details/135095777</guid><author>sqrt7</author><pubDate>Thu, 21 Dec 2023 21:04:50 +0800</pubDate><description><![CDATA[声明外键：ALTER TABLE 从表 ADD [CONSTRAINT 外键名称] foreign key(从表外键字段名) REFERENCES 主表(主表的主键)插入数据：INSERT INT 表名 (name,date) VALUES ("mysql",NOW())关系型数据库6种范式：1NF、2NF、3NF、巴斯-科德范式(BCNF)、4NF、5NF(完美范式)修改字段：ALTER TABLE 表名 MODIFY 列名 类型(长度) 约束。更改数据：UPDATE 表名 SET 字段='更改值']]></description><category></category></item></channel></rss>