原文地址:http://www.tocker.ca/2013/10/24/improving-the-performance-of-large-tables-in-mysql.html Today I wanted to take a look at improving the performance of tables that cause performance problems based largely on their size. Some of this advice also ap…
Regular expressions are powerful, but with great power comes great responsibility. Because of the way most regex engines work, it is surprisingly easy to construct a regular expression that can take a very long time to run. In my previous post on reg…
ASP.NET Web API is a great piece of technology. Writing Web API is so easy that many developers don’t take the time to structure their applications for great performance. In this article, I am going to cover 8 techniques for improving ASP.NET Web API…
Item 1: Understand template type deduction. Item 2: Understand auto type deduction. Item 3: Understand decltype. Item 4: Know how to view deduced types. Item 5: Prefer auto to explicit type declarations. Item 6: Use the explicitly typed initializer i…
INSERT is really slow - I can only do few dozen INSERTs per second http://www.sqlite.org/faq.html#q19 Actually, SQLite will easily do 50,000 or more INSERT statements per second on an average desktop computer. But it will only do a few dozen transact…
原文地址:http://www.symphonious.net/2011/07/11/lmax-disruptor-high-performance-low-latency-and-simple-too/ The LMAX disruptor is an ultra-high performance, low-latency message exchange between threads. It's a bit like a queue on steroids (but quite a lot…
原网址:http://blog.csdn.net/bigbird2012/article/details/6304417 错误现象:Packet for query is too large(1767212 > 1048576),You can change this value on the server by setting the 'max_allow_packet' variable. 解决办法:MySQL的一个系统参数:max_allowed_packet,其默认值为1048576(1…
https://www.percona.com/blog/2006/06/09/why-mysql-could-be-slow-with-large-tables/…
方法2 (很妥协,很纠结的办法) 进入mysql server 在mysql 命令行中运行 set global max_allowed_packet = 2*1024*1024*10 然后关闭掉这此mysql server链接,再进入. show VARIABLES like '%max_allowed_packet%'; 查看下max_allowed_packet是否编辑成功   经验总结: 在很多台机器上用方法一都没问题,但2011年11月14日遇到一台机器死活都不成功, 使用命令行方式:…