title: Apache Spark makes SQL query faster?
body: <p>From <a href="https://www.percona.com/blog/2016/08/17/apache-spark-makes-slow-mysql-queries-10x-faster/" rel="nofollow noreferrer">apache-spark-makes-slow-mysql-queries-10x-faster</a></p>
  
  <blockquote>
    <p>For long running (i.e., reporting or BI) queries, it can be much
    faster as Spark is a massively parallel system. MySQL can only use one
    CPU core per query, whereas Spark can use all cores on all cluster
    nodes. In my examples below, MySQL queries are executed inside Spark
    and run 5-10 times faster (on top of the same MySQL data).</p>
  </blockquote>
  
  <p>It looks great but i am not able to think practical example of query where query can be divided in subqueries and multiple cores van make it faster instead
  of running it on one core ?</p>