引用地址:https://blog.csdn.net/J080624/article/details/80596958 回顾一下生产中的一次MySQL异常,Cause: java.sql.SQLException: Lock wait timeout exceeded; try restarting ...
分类:
数据库 时间:
2019-11-11 11:13:56
阅读次数:
109
查询Mysql数据库所有数据库所占磁盘空间大小: select TABLE_SCHEMA, concat(truncate(sum(data_length)/1024/1024,2),' MB') as data_size, concat(truncate(sum(index_length)/102 ...
分类:
数据库 时间:
2019-11-10 19:27:54
阅读次数:
112
mysql从5.5.3版本开始,才支持4字节的utf8编码,编码名称为utf8mb4(mb4的意思是max bytes 4),这种编码方式最多用4个字节存储一个字符。 要想证明这个问题,可以执行以下sql: select * from information_schema.CHARACTER_SET ...
分类:
数据库 时间:
2019-11-10 11:57:46
阅读次数:
113
简介 JSON 作为通用的前后端交互,或者后台服务间通信的通用格式被大家广泛使用。我们肯定遇到过一些场景需要校验调用方传递过来的数据格式,比如一定要包含某些字段,某个字段一定要符合某种格式,比如定义了价格的字段,范围一定要在100~200之间,协议字段一定要是TCP或者UDP等枚举类型。你是否在你的 ...
分类:
Web程序 时间:
2019-11-09 23:45:04
阅读次数:
131
Spark SQL 增加了DataFrame 即带有Schema信息的RDD DataFrame 创建 启动pyspark(由于内存不够 启动本地,模式) pyspark --master local pyspark 自动生成 sc,sparksession from pyspark import ...
分类:
数据库 时间:
2019-11-09 22:07:07
阅读次数:
95
视图解析器 在spring-mvc文件中编写 <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/ ...
分类:
其他好文 时间:
2019-11-09 09:42:02
阅读次数:
68
二、 Spring 1. Spring 简介 2. applicationContext.xml 3. Spring 容器 4. Spring Bean 5. DI 6. Spring 自动装配 7. AOP 8. MyBatis 与 Spring 的整合 9. Spring 事务管理 10. Sp ...
分类:
编程语言 时间:
2019-11-08 19:05:21
阅读次数:
104
CIS 545 - Big Data Analytics - Fall 2019 Have you ever wondered about (1) what it takes to be a data scientist or "data person", and (2) how sowork?Th ...
分类:
其他好文 时间:
2019-11-08 19:03:03
阅读次数:
99
部署spring boot + Vue遇到的坑(权限、刷新404、跨域、内存) 项目背景是采用前后端分离,前端使用vue,后端使用springboot。 工具 工欲善其事必先利其器,我们先找一个操作Linux系统的工具极力推荐FinalShell。 一眼看过去是不是感觉很方便,对内存、CPU的监控也 ...
分类:
编程语言 时间:
2019-11-08 12:10:26
阅读次数:
94
首先创建一个数据库: CREATE DATABASE ku; Query OK, 1 row affected 查看一下是否有此数据库: SHOW DATABASES; + +| Database |+ +| information_schema || ku || mysql || performa ...
分类:
数据库 时间:
2019-11-07 23:25:27
阅读次数:
86