это SQL быстро
Though SQL is a high-level domain language, it is very fast. As Travis Addair said, data organization (partitions, indexes), network (for short queries), and scale (number of machines, resources for each machine) bounds the performance of SQL. Still, SQL is fast because the database can decide how to get the data.
Skull Sherbet