博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
mysql8学习手册第五部分 Transactions 事务以及Binlog日志的使用
阅读量:4094 次
发布时间:2019-05-25

本文共 880 字,大约阅读时间需要 2 分钟。

第五章:Transactions

  • Performing transactions
  • Using savepoints
  • Isolation levels
  • Locking

Transactions should also satisfy Atomicity, Consistency, Isolation, and Durability(ACID) properties.

事务应该保持原子性、一致性、隔离性、永久性

InnoDB , the default storage engine in MySQL, supports transactions whereas MyISAM does not support them.

InnoDB 支持事务,但是MyASIM引擎不支持事务

第六章:Binary Logging

  • Using binary logging
  • Binary log format
  • Extracting statements from a binary log
  • Ignoring databases to write to a binary log
  • Relocating binary logs

The binary log is not used for statements such as SELECT or SHOW that do not modify data

Using binary logging

使用binlog介绍

一:修改binlog日志位置

1.查询binlog位置show variables like 'log_%';

image

2.关闭mysql连接:systemctl stop mysqld

3.修改mysql binlog日志位置:

#vi /etc/my.cnf        [mysqld]        log_bin=/var/lib/mysql/binlogs/web1-bin

4.启动mysql连接:systemctl start mysqld

show variables like 'log_%';

image

转载地址:http://otaii.baihongyu.com/

你可能感兴趣的文章
模仿京东商城首页多级导航菜单
查看>>
jQuery插件——Validation Plugin
查看>>
多个div彼此包含时,小的div内容过多,会出现大的content_div装不下小的item_div,请问此时怎么装下呢?
查看>>
CSS display:inline和float:left两者的区别
查看>>
一、静态网页的实现 1.运用CSS,让导航菜单在右侧绝对定位显示。 2.运用锚点,实现导航定位。
查看>>
SEO-搜索引擎优化
查看>>
又有几天没有写博客了,最近把以前学的也整理下,发到博客中
查看>>
多项选择-全选和全不选hobby[i].checked = true;wb.charAt(n)<1 || wb.charAt(n) > 6
查看>>
如图样式,鼠标经过或者点击显示以下样式
查看>>
用div+css做下拉菜单,当鼠标移向2级菜单时,为什么1级菜单的a:hover背景色就不管用了?
查看>>
IE浏览器对getElementByClassName()方法支持较差,解决方法(粗略):
查看>>
跳出循环
查看>>
瀑布流----未含加载功能
查看>>
for(var i in hArr)与for(var i=0;i<hArr.length;i++)的区别
查看>>
自己写的--瀑布流
查看>>
Web调试工具-Firebug
查看>>
Servlet——(一)Servlet概述——Servlet的路径跳转
查看>>
从今天开始,决定又开始学习后台
查看>>
SEO--搜索引擎优化
查看>>
2016年10月1日--国庆日晚上
查看>>