MySQL stores logs and uses Loganalyzer for front-end display
Why use logs?In the production environment, we may need a complete log system to view the status and operations of the running host service, we can use ELK in a larger network architecture
Install MySQL on Ubuntu source code for problem solving and Security Optimization
0. DescriptionOf course, MySQL is installed in a variety of ways. on Ubuntu, you can install it using apt-get. The advantage is that it is fast and convenient.
MySQL index push-Down Technology
The whole idea of index push-down is as follows:
To see how this optimization works, consider first how an index scan proceeds when Index Condition Pushdown is not used:
Get the next row, first by reading the index
Oracle bidirectional Stream configuration practices
Abstract: This article describes how to use the Oracle Stream replication function for Bidirectional Stream replication. It is mainly used for real-time database synchronization and backup. Oracle
ORA-09817 troubleshooting
ORA-09817 error solved one case sharing.
When you log on to a development database, the following error occurs:
When an error is reported, the system prompts that the audit file fails to be written because there is no
Install Redis in Ubuntu 14.04
Let's talk about the simple process of installing Redis in Ubuntu 14.04.
1 go to the redis official website to download the latest stable version: http://redis.io/-> Redis 2.8.19 is the latest stable version. (or use
MySQL Data Type
Value TypeINTEGER (tinyint, smallint, int, bigint, mediumint ,)For integer types, there are three attributes: unsigned, zerofill (formatted output during query), auto_increment
Float Type (float 4, double 8, real, double
Redis master-slave cluster construction and disaster recovery deployment (sentinel)
Redis has also been used for a while. Record the cluster construction and configuration details for later use.Outline
Install Redis
Overall Architecture
Redis
MySQL SQL _mode Mode Modification my. cnf
1. SQL _mode ModeThe mysql database has an environment variable SQL _mode, which defines the SQL syntax and data verification that mysql should support! You can view the SQL _mode used by the current
About the field-based fuzzy query method of MongoDB
About the field-based fuzzy query method of mongodb
Fuzzy query: tname contains a keyword Test'
Cd/opt/soft/mongodb/bin
./Mongo -- host 192.168.0.1 -- port 17017 test
Db. test_info.find
MySQL composite Partition
In the end, it is still open-source software. MySQL's support for composite partitions is far from that of Oracle. In MySQL 5.6, only the RANGE and LIST subpartitions are supported, and the subpartitions can only be HASH
RHEL6.4 install MySQL 5.6.27
RHEL6.4 install MySQL 5.6.27
Download (temporary address. If not available, please download it from the Oracle website)
Use rpm to install mysql Server:
Ftp://pepstack.com/pub/rpm/MySQL-server-5.6.27-1.el6.x86_64.rpm
To
Using innobackupex to implement full MySQL Hot Backup
Purpose
Using innobackupex to implement full MySQL Hot Backup
Environment
OS: CentOS 6.6 32bit
Introduction
Official Website: https://www.percona.com/
Https://www.percona.com/downloads/XtraBackup/
Case study of OOM kill MySQL caused by insufficient swap space
Background:
A machine has a memory of 256 GB and 2 mysql instances are installed. Each buffer_pool has 106 GB of memory, totaling 212 GB;
A database is migrated to the environment
MySQL master-slave replication Structure Construction
1. Select two servers as the master and backup databases respectively.
2. log on to the server,
Yum install mysql;
Yum install mysql-server;
3. Start the server
Service mysqld start
4. log on to
MySQL event to implement regular table creation note
MySQL event to implement regular table creation note
Create a table for the next day every morningDELIMITER //Create procedure test. create_tab_every_day ()BEGINDECLARE '@ I' VARCHAR (15 );DECLARE
YII2 database query practices and YII2 database practices
This article explores the yii2 framework and provides simple practices for adding, deleting, modifying, and querying, and associated queries and other basic database operations.
Database
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service