I have these configurations :
1 - Server Windows 10 CPU E31220 3.1GHz RAM 6Go- Mysql 5.6.30
2 - Server Ubuntu i5 1.70GHz - RAM 6Go - Mysql 5.6.30
This query :
select sum(fraisprovi0_.montant_ht_provisioire) as col_0_0_ from T_FRAISPROVISION fraisprovi0_ where fraisprovi0_.num_cmmande in (select vente1_.num_commande_detail from T_VENTE vente1_ where vente1_.lot_id=57750)
On Server 1 : execution duration of query : 1.50 second.
On Server 2 : execution duration of query : 0.01 second.
What can cause such a big difference between the 2 servers?
The query is executed locally, network doesn't seem to be a reason.
The database is the same on both mysql servers.
I am the only one user on both servers.