
db
文章平均质量分 81
starandsea
这个作者很懒,什么都没留下…
展开
-
慢接口突增排查(tps暴增)
生产环境突然产生一波RPC超时。在云服务后台查询报错时间点mysql数据库情况。发现有tps、qps突增。mybatis plus saveOrUpdateBatch使用。rewriteBatchedStatements参数。原创 2022-01-21 19:37:22 · 1315 阅读 · 0 评论 -
MySQL8启动报错提示:The server quit without updating PID file
[root@xxx mysql]# service mysql restartMySQL server PID file could not be found![失败]Starting MySQL..The server quit without updating PID file ([FAILED]al/mysql-8.0/data/iZuf6i65gjtemwnphbbbhwZ.pid).搜了一堆解决方法,都没有解决。可以查看错误日志,找到根本原因,在mysql的data目录ca原创 2022-01-02 20:59:12 · 2993 阅读 · 1 评论 -
mysql存储过程简单实例 变量赋值 游标遍历
应用场景:有两张表,学生表和对应的各科成绩表。学生表student字段: id int name varchar(20)数值: 1 A2 B成绩表score字段: id int studentid int subjectid intscore int数值: 1 11 802 12 903 13 1004 21 605 2原创 2014-11-22 16:05:57 · 2670 阅读 · 0 评论 -
oracle存储过程简单实例 变量赋值 游标遍历
应用场景:有两张表,学生表和对应的各科成绩表。学生表student字段: id int name varchar(20)数值: 1 A2 B成绩表score字段: id int studentid int subjectid int score int数值: 1 1原创 2014-11-22 21:08:31 · 1314 阅读 · 0 评论 -
SQLServer存储过程简单实例 变量赋值 游标遍历
应用场景:有两张表,学生表和对应的各科成绩表。学生表student字段: id int name varchar(20)数值: 1 A2 B成绩表score字段: id int studentid int subjectid int score int数值: 1 11 802 12 903 13 1004 21 6原创 2014-11-22 20:16:51 · 3463 阅读 · 0 评论 -
sqlserver group by 的使用问题
student表:id classNo name birthday1 2 aa 2001-01-012 1 bb 2001-02-013 2 cc 2002-01-03mysql中可以用select * from student group by classNo不会原创 2016-06-13 18:06:25 · 3859 阅读 · 0 评论