当前位置:网站首页>Journal MySQL
Journal MySQL
2022-07-01 13:48:00 【Petit programme singe CCC】
redologEtbinlog
- redolog- Oui.innodbAutoportante,binlog- Oui.mysqlAutoportante
- redologC'est comme un tampon,Écrivez les informations de la transaction dans ce tampon,C'est bon.redologLa base de données peut s'écraser et redémarrer les données sans perte,innodb_flush_log_at_trx_commitSet to1Les transactions peuvent être maintenues sur le disque à chaque fois,innodb_log_buffer_sizeEst la taille du cache
- binlogC'est le Journal des modifications logiques,sync_binlogSet to1C'est garanti.binlogNon.
- Passage chronométrémysqldumpSauvegarde de la base de données,SelonbinlogPériode de récupération des données
mysqldump
- mysqldump -u root -p --databases xx xxx xx > xx.sql Enregistrer plusieurs bases de données
- mysqldump -u root -p aaa bbb > xx.sql aaaDe la bibliothèquebbbTableau
- mysqldump -u root -p --no-data Tant que la structure de la table
binlog
- show variables like ‘%bin%’ VoirbinlogOn
- Si ce n'est pas ouvertmy.cnfDemysqldPlus baslog_bin=mysql-bin
- show binlog events in ‘mysql-bin.00000x’; Voirbinlog
- mysqlbinlog binlogChemin complet -d Nom de la base de données --skip-gtids --start-position=Numéro de série --stop-position=Numéro de série > xx.sql binlogConvertir en équivalentsql
- –start-datetime,–start-positionEt–stop-positionSont des paramètres optionnels
- binlogDivisé en3Mode d'enregistrement des espèces,statement,rowEt mixed
- statement:Enregistrer Nativesql, Il est possible que l'exécution maître - esclave soit incohérente ,Non recommandé
- row:Enregistrer les informations,Exécutésql Les données sont volumineuses.
- mixed: Mélanger les deux côtés supérieurs ,Simysql Utiliser s'il n'y a pas d'incohérence statementEnregistrement, Trop de données utilisées rowEnregistrement
undolog
- Enregistrer l'opération inverse , Utilisé pour faire reculer la cohérence
边栏推荐
- 1. Sum of two numbers: given an integer array num and an integer target value, please find the two integers whose sum is the target value target in the array and return their array subscripts
- 网络中的listen
- [machine learning] VAE variational self encoder learning notes
- 陈宇(Aqua)-安全->云安全->多云安全
- Spark source code (V) how does dagscheduler taskscheduler cooperate with submitting tasks, and what is the corresponding relationship between application, job, stage, taskset, and task?
- 8 popular recommended style layout
- 龙蜥社区开源 coolbpf,BPF 程序开发效率提升百倍
- MySQL日志
- word2vec训练中文词向量
- 二传感器尺寸「建议收藏」
猜你喜欢

6年技术迭代,阿里全球化出海&合规的挑战和探索

一文读懂TDengine的窗口查询功能

面试题目总结(1) https中间人攻击,ConcurrentHashMap的原理 ,serialVersionUID常量,redis单线程,

App automation testing Kaiyuan platform appium runner

Spark source code (V) how does dagscheduler taskscheduler cooperate with submitting tasks, and what is the corresponding relationship between application, job, stage, taskset, and task?

清华章毓晋老师新书:2D视觉系统和图像技术(文末送5本)

用栈实现队列、用队列实现栈(C语言_leetcode_232+225)
![[NLP] pre training model - gpt1](/img/bd/9803ad946b33159de51b93106a2151.png)
[NLP] pre training model - gpt1

IO的几种模型 阻塞,非阻塞,io多路复用,信号驱动和异步io

Six years of technology iteration, challenges and exploration of Alibaba's globalization and compliance
随机推荐
20个实用的 TypeScript 单行代码汇总
Understand the window query function of tdengine in one article
Fiori 应用通过 Adaptation Project 的增强方式分享
Analysis report on the development trend and prospect scale of silicon intermediary industry in the world and China Ⓩ 2022 ~ 2027
Blind box NFT digital collection platform system development (build source code)
SAP 智能机器人流程自动化(iRPA)解决方案分享
1. Sum of two numbers: given an integer array num and an integer target value, please find the two integers whose sum is the target value target in the array and return their array subscripts
受益互联网出海 汇量科技业绩重回高增长
Camp division of common PLC programming software
算网融合赋能行业转型,移动云点亮数智未来新路标
【剑指 Offer】55 - II. 平衡二叉树
GET请求如何传递数组参数
“国防七子”经费暴增,清华足足362亿元,甩第二名101亿 |全国高校2022预算大公开...
进入前六!博云在中国云管理软件市场销量排行持续上升
A new book by teacher Zhang Yujin of Tsinghua University: 2D vision system and image technology (five copies will be sent at the end of the article)
Analysis report on the development trend and Prospect of new ceramic materials in the world and China Ⓐ 2022 ~ 2027
详细讲解面试的 IO多路复用,select,poll,epoll
[Jianzhi offer] 55 - ii balanced binary tree
队列的基本操作(C语言实现)
Solution to 0xc000007b error when running the game [easy to understand]