InnoDB 行锁 行锁介绍 行锁特点 :偏向InnoDB 存储引擎,开销大,加锁慢;会出现死锁;锁定粒度最小,发生锁冲突的概率最低,并发度也最高。 InnoDB 与 MyISAM 的最大不同有两点:一是支持事务;二是 采用了行级锁。 InnoDB 的行锁模式 InnoDB 实现了以下两种类型的行锁 ...
分类:
数据库 时间:
2020-12-25 12:29:38
阅读次数:
0
Mybatis之新建项目 1、创建一个普通的Maven项目 2、导入依赖的包(pom.xml) <!--mybatis--> <dependency> <groupId>org.mybatis</groupId> <artifactId>mybatis</artifactId> <version>3 ...
分类:
其他好文 时间:
2020-12-25 12:17:06
阅读次数:
0
Windows API学习 以下都是我个人一些理解,笔者不太了解windows开发,如有错误请告知,非常感谢,一切以microsoft官方文档为准。 https://docs.microsoft.com/en-us/windows/win32/api/ VirtualAlloc() https:// ...
ippool11gateway-list10.1.0.254network10.1.0.0mask255.255.252.0excluded-ip-address10.1.0.110.1.0.253static-bindip-address10.1.0.100mac-addressa-b-cdns-list114.114.114.114223.5.5.5223.6.6.6202.102.224.6
分类:
其他好文 时间:
2020-12-23 12:27:42
阅读次数:
0
突然系统不能使用了,可以看一下是不是磁盘占满 了 首先登录到服务器 我的是mac 直接登录 使用ssh登录ssh -t root@104.224.166.36 -p27988 windows系统也可以使用 xshell来登录 命令行 df df -lh清楚磁盘使用情况 df -a 是全部的文件系统的 ...
分类:
系统相关 时间:
2020-12-19 12:54:28
阅读次数:
2
我想实现读取一个本地的xlsx文件(task_list.xlsx)然后显示在网页上, 一开始选择的方法是建个express server, 通过发送axios请求来实现, 但是觉得只是读取一个本地文件还要搞个server太复杂了, 最终还是通过"xlsx"模块 + axios实现了读取本地文件, 无 ...
分类:
Web程序 时间:
2020-12-19 11:54:18
阅读次数:
2
import pymysql from pymysql.cursors import DictCursor from queue import Queue import threading class Pool: def __init__(self,size,*args,**kwargs): sel ...
分类:
数据库 时间:
2020-12-18 13:14:03
阅读次数:
3
static int fd; static uint64_t buffer; static void threadFunc(void) //线程函数 { int t; eventfd_t value; int ret = -1; while(1) { #if 0 t = read(fd,&buffe ...
分类:
其他好文 时间:
2020-12-16 12:45:24
阅读次数:
2
本文稍微有点晦涩、但是看过之后你就能Get到MySQL的崩溃恢复到底是怎么做的! 文章公号 首发!连载中!关注微信公号回复:“抽奖” 还可参加抽📖活动 回顾 在这篇文章之前,白日梦跟你分享了什么是redo log、以及redo log的作用、redo log的刷盘机制等知识点。简单来说就是redo ...
分类:
数据库 时间:
2020-12-16 12:33:51
阅读次数:
4
读取图片 @GetMapping("uploadHeader/{fileName}") public void getHeader(@PathVariable("fileName")String fileName,HttpServletResponse response){ //服务器存放路径 fi ...
分类:
其他好文 时间:
2020-12-14 13:31:13
阅读次数:
3