In my personal knowledge management, I often use mysql databases, wordpress worklogs, search test data, and my blog test environment. I have integrated WAMP (Windows Apache MySQL PHP) on my computer. Haha, instead of LAMP, it is still not smooth to
Interpreter:
Reproduced in: http://www.osyunwei.com/archives/2353.html
Original article title: CentOS 6.2yum installation and configuration of lnmp server (Nginx + PHP + MySQL)
I personally tested CentOS6.5 successfully.
The following is the
Looking for a ready-made function, I found that the SQL Server writer is lazy than me, and I don't even have this basic function!
Good, because all I need is the serial number and it will be reset every month, and the maximum ordinal number will
1. decompress the ZIP package and Configuration
First, extract mysql-5.5.25-winx64.zip to the d:/mysql-5.5.25 directory, and then according to the relevant information on the Internet, the my-large.ini (of course, you can also select another ini
For some systems with a large data volume, the database faces problems in addition to the low query efficiency, but also the long data warehouse receiving time. Especially for the report system, the time spent on data import may be several hours or
You can briefly describe the actual situation of the apsaradb for Redis platform.
2200 + 500 billion commands/day 50 billion Read/day Write/day
18 TB + Memory
500 + Servers in 6 IDC 2000 + instances
It should be a big Redis platform at home and
According to the morgo suggestion suggested by morgo, I did some small tests on the queries and datasets mentioned in Impact of column types on MySQL JOIN performance, but I found another problem: response time (aka MySQL versions ).
The answer
To
The following shows the SQL commands used to operate data tables in mysql in my actual work. If any of these statements is incorrect, please advise:
C ++ connects to the mysql header file command g ++ is_in_polygon.cpp-o
Recently, I was suddenly very interested in MySQL connections. According to the thread keyword, I can find the following status:
show global status Variable_name Value Threads_cached Threads_connected Threads_created
Some time ago, I tried to port the sqlserver database to the mysql database.
The solution is that the perl language reads sqlserver for corresponding type conversion data processing and writes it to mysql
Two executors and one receiver
The final
1. Use the-r/-I ParameterYou can use the mysqladmin extended-status Command to obtain all MySQL performance indicators, that is, the output of show global status. However, most of these indicators are accumulative values. If you want to know the
1. The database name, table name, and field name must be separated by lowercase letters and underlines.
A) MySQL has the configuration parameter lower_case_table_names, which cannot be changed dynamically. The default value is 0 in linux. That is,
/* -- Bcp-Import and Export of binary files
Supports import/export of image, text, and ntext Fields
Image is suitable for binary files; text and ntext are suitable for text data files.
Note: during import, all rows meeting the conditions will be
The first database INFORMATION_SCHEMA: provides a way to access database metadata.
Metadata is data about data, such as database name or table name, column data type, or access permission. In some cases, other terms used to express this information
Mysql binlog3 formats: row, mixed, and statement. Parsing
Mysqlbinlog -- base64-output = DECODE-ROWS-v mysql-bin.000144 | more
-- Base64-output = DECODE-ROWS: displays the SQL changes brought about by row mode.
-V: displays SQL statements in
The mysql Log System has been online for some time, and the front-end is slowly cutting the site to write data. We plan to diy a mysql monitoring tool.
It can be divided into slave status, sync, objec infot, userprivileges, job status, and slowlog.
MySQL server hardware and operating system adjustment:
1. Have enough physical memory to load the entire InnoDB file into the memory. The speed of accessing files in the memory is much faster than that on the hard disk.2. Avoid using Swap to Swap a
Data Replication classification between database tablesWhen using database development, data in some tables is often imported to each other. Of course, you can write programs for implementation. However, programs often require the development
1. Set frequently used fields (for example, frequently used fields to be sorted or used for search) as indexes.2. Use int or tinyint as much as possible for the field type. In addition, use not null as much as possible for fields.3. Of course, it is
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