摘要: 有一些技术同学可能对于“读写分离”了解不多,认为数据库的负载问题都可以使用“读写分离”来解决。 这其实是一个非常大的误区,我们要用“读写分离”,首先应该明白“读写分离”是用来解决什么样的问题的,而不是仅仅会用这个技术。 什么是读写分离? 其实就是将数据库分为了主从库,一个主库用于写数据,多个从库完成 阅读全文
posted @ 2024-05-24 15:37 酒叟 阅读(92) 评论(0) 推荐(0)
摘要: 1、创建目录(本地无GitHub上的目录,首次创建) 为了保证本地目录与远程github上的目录一致,第一次使用时,需使用TortoiseGit中的clone(克隆)与远程目录进行同步,操作步骤如下,选择本地磁盘下的某一目录,本文在E盘下新建了一个文件夹git,进入git文件夹后点击鼠标右键选择下面 阅读全文
posted @ 2024-04-24 16:43 酒叟 阅读(45) 评论(0) 推荐(0)
摘要: <div class="modal fade" id="myModal2" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-dialog"> <div c 阅读全文
posted @ 2020-07-06 11:21 酒叟 阅读(289) 评论(0) 推荐(0)
摘要: --api public PageInfor Get(string name = "", string pricemin = "", string pricemax = "", int type = 0,string band = "", int CurrentPage = 1, int PageS 阅读全文
posted @ 2020-07-06 11:16 酒叟 阅读(283) 评论(0) 推荐(0)
摘要: create proc StuPage (@name varchar(50), @pageSize int, @currentPage int, @totalCount int out)asbegin declare @sql1 nvarchar(max), @sql2 nvarchar(max), 阅读全文
posted @ 2020-07-03 14:54 酒叟 阅读(203) 评论(0) 推荐(0)