当前位置:网站首页>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
边栏推荐
- 玩转gRPC—不同编程语言间通信
- 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)
- 小程序- view中多个text换行
- 9. Use of better scroll and ref
- 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?
- 用栈实现队列、用队列实现栈(C语言_leetcode_232+225)
- 微机原理与接口技术知识点整理复习–纯手打
- Grafana reports an error: error= "failed to send notification to email addresses: [email protected] : 535 Error:
- 介绍一种对 SAP GUI 里的收藏夹事务码管理工具增强的实现方案
- Computer network interview knowledge points
猜你喜欢

焱融看 | 混合云时代下,如何制定多云策略

French Data Protection Agency: using Google Analytics or violating gdpr

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?

Dragon lizard community open source coolbpf, BPF program development efficiency increased 100 times
![[anwangbei 2021] Rev WP](/img/98/ea5c241e2b8f3ae4c76e1c75c9e0d1.png)
[anwangbei 2021] Rev WP

【NLP】预训练模型——GPT1

奔涌而来的数字化浪潮,将怎样颠覆未来?

5. Use of ly tab plug-in of header component

刘对(火线安全)-多云环境的风险发现

清华章毓晋老师新书:2D视觉系统和图像技术(文末送5本)
随机推荐
Qtdeisgner, pyuic detailed use tutorial interface and function logic separation (nanny teaching)
Go整合Logrus实现日志打印
【机器学习】VAE变分自编码器学习笔记
Grafana reports an error: error= "failed to send notification to email addresses: [email protected] : 535 Error:
SAP intelligent robot process automation (IRPA) solution sharing
介绍一种对 SAP GUI 里的收藏夹事务码管理工具增强的实现方案
C语言基础知识
Self cultivation of open source programmers who contributed tens of millions of lines of code to shardingsphere and later became CEO
Kongsong (Xintong Institute) - cloud security capacity building and trend in the digital era
Computer network interview knowledge points
Explain IO multiplexing, select, poll, epoll in detail
机器学习总结(一):线性回归、岭回归、Lasso回归
清华章毓晋老师新书:2D视觉系统和图像技术(文末送5本)
10. Page layout, guess you like it
1.8 new features list
关于佛萨奇2.0“Meta Force原力元宇宙系统开发逻辑方案(详情)
基于算力驱动、数据与功能协同的分布式动态(协同)渲染/功能运行时
C language ordering management system
[NLP] pre training model - gpt1
Arthas use