In the previous article, "High concurrency system limited-current stunt", the current limit algorithm, application-level current limit, and distributed current limit are introduced in this paper. The Access layer current limit implementation is
There is a tens of millions of-record table on MySQL 5.0.x, which now reads about 1 billion of the records. Common methods, followed by loops:
1
The code is as follows
Copy Code
SELECT * FROM mytable where index_col =
the solution for which limit and in cannot be used concurrently in MySQL.Category: MySQL2011-10-31 13:53 1277 people read comments (0) favorite reports Mysqlsubquery MySQL5.1 Neutron query cannot use limit, error: "This version of the MySQL
The optimization of MySQL is very important. The other most common and most need to optimize is limit. The limit of MySQL brings great convenience to paging, but when the amount of data is large, the performance of limit is reduced dramatically.
It'
When a table data has millions of of data, pagination is a problemsuch as SELECT * FROM table limit 0,10 This is no problem when the limit 200000,10 data reading is very slow, you can follow the method to solve
A recent web site's server reviews
In mysql, limit can achieve fast paging. However, if the data reaches several millions, our limit must be optimized to effectively implement paging. Otherwise, your server may be stuck.This is a problem when a table has millions of data records!For
PHP page function to set the time-out limit method, PHP page function timeout
This article describes the method of setting the timeout limit for PHP page functions. Share to everyone for your reference. Here's how:
Encounter the page program
In MySQL limit can achieve fast paging, but if the data to millions of when our limit must be optimized to effectively achieve a reasonable paging, otherwise may be stuck to your server oh.
When a table data has millions of of the data is a problem!
How Mysql limit is optimized correctly 2010-05-17 17:09 Anonymous Blog Parkfont Size:T | T What we are mainly sharing with you today is the description of the contents of the MySQL limit brief introduction and how to optimize it, the following 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.