Oracle sharding vs RAC
I have always wondered about the SQL criticism that it doesn't scale. I always thought that is what RAC did with multiple nodes and parallel queries, etc. However now with the release of the Oracle sharding feature, many are now saying that Oracle now scales from a performance standpoint?
So my question is, does a SQL query running in a RAC environment using parallel execution not considered a scaled query? Is there a point where it breaks down and doesn't scale anymore, i.e. due to locking, waits, etc? I thought SQL performance scaling (horizontally) was one of the purposes of RAC besides high availability. I understand the high level architecture of both RAC and sharding, I'm just trying to wrap my head around use cases where a SQL query would perform better in a sharding environment rather than a RAC with parallel execution environment?