MySql localhost vs Amazon RDS instance -


i have surprise of mysql performance. when run simple query 'select 1;' on local host (mysql 5.6.x) using workbench, execute in 0.000s, same query ran on amazon rds (medium mysql 5.5.x) tooks 0.094s.

i can not understand behavior of mysql.

the query select 1 requires no parsing , no table access execution quick. remote servers there's time transmit request , shared resources rds not real-time resources, might take millisecond or 2 task executed. if there's no bigger difference ignore little time.


Comments

Popular posts from this blog

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -