MySQL server has many parameters, but for most beginners, many parameters often make us feel overwhelmed. But which parameters need to be adjusted and which have the greatest impact on server performance? For Myisam storage engine, there are two
Liquor-making tea: a large number of sequents and examples are referenced in the book. The notes made by tea after the experiment are uploaded to the blog. Anyone with copyright rights can directly remove the article. Thank you for your
We know that temporary tables have the following features:1. At the SESSION level, a SESSION is automatically dropped once it is disconnected. 2. It depends on the default engine. If the default engine is INNODB, And you are crazy about using
Tutorial environment: ORACLE11GR2, CENTOS6.2 32-bit version removes the need to modify the redhat Yum source, ipset to 192.168.233.10, NAT Network), VM8.0 version
For installation instructions, refer to the official website documents and some
1. Use row-level locks to avoid table-level or page-level locksTry to use a storage engine that supports row-level locks, such as InnoDB; use a storage engine that uses table-level locks only in scenarios where reading operations are significantly
Note: This article is from the linux O & M training of Old Boys-MySQL database training course series1) video tutorial directory1. MySQL service operation .................................... ........................................ 31.1 start and
In general, DBA should focus on the SYSTEM, SYSAUX, UNDO, TEMP, and SYSTEM tablespaces in addition to the tablespace where business data is stored, the size of the UNDO and TEMP tablespaces is determined by the business conditions of the database.
1. Node 1 is damaged and cannot receive heartbeat from other nodes.Node 2 can receive the heartbeat of Node 3 and node 3 can receive the heartbeat of Node 2.Node 1, heartbeat information to votingdisk: "Only I am alive !"Node 2 and 3, heartbeat
The DB servers of the companies that recently maintained the service are always faulty. I feel like I have to optimize it. I log on and find that the slow query logs are not opened, therefore, the slow query log is decisively added. After analyzing
Mysqlslap is a benchmark testing tool that comes with benchmark after MySQL5.1. This tool can simulate multiple clients simultaneously and concurrently send query updates to the server, the performance test data is provided and the Performance
Cold backup means that when the database is shut down normally, it will provide us with a complete database. Cold backup is a way to copy key files to another location.
Advantages:1. It is a very fast backup method. You only need to copy files)2.
I recently studied MySQL 5.6 and found that I cannot log on to MySQL with a blank password after installation.
The installation process includes the following sentence:
A random password has been set for the MySQL root USER!
You will find that
1) system table: stores all SQL system information. Stores metadata related to database services. The so-called Metadata refers to user databases on the data server, logon accounts on the database server, and tables in the database, which fields are
I mainly tried several REPLICATION tools. For other information, see the manual.
Let's talk about my environment:
MASTER: 192.168.1.131
SLAVE: 192.168.1.132, 192.168.1.133
ALL three databases have ALL external users.
The configuration files are as
One afternoon, the development report said that when the DML operation was executed, the database reported an error where the transaction log was full. The details are as follows:
$ Db2 delete from tzsdb01DB21034E this command is processed as an SQL
1) Environment Topology
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/2232221632-0.png "title =" QQ20130614135543.png "/>
Today we are talking about the mysql cluster. The resources are as follows:
650) this. width = 650;
Java doesn't really provide any good means of auto-discovery in this regard, so the best way to do it is to simply tell MyBatis where to find the mapping files.So we have the element:
What if I want to give mapper to Spring?
Recently, the company was using the postgresql database and developed many ddl/dml statements for us. So I spent two days completing this script to Create Table spaces and users, script for Automatic Data Import
#!/bin/bash# 2013/07/26, DD.#
Multiple ORACLE databases physically stored in the network can be logically considered as a single large number.Database. Users can access data in remote databases through the network at the same time, whileCollaborative processing is completely
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