This article describes how to view the space occupied by data tables and the number of records in the MySQL database. if you want to know the space occupied by each table in the MySQL database and the number of rows recorded in the table, you can open the information_schema database query of MySQL. This article describ
MYSQL enables and views binary logs bitsCN.com
Enable and view binary logs in MYSQL
Check whether the log mysql> show variables like 'log _ bin'; view the current log mysql> show master status;
. The result is the following SQL statement:SELECT * FROM (select DISTINCT teamno,captain,division from result). That is, the SQL statement that was last submitted to MySQL for processing.Materialized, MySQL first gets the result of the view execution, which forms an intermediate result that exists in memory temporarily. After that, the outside SELECT statement i
This article mainly introduces how to use mysqladminextended-status in Linux with Linux commands to view the running status of MySQL. For more information, see mysqladmin as an important MySQL client, the most common is to use it to shut down the database. In addition, this command can also understand the MySQL running
MySQL database to view the data table space and number of records, mysql records
If you want to know the space occupied by each table in the MySQL database and the number of rows recorded in the table, you can open the information_schema database of MySQL. There is a TABLES
1. view the status value of profiles 1. view the status value of profiles
1. check whether profiles is enabled. by default, profiles is disabled.
Mysql> show variables like '% pro % ';
I checked that there was nothing in profiles, so the profile in the company server was not opened. I checked the mysql variable an
Check whether logs are enabled for bitsCN.com in mysql logs.
Mysql> show variables like 'log _ bin ';
How to know the current log
Mysql> show master status;
Use mysqlbinlog to view binary log files
Shell> mysqlbinlog mail-bin.000001 (to write absolute problem path d ://)
Or shell> mysqlbinlog mail-bin.000001 | tail
This article describes how to view and import and export MySQL logs in Windows, if you need it, you can refer to MYSQL with different types of log files (each storing different types of logs), from which you can find out what MYSQL has done, these log files are indispensable for MY
(1) about the configuration file path
Sometimes, although I tried to modify some variables in the configuration file, they did not take effect. It was later discovered that the modified file was not the configuration file read by the MySQL server.
If you do not know the path of the configuration file currently used by MySQL, try to view it as follows:
As
View the built-in SQL Mode in MySQL
Enter password: Welcome to the MySQL monitor. commands end with; or \ g. your MySQL connection id is 9450 Server version: 5.6.24-log MySQL Community Server (GPL) Copyright (c) 2000,201 5, Oracle and/or its affiliates. all rights reserve
View and add table partitions in MYSQL, and add partitions in mysql
View and add table partitions in MYSQL
1. View table partitions
SELECTPartition_name part,Partition_expression expr,Partition_description descr,FROM_DAYS (partiti
Part 1: Basic Concepts and Applications 1. View introduction MySQL views and Oracle views are a concept, that is, a virtual table. data is stored in the base table without any data; 2. add View: syntax CREATE [ORREPLACE] [ALGO
Part 1: Basic Concepts and Applications
1. View overview
The
How to use commands to view the Mysql database size bitsCN.com
How to use commands to view the Mysql database size
1. enter the specified schema database (storing the information of other databases)
1
Use information_schema
2. query the size of all data
1
Select concat (round (sum (DATA_LENGTH/1024/1024),
Mysql 3-view table structure, modify and delete data tables bitsCN. comMysql 3-view table structure, modify and delete data tables view table structure
You can use DESCRIBE or show create table statements to view the TABLE structure. 1.
, the column being updated must be from the same table.In addition, all views implemented using the Temporal table algorithm cannot be updated.You can use a view to implement column-based permission control without the need to really create column permissions on the system, because there is no additional overhead.A view implemented using the Temporal table algorithm, at some point, will be poorly performing
In general, MySQL will provide a variety of storage engines by default, which you can view by:See what storage engine your MySQL has now provided:Mysql> show engines;Look at your MySQL current default storage engine:Mysql> Show variables like '%storage_engine% ';You want to see what engine the table is using (in the re
permission range of the view;
ALGORITHM includes three options: UNDEFINED, MERGE, and TEMPTABLE.
The UNDEFINED option indicates that MySQL will automatically select the algorithm to be used;
The MERGE option combines view statements with view definitions, so that a part of view
problem. View Max_connectionsgo to MySQL, with the command:Show Variablesto view the variable value of the maximum number of connections for a database:max_connectionsView threads_connectedgo to MySQL, with the command:Show Statusto view the value of the currently active co
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.