随笔分类 - 自用 / 高性能MySQL
摘要:[root@master ~]# mysql -uroot -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 2 Server version
阅读全文
摘要:表的可能达到的最大大小: MAX_ROWS * AVG_ROW_LENGTH [root@master ~]# mysql -uroot -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your
阅读全文
摘要:C:\Users\Administrator>mysql -uroot -p Enter password: **** Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 8 Ser
阅读全文
摘要:提交读 准备工作: create database test; drop table test.read_committed; create table test.read_committed(number int, text varchar(15)); 1.更改隔离级别 窗口一: set sess
阅读全文
摘要:C:\Users\Administrator>mysql -uroot -p Enter password: **** Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 10 Se
阅读全文
摘要:准备数据库 create database mysqlguide; use mysqlguide; drop table StockPrice; create table StockPrice(stock_id int primary key not null, close float, date
阅读全文
摘要:给虚拟机加装硬盘 //虚拟机➡设置➡硬盘➡添加 [root@localhost ~]# fdisk /dev/sdb //新硬盘分区 欢迎使用 fdisk (util-linux 2.23.2)。 更改将停留在内存中,直到您决定将更改写入磁盘。 使用写入命令前请三思。 Device does not
阅读全文
摘要:CentOS7中安装MySQL8.3.0没有/usr/share/mysql/sql-bench下的Benchmark Suite工具 1.yum安装epel源 yum -y install epel-release 2.安装perl平台 yum -y install perl* 3.获得/usr/
阅读全文
摘要:点击查看代码 1、下载安装包 [root@localhost ~]# wget http://acme.com/software/http_load/http_load-09Mar2016.tar.gz 2、解压安装包 [root@localhost ~]# tar -zxvf http_load-
阅读全文
摘要:点击查看代码 [root@localhost ~]# yum -y install epel-release [root@localhost ~]# yum -y install sysbench [root@localhost ~]# sysbench --version sysbench 1.0
阅读全文
摘要:接安装tpcc_mysql [root@localhost setup]# 1.任意位置创建数据库(不进入数据库) mysqladmin -uroot -p create tpcc 2.导入表结构 mysql -uroot -p tpcc</data/setup/tpcc-mysql/create_
阅读全文
摘要:原文链接: [https://blog.51cto.com/u_16175454/9981004#:~:text=MySQL8设置允许简单密码 1 登录MySQL数据库 首先,使用root用户登录到MySQL数据库。 mysql -u ,5 刷新权限 在修改后,需要刷新权限使更改生效。 ... 6
阅读全文
摘要:接MySQL8安装 第一部 1.安装openssl-devel(否则报错) yum install openssl-devel 2.安装mysql-community-devel-8.3.0-1.el7.x86_64.rpm rpm -ivh mysql-community-devel-8.3.0-
阅读全文
摘要:MySQL Community Server 官网:https://dev.mysql.com/downloads/mysql 基础架构及系统版本:x86_64,CentOS Linux release 7.9.2009 (Core) [root@localhost sql-bench]# unam
阅读全文