Avoid MySQL round trips

This commit is contained in:
Ian Gulliver
2019-04-15 03:21:19 +00:00
parent 9a1893dfd4
commit 9c0ff57f2f
4 changed files with 55 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
<!--# set var="title" value="Avoid MySQL round trips" -->
<!--# set var="date" value="April 22, 2011" -->
<!--# include file="include/top.html" -->
100ms (e.g. cross-US) latency to your MySQL server? Running 100,000 statements? That's 3 hours of overhead before you even get to your statement runtime on the server. Quick hack:
mysql> delimiter |
mysql> select 1;
-> select 2;
-> |
+---+
| 1 |
+---+
| 1 |
+---+
1 row in set (0.00 sec)
+---+
| 2 |
+---+
| 2 |
+---+
1 row in set (0.00 sec)
<!--# include file="include/bottom.html" -->

View File

@@ -19,6 +19,7 @@
1. 2016-Feb-15: [Cable modem channel party](2016-02-15-cable-modem-channel-party.html)
1. 2016-Feb-01: [How to enrage your cable modem](2016-02-01-how-to-enrage-your-cable-modem.html)
1. 2016-Feb-01: [Hall of 2.4 GHz Shame, 2016 Edition](2016-02-01-hall-of-2-4-ghz-shame-2016-edition.html)
1. 2011-Apr-22: [Avoid MySQL round trips](2011-04-22-avoid-mysql-round-trips.html)
1. 2011-Apr-19: [Video sharing sucks](2011-04-19-video-sharing-sucks.html)
1. 2011-Apr-01: [A new generation of Google MySQL tools](2011-04-01-a-new-generation-of-google-mysql-tools.html)
1. 2010-Aug-22: [Net Neutrality?](2010-08-22-net-neutrality.html)