Binlog, redo log, undo log, relay log just start to learn that all kinds of log is what exactly do not understand:Binlog: For logical replication and possible incremental backup recovery strategies, only log changes to the data, recording mode there
MySQL bin-log log cleanupBin-log log files found in MySQL database directory are very large[Email protected] var]#du-SHmysql-bin* |Sort1020K MySQL-bin.0000021.1G Mysql-bin.0000211.1MMysql-bin.000018136K MySQL-bin.000019172K MySQL-bin.000014191M
SHOW GLOBAL VARIABLES like '%log% 'Error log: Information in the server startup or shutdown processError message during server runInformation generated when the event Scheduler runs an eventInformation generated from the server process when it is
[Linux] using logrotate to rotate MySQL logs bitsCN.com
[Linux] using logrotate to rotate MySQL logs
Log rotation is especially suitable for log files with fixed file names, such as MySQL error logs, General query logs, and slow query logs. In
MySQL5.5.22 single-host multi-instance configuration practices
MySQL 5.5.22
Single-host, multi-instance configuration practices
Background/requirement:
Compile and install a MySQL database of version 5.5 or above through source code on a server.
MySQL 8.0.11 has been released, heard the performance increase of twice times, today's own installation experience.1. Uninstall the old version of MySQLRpm-qa|grep MySQL or mairadbRpm-e mysql*/mariadb*RPM-E--nodeps mysql*/mariadb*2. Install
Log into the server[Email protected]_25 ~]# su-mysql[[email protected]_25 ~]$ mysql.localwelcome to the MySQL monitor. Commands End With; or \g.your MySQL connection ID is 126000553Server version:5.5.27-log sourcedistribution Copyright (c) # D,
1: Before using the log to confirm that the log is open, log in to the MySQL client,mysql-uroot-p123456(If the source is installed and the path to the MySQL bin is not added to the environment variable, you can
Perform Two-layer development and use mysql for database.Based on your experience and the methods provided by colleagues on the network, you can remove unnecessary files and create a mysql mini version. It is very convenient to use, with a size of 5
Linux community (www.linuxidc.com) is a professional Linux System Portal website that publishes the latest Linux information in real time, including Linux, Ubuntu, Fedora, RedHat, Red Flag Linux, Linux tutorial, Linux certification, SUSE
Linux
Using MySQL logs, You can redo some database operations:
D: \ mysql server 5.5 \ bin> mysqlbinlog "D: \ mysql server 5.5 \ data \ mysql-bin.000001"> D: \ test. SQL
Mysql-bin.000001 is a log file that is output to common SQL formats
/*!40019 SET
Generally, query logs and slow query logs can be written to the OS file system or as a log table of the MySQL system!
The log strap brings a lot of convenience, and of course it will bring a certain amount of system load to MySQL! Need to weigh.
MySQL supports a variety of system logs and provides comprehensive system errors, events, and business logic recording, tracking, diagnosis, and query functions!
Log Type
Information writtenLog
The Error
Today, I read the previous part of MySQL performance tuning and architecture design. I saw the log file and actually did a test. Here I will summarize it.
I am using MySQL under windows, and there is a lot of content in MySQL under Linux on the
I. theory: 1. error log: a records information related to mysqld start and stop and error. you can view this information when the database fails and cannot be started. B. use -- log-error to specify the location where mysqld saves the error log file.
Mysql logs are stored in all kinds of logs in any database, recording all aspects of the database's work, to help the database administrator track various events that have occurred in the database. In mysql, there are four different types of logs,
Mysql installed in the LNMP one-click package enables Mysql logs by default. if the website reads and writes data to the database frequently, it may generate a large number of logs and occupy disk space, it is also possible that the idle space of
MySQL's performance starts with the view log. Low hardware configuration often leads to such problems, but in fact most of them are not here. Some "slow" SQL blocks the execution of other statements, and optimizing queries is the first step to be
The log files described here are files of the MySQL database itself, regardless of what storage engine is specifically used.
Error log
MySQL's error log is similar to Oracle's Alert.log, which ends with. Err by default, and the DBA should first
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.