MHA Routine Management
MHA is the best choice for many enterprises that use MySQL databases for high availability. It is easy to use and powerful, and implements automatic master-slave failover Based on the MySQL replication architecture. This
How to do the truncate operation for a primary table associated with a foreign key
The primary and Foreign keys are mandatory associations between two tables provided by the database. They can also be implemented at the application layer.
Detailed description of the Redis configuration file, for 2.6.3 -- 2.6.7, redis2.6.3 -- 2.6.7
Detailed description of the Redis configuration file, for 2.6.3 -- 2.6.7# Note on units: when memory size is needed, it is possible to specify
# It in the
Mysql. h cannot be found in linux (mysql. h cannot be connected), and linuxmysql. hWrite a C language program connect1.c to establish a connection with the MySQL database. On the command line, enter: gcc connect1.c-o connect1.exe-I/usr/include/mysql-
Oracle442 Application Instances ---------- initialize parameter files and oracle initialize parameter files
---------------- Initialize the parameter file --------------------Before 9i, the initialization parameter file used by oracle is pfile. 9i
Normal database hang is disabled. normal database hang
To avoid problems caused by abnormal shutdown, we have a test database that uses shutdown normal to stop the database. The result is that the hang is very common.
Operation Sequence:1. shutdown
Oracle multi-Table query, oracle
Basic multi-Table query syntax
The implementation of cartesian products in SQL is not only Cross Join ). All join methods are converted into temporary Cartesian Product tables. Cartesian product is a concept in
Oracle SQL optimization 2 and OracleSQL optimization 2After receiving an SQL statement submitted by the developer, it is slow in high concurrency and can be optimized:This SQL statement is used to perform Left join on another table. First, let's
Redis data type: SET type; redis data type: set
Web programmer blog: http://blog.csdn.net/thinkercode
Set Type-Features
Set is a set. It is similar to the set concept in our mathematics. It adds and deletes elements to a set, and performs
MySQL Optimization-simple syntax and mysql Optimization
Reprinted please indicate the source: http://blog.csdn.net/l1028386804/article/details/465592711. Default Constraints
--mysql CREATE TABLE emp ( id INT DEFAULT 12 )2. Set the
Linux Force uninstall mysql, linux Force mysqlIn the case that MySQL cannot be installed in Linux already exists, we can force uninstall it before installing it. steps:1. Find the installed myslq version:# Rpm-q mysqlThe installed mysql package name,
Use LOB Storage, uselobstorageIf LOB storage is not defined and LOB attribute size exceeds 4000 characters the attributes which overflow will automatically be placed in the tables tablespace in default configured LOB storage and index. if LOB
The method for creating a sequence in Mysql.
Create table emp_seq (seq VARCHAR (8); insert into emp_seq VALUES ('0'); UPDATE emp_seq SET seq = LAST_INSERT_ID (seq + 1); SELECT LAST_INSERT_ID ();
This is exactly the same as the sequence of
Import sqlsever and excelsqlsever in excel
Now we usually add some data to the database when testing the software. If the amount of required data is small, it is easy to say, but it will be too slow to add multiple entries, in fact, we can download
MySQL programming on linux (V): MySQL permission management and mysql permission management[Copyright statement: respect originality. For reprinted content, Please retain the Source: blog.csdn.net/shallnet. this document is only intended for study
Database review 4-view and database ReviewDatabase review the concept of CH6 view 6.1
ViewIs exported from one or more tables (or views)Virtual table, DBMS onlyData DictionaryWhile the view data is still actually stored in the exportedBase
The mongodbmongod installation command is not an internal or external command.
1: Installation
Go to the official mongodb website http://www.mongodb.org/downloadsto download the 32bitpackage
After decompression, the following files will
Create and publish Datazen charts and create datazen chartsZookeeper
Datazen is a full-platform data presentation solution for mobile terminals acquired by Microsoft. This article describes how to create and publish charts.
As described above,
Mysql user permission management and mysql permission management
[Author]: kwu
Mysql user permission management
1. Modify the root user name and password
Set password for 'root' @ '%' = password ('123 ');% Indicates all IP addresses. The
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