I want to know, when all the cache tables are stored in database, then whats the logic behind keeping any data to cache, because whenever we query cache, it again hits the database, same as other normal tables exists in database do.
How cache tables are different from other normal tables in database? How cache boost performance when all cache tables also exists in database?