![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据库
文章平均质量分 56
飞鸟还巢
。
展开
-
MySQL排序规则混合冲突
"org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.jdbc.UncategorizedSQLException: ↵### Error querying database. Cause: java.sql.SQLException: Illegal mix of collations (utf8_general_.原创 2022-03-10 13:31:47 · 1169 阅读 · 0 评论 -
【转】Redis数据备份与恢复
Redis里的数据都是保存在内存中,关闭服务器必须进行数据备份。 1、Redis的数据持久化 bgsave做镜像全量持久化,AOF做增量持久化。 bgsave的原理:fork和cow(copyonwrite)fork是redis通过创建子进程来进行bgsave操作,子进程创建后,父子进程共享数据段,父进程继续提供读写服务,并不会阻塞,写脏的页面数据会逐渐和子进程分离开。 bgsave是...转载 2019-03-28 10:42:59 · 197 阅读 · 0 评论