I. Selection of high-performance Databases
---- In database application development, there is often a conflict between performance and cost. Develop the stock market by authorFor example, you need to record rows with more than 1000 stocks updated
In Soundbreak, we play live audio and video continuously 24 hours a day, so we cannot make a convincing test of the new replication feature of MySQL. Through tests, we found that this feature can be used to maintain data synchronization with the
The following are examples of how to use MySQL to solve some common problems. Some examples use the database table "shop", which contains the price of each article (item number) of a merchant. Assume that each merchant's article has a separate fixed
Mysql versions later than 3.23.15 provide the database replication function. This feature allows you to synchronize two databases, master-slave mode, and mutual backup mode. The settings of the Database Synchronization replication function are
Multi-Table operations Multiple tables may exist in a database, which are associated with each other. We will continue to use the previous example. The preceding table contains basic information about an employee, such as name, gender, date of birth,
AndMySQLCompared with the official MySQL Proxy,AmoebaThe configuration is very convenient for XML-based configuration files, and the rules are written in SQLJEP syntax, which is easier than the MySQL Proxy Based on lua scripts ). This article mainly
MySQL is a star in relational databases, and MongoDB is a leader in document-based databases. The following is a design example to compare the two: assume that we are maintaining a mobile phone product library, which includes not only the phone name,
InMySQL databaseIn version 5.5), added a new plug-in: Audit plugin, used to Audit database connections and database operations. Next we will introduce in detailAudit plugin.
The related code is as follows:
sql/sql_audit.cc
This file
This article mainly introducesBuild a MySQL Replication EnvironmentTo achieveDatabase Load Balancing. The specific process of setting up the MySQL Replication environment is as follows:
Environment: Two ubuntu instances, one Master instance and one
MySQL databaseIf a fault occurs during useMysqldumpError:
1: run the mysqldump command to dump the entire database:
Mysqldump: Got error: 1105: File './db/data_20070901.myd' not found (Errcode: 24) when using LOCK TABLES
2: Check
LearningMySQL databaseIt is necessary that many PHP-based applications use the MySQL database for development. ForBeginnersIt is not that difficult to learn MySQL databases. This article introduces several articles suitable for beginners to learn
Last time we introduced:For MySQL 5.5Detailed description of multiple partition columns. This article describes how to partition MySQL 5.5Non-integer column PartitionNext, let's take a look at this part!
Non-integer column Partition
Anyone who uses
ForData splitting, We may not be very familiar with it, but itMySQLThe database is also a very important technology. This article will introduce the knowledge of data splitting in the MySQL database in detail. Next, let's take a look at this
InMySQLAn error occurred while starting the database: Database startup failed,1067 unexpected Process Termination. After careful troubleshooting, I finally found the cause of the error and the solution. Next we will introduce this process.
1. Cause
MySQL deadlockThe problem-related knowledge is what we will introduce in this article. Next we will introduce this part one by one, hoping to help you.
1. Lock Mechanism of common MySQL storage engines
MyISAM and MEMORY use table-level locking)
BDB
Recently, PC World reported that the MySQL.com website was attacked and injected with malware. Hackers install JavaScript code on their websites to enable users on outdated browsers or unpatched Windows PCs to quietly infect malware through Adobe
5. Other features:
In the first step of development, only read-only is implemented, and a read/write version will soon be available.
The current plan is to map database objects to files and directory objects. Let's take a look
Example:
-- 8
#
2Direct Copy of database backup and copy methods The other does not involveMysqldumpYou can back up databases and tables by directly copying database table files. TypicallyCp,TarOrCpioUtility. This example usesCp. When using a direct backup method,
The MySQL administrator should know how to set up the MySQL user account and specify which user can connect to the server, where to connect, and what to do after the connection. MySQL 3.22.11 introduces two statements to make this work easier: GRANT
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